| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <VisualTargetTrans.h>
Inheritance diagram for VisualTargetTrans:

Definition at line 11 of file VisualTargetTrans.h.
Public Member Functions | |
| VisualTargetTrans (StateNode *source, StateNode *destination, VisionEventNS::VisionSourceID_t 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 activate() | |
| virtual std::string | getName () const |
| Identifies the behavior in menus and such. | |
Protected Attributes | |
| VisionEventNS::VisionSourceID_t | sid |
| Source ID of object to track. | |
| unsigned int | count |
|
||||||||||||||||
|
constructor
Definition at line 14 of file VisualTargetTrans.h. |
|
|
starts listening for the object specified by the source id in the constructor
Reimplemented from BehaviorBase. Definition at line 18 of file VisualTargetTrans.h. References EventRouter::addListener(), count, BehaviorBase::DoStart(), erouter, Socket::printf(), serr, sid, and EventBase::visionEGID. |
Here is the call graph for this function:

|
|
called by StateNode when it becomes inactive - undo whatever you did in Enable()
Reimplemented from BehaviorBase. Definition at line 27 of file VisualTargetTrans.h. References count, BehaviorBase::DoStop(), erouter, EventRouter::forgetListener(), Socket::printf(), and serr. |
Here is the call graph for this function:

|
|
Identifies the behavior in menus and such.
Implements BehaviorBase. Definition at line 49 of file VisualTargetTrans.h. |
|
|
if the object is "close", calls activate()
Reimplemented from BehaviorBase. Definition at line 36 of file VisualTargetTrans.h. References Transition::activate(), count, EventBase::deactivateETID, get_time(), EventBase::getTypeID(), Socket::printf(), and serr. |
Here is the call graph for this function:

|
|
Definition at line 54 of file VisualTargetTrans.h. |
|
|
Source ID of object to track.
Definition at line 53 of file VisualTargetTrans.h. |
|
Tekkotsu v1.5 |
Generated Fri Oct 10 15:58:16 2003 by Doxygen 1.3.4 |