VisualTargetTrans Class Reference#include <VisualTargetTrans.h>
Inheritance diagram for VisualTargetTrans:
[legend]List of all members.
Detailed Description
causes a transition when a visual object is "close"
Definition at line 11 of file VisualTargetTrans.h.
|
Public Member Functions |
| VisualTargetTrans (StateNode *destination, unsigned int source_id) |
| constructor
|
| VisualTargetTrans (const std::string &name, StateNode *destination, unsigned int source_id) |
| constructor
|
virtual void | DoStart () |
| starts listening for the object specified by the source id in the constructor
|
virtual void | DoStop () |
| called by StateNode when it becomes inactive - undo whatever you did in Enable()
|
virtual void | processEvent (const EventBase &e) |
| if the object is "close", calls fire()
|
Protected Attributes |
unsigned int | sid |
| Source ID of object to track.
|
unsigned int | count |
| number of frames for which we've seen the object
|
Constructor & Destructor Documentation
VisualTargetTrans::VisualTargetTrans |
( |
StateNode * |
destination, |
|
|
unsigned int |
source_id |
|
) |
[inline] |
|
VisualTargetTrans::VisualTargetTrans |
( |
const std::string & |
name, |
|
|
StateNode * |
destination, |
|
|
unsigned int |
source_id |
|
) |
[inline] |
|
Member Function Documentation
virtual void VisualTargetTrans::DoStart |
( |
|
) |
[inline, virtual] |
|
virtual void VisualTargetTrans::DoStop |
( |
|
) |
[inline, virtual] |
|
virtual void VisualTargetTrans::processEvent |
( |
const EventBase & |
e |
) |
[inline, virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file:
|