SignalTrans< T > Class Template Reference#include <SignalTrans.h>
Inheritance diagram for SignalTrans< T >:
[legend]List of all members.
Detailed Description
template<class T>
class SignalTrans< T >
causes a transition if a DataEvent from stateSignalEGID occurs with a specific value
This allows a state node to signal a transition to another state in a clean symbolic way. Only the transition itself needs to know the address of the destination node.
Definition at line 16 of file SignalTrans.h.
|
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
|
The documentation for this class was generated from the following file:
|