#include <fsm.h>
Collaboration diagram for FSM::SFuncStateMachine< SState, SEvent, SUnknownEventStrategy >:

Public Member Functions | |
| SFuncStateMachine (const StateType &StartState, const SFuncStateMachineProxy< StateType, EventType > &ProxyMachine) | |
| The only way to construct a state machine is to provide a complete description. | |
| SFuncStateMachine & | Reset (void) |
| Reset the machine to the initial state. Warning: no transition functions will be called if any. | |
| StateType | GetCurrentState (void) const |
| Returns the current machine state. | |
| SFuncStateMachine & | AcceptEvent (EventType &Event) |
| Accepts an event. First the transition will be executed and then the bound functions (if any) will be called. | |
| SFuncStateMachine & | operator<< (EventType &Event) |
| Another way to accept an event. First the transition will be executed and then the bound functions (if any) will be called. | |
| SFuncStateMachine & | operator<< (SMachineManipulator Manipulator) |
| Process a machine manipulator. | |
| SState | User defined state type. | |
| SEvent | User defined event type | |
| SUnknownEventStrategy | User defined strategy of reacting on the unknown event. Default strategy is throwing an exception. |
Definition at line 981 of file fsm.h.
|
||||||||||||||||
|
The only way to construct a state machine is to provide a complete description.
|
|
||||||||||
|
Accepts an event. First the transition will be executed and then the bound functions (if any) will be called.
Definition at line 1069 of file fsm.h. Referenced by FSM::SFuncStateMachine< SState, SEvent, SUnknownEventStrategy >::operator<<(). |
|
||||||||||
|
Returns the current machine state.
|
|
||||||||||
|
Process a machine manipulator.
Definition at line 1098 of file fsm.h. References FSM::SFuncStateMachine< SState, SEvent, SUnknownEventStrategy >::Reset(), and FSM::ResetMachine. Here is the call graph for this function: ![]() |
|
||||||||||
|
Another way to accept an event. First the transition will be executed and then the bound functions (if any) will be called.
Definition at line 1090 of file fsm.h. References FSM::SFuncStateMachine< SState, SEvent, SUnknownEventStrategy >::AcceptEvent(). Here is the call graph for this function: ![]() |
|
||||||||||
|
Reset the machine to the initial state. Warning: no transition functions will be called if any.
Definition at line 1045 of file fsm.h. Referenced by FSM::SFuncStateMachine< SState, SEvent, SUnknownEventStrategy >::operator<<(). |
1.4.4