Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

NullTrans Class Reference

#include <NullTrans.h>

Inheritance diagram for NullTrans:

List of all members.


Detailed Description

a transition that occurs (via a 0 msec Timer event) as soon as the source node finishes starting up

Definition at line 9 of file NullTrans.h.


Public Member Functions

 NullTrans (StateNode *destination)
 constructor
 NullTrans (const std::string &name, StateNode *destination)
 constructor
virtual void DoStart ()
 starts 0 msec timer, so transition will occur very soon
virtual void DoStop ()
 stops timer
virtual void processEvent (const EventBase &)
 when timer event is received, fire() the transition

Protected Member Functions

 NullTrans (const std::string &classname, const std::string &instancename, StateNode *destination)
 constructor, only to be called by subclasses (which need to specify their own classname)

Constructor & Destructor Documentation

NullTrans::NullTrans ( StateNode destination  )  [inline]

constructor

Definition at line 12 of file NullTrans.h.

NullTrans::NullTrans ( const std::string &  name,
StateNode destination 
) [inline]

constructor

Definition at line 15 of file NullTrans.h.

NullTrans::NullTrans ( const std::string &  classname,
const std::string &  instancename,
StateNode destination 
) [inline, protected]

constructor, only to be called by subclasses (which need to specify their own classname)

Definition at line 32 of file NullTrans.h.


Member Function Documentation

virtual void NullTrans::DoStart (  )  [inline, virtual]

starts 0 msec timer, so transition will occur very soon

Reimplemented from BehaviorBase.

Definition at line 19 of file NullTrans.h.

Referenced by RandomTrans::fire().

virtual void NullTrans::DoStop (  )  [inline, virtual]

stops timer

Reimplemented from BehaviorBase.

Definition at line 25 of file NullTrans.h.

Referenced by RandomTrans::fire().

virtual void NullTrans::processEvent ( const EventBase  )  [inline, virtual]

when timer event is received, fire() the transition

Reimplemented from BehaviorBase.

Definition at line 28 of file NullTrans.h.


The documentation for this class was generated from the following file:

Tekkotsu v4.0
Generated Thu Nov 22 00:58:34 2007 by Doxygen 1.5.4