TimeOutTrans Class Reference#include <TimeOutTrans.h>
Inheritance diagram for TimeOutTrans:
[legend]List of all members.
Detailed Description
causes a transition after a specified amount of time has passed
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 &) |
| if we receive the timer event, fire()
|
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 & Destructor Documentation
TimeOutTrans::TimeOutTrans |
( |
StateNode * |
destination, |
|
|
unsigned int |
delay |
|
) |
[inline] |
|
|
constructor, specify delay in milliseconds
Definition at line 12 of file TimeOutTrans.h. |
Member Function Documentation
virtual void TimeOutTrans::DoStart |
( |
|
) |
[inline, virtual] |
|
virtual void TimeOutTrans::DoStop |
( |
|
) |
[inline, virtual] |
|
virtual std::string TimeOutTrans::getName |
( |
|
) |
const [inline, virtual] |
|
virtual void TimeOutTrans::processEvent |
( |
const EventBase & |
|
) |
[inline, virtual] |
|
void TimeOutTrans::resetTimer |
( |
|
) |
[inline] |
|
Member Data Documentation
The documentation for this class was generated from the following file:
|