Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <TimeOutTrans.h>
Inheritance diagram for TimeOutTrans:
Definition at line 9 of file TimeOutTrans.h.
Public Member Functions | |
TimeOutTrans (StateNode *destination, unsigned int delay) | |
constructor, specify delay in milliseconds | |
virtual void | DoStart () |
starts timer | |
virtual void | DoStop () |
stops timer | |
void | resetTimer () |
resets timer | |
virtual void | processEvent (const EventBase &e) |
if we receive the timer event, activate() | |
virtual std::string | getName () const |
Identifies the behavior in menus and such. | |
Protected Attributes | |
unsigned int | d |
amount to delay (in milliseconds) before transition |
|
constructor, specify delay in milliseconds
Definition at line 12 of file TimeOutTrans.h. |
|
starts timer
Reimplemented from BehaviorBase. Definition at line 15 of file TimeOutTrans.h. |
|
stops timer
Reimplemented from BehaviorBase. Definition at line 21 of file TimeOutTrans.h. |
|
Identifies the behavior in menus and such.
Implements BehaviorBase. Definition at line 35 of file TimeOutTrans.h. |
|
if we receive the timer event, activate()
Reimplemented from BehaviorBase. Definition at line 30 of file TimeOutTrans.h. |
|
resets timer
Definition at line 24 of file TimeOutTrans.h. Referenced by DoStart(), and WalkToTargetMachine::processEvent(). |
|
amount to delay (in milliseconds) before transition
Definition at line 39 of file TimeOutTrans.h. Referenced by resetTimer(), and TimeOutTrans(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:30 2004 by Doxygen 1.3.4 |