FROG

FROG Recognizer of Gestures

AccelEvent Class Reference

AccelEvents represent a single acceleration that has come from a device. More...

Collaboration diagram for AccelEvent:

List of all members.

Public Member Functions

 AccelEvent (Device device, Accel3D a)
 Creates an AccelEvent with a source device and acceleration value.
Accel3D getAcceleration ()
 Returns the acceleration contained in this AccelEvent.
Device getDevice ()
 Get the Device that performed the acceleration.

Detailed Description

AccelEvents represent a single acceleration that has come from a device.

An AccelEvent contains the source device as well as the value of this acceleration.

Author:
Team Better Recognize
See also:
DeviceListener

Constructor & Destructor Documentation

AccelEvent ( Device  device,
Accel3D  a 
)

Creates an AccelEvent with a source device and acceleration value.

Parameters:
device the source of the acceleration sample
a a single acceleration sampling

Member Function Documentation

Accel3D getAcceleration (  ) 

Returns the acceleration contained in this AccelEvent.

Returns:
the acceleration reading of this event

Here is the caller graph for this function:

Device getDevice (  ) 

Get the Device that performed the acceleration.

Returns:
the Device that performed the gesture

The documentation for this class was generated from the following file:
  • /Users/dev/Documents/SVN brazos.cs.tcu.edu/trunk/FROG/src/frog/AccelEvent.java
 All Classes Namespaces Files Functions Variables