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

Public Member Functions | |
| SStateMachine (const StateType &StartState, const SStateMachineProxy< StateType, EventType > &ProxyMachine) | |
| The only way to cunstruct a state machine is to provide a complete description. | |
| SStateMachine & | 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. | |
| SStateMachine & | AcceptEvent (const EventType &Event) |
| Accepts an event. First the transition will be executed and then the bound functions (if any) will be called. | |
| SStateMachine & | operator<< (const EventType &Event) |
| Another way to accept an event. First the transition will be executed and then the bound functions (if any) will be called. | |
| SStateMachine & | operator<< (SMachineManipulator Manipulator) |
| Process a machine manipulator. | |
| SState | User defined state type. | |
| SEvent | User defined event type. | |
| SFunctor | User defined startegy of functions calls. Default strategy is no calls. | |
| SUnknownEventStrategy | User defined strategy of reacting on the unknown event. Default strategy is throwing an exception. |
Definition at line 515 of file fsm.h.
|
||||||||||||||||
|
The only way to cunstruct 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 606 of file fsm.h. Referenced by FSM::SStateMachine< SState, SEvent, SFunctor, SUnknownEventStrategy >::operator<<(). |
|
||||||||||
|
Returns the current machine state.
|
|
||||||||||
|
Process a machine manipulator.
Definition at line 636 of file fsm.h. References FSM::SStateMachine< SState, SEvent, SFunctor, 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 628 of file fsm.h. References FSM::SStateMachine< SState, SEvent, SFunctor, 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 581 of file fsm.h. Referenced by FSM::SStateMachine< SState, SEvent, SFunctor, SUnknownEventStrategy >::operator<<(). |
1.4.4