gestIT
Class Emitter

java.lang.Object
  extended by gestIT.Emitter

public class Emitter
extends java.lang.Object

Class that represent the event Emitter, all the event from the source must be enclosed inside an ExpEventArgs and must be delivered to the Emitter

Author:
nicola

Constructor Summary
Emitter()
          Constructor that create a new empty emitter
 
Method Summary
 void CreateLeafList(TmpExp gest)
          Create the gesture leaf list from a gesture definition
 void FeedDeviceEvent(ExpEventArgs arg)
          Execute one step of the gesture, starting from new event arguments.
 void SetGestureDescription(TmpExp gest)
          Method that set the Gesture Description and generate the leafs and the flags vector
 void StartRecognition(Token token)
          Start the recognition of the gesture setting the gesture state to enabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Emitter

public Emitter()
Constructor that create a new empty emitter

Method Detail

SetGestureDescription

public void SetGestureDescription(TmpExp gest)
Method that set the Gesture Description and generate the leafs and the flags vector

Parameters:
gest -

FeedDeviceEvent

public void FeedDeviceEvent(ExpEventArgs arg)
Execute one step of the gesture, starting from new event arguments. All the event from the device must be send to the emitter throug this method

Parameters:
arg - The new event params

StartRecognition

public void StartRecognition(Token token)
Start the recognition of the gesture setting the gesture state to enabled

Parameters:
token -

CreateLeafList

public void CreateLeafList(TmpExp gest)
Create the gesture leaf list from a gesture definition

Parameters:
gest - The gesture definition