#include <fsa.H>
Inheritance diagram for CallBack_t< EVENT >:
Public Member Functions | |
CallBack_t () | |
CallBack_t (State_t< EVENT > *n) | |
virtual | ~CallBack_t () |
virtual int | exec (const EVENT &, State_t< EVENT > *&, State_t< EVENT > *)=0 |
const State_t< EVENT > * | next () const |
Protected Attributes | |
State_t< EVENT > * | _next |
The callBack function is passed the Event which triggered the Arc and the default next State of the FSA. The callBack can change the FSA's next state by assigning a different value. This class is templated so that it can be used with any Event type that the application wants.
Definition at line 106 of file fsa.H.
|
|
|
|
|
|
|
Implemented in CallFunc_t< EVENT >, and CallMeth_t< T, EVENT >. |
|
Definition at line 116 of file fsa.H. References CallBack_t< EVENT >::_next. |
|
Definition at line 120 of file fsa.H. Referenced by CallMeth_t< T, EVENT >::exec(), CallFunc_t< EVENT >::exec(), and CallBack_t< EVENT >::next(). |