Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
SignalTrans< T > Class Template Reference#include <SignalTrans.h>
Inheritance diagram for SignalTrans< T >:
![]() Detailed Descriptiontemplate<class T>
causes a transition if a DataEvent from stateSignalEGID occurs with a specific value
|
Public Member Functions | |
SignalTrans (StateNode *destination, const T &value) | |
Constructor. | |
SignalTrans (const std::string &name, StateNode *destination, const T &value) | |
Constructor. | |
virtual void | DoStart () |
By default, merely adds to the reference counter (through AddReference()); Note you should still call this from your overriding methods. | |
virtual void | processEvent (const EventBase &event) |
By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing. | |
Protected Member Functions | |
SignalTrans (const std::string &classname, const std::string &instancename, StateNode *destination, const T &value) | |
Constructor. | |
Protected Attributes | |
T | val |
value to compare against |
SignalTrans< T >::SignalTrans | ( | StateNode * | destination, | |
const T & | value | |||
) | [inline] |
SignalTrans< T >::SignalTrans | ( | const std::string & | name, | |
StateNode * | destination, | |||
const T & | value | |||
) | [inline] |
SignalTrans< T >::SignalTrans | ( | const std::string & | classname, | |
const std::string & | instancename, | |||
StateNode * | destination, | |||
const T & | value | |||
) | [inline, protected] |
virtual void SignalTrans< T >::DoStart | ( | ) | [inline, virtual] |
By default, merely adds to the reference counter (through AddReference()); Note you should still call this from your overriding methods.
Reimplemented from BehaviorBase.
Definition at line 28 of file SignalTrans.h.
virtual void SignalTrans< T >::processEvent | ( | const EventBase & | ) | [inline, virtual] |
By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing.
Reimplemented from BehaviorBase.
Definition at line 34 of file SignalTrans.h.
T SignalTrans< T >::val [protected] |
value to compare against
Definition at line 47 of file SignalTrans.h.
Referenced by SignalTrans< T >::processEvent().
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:41 2007 by Doxygen 1.5.4 |