Functions | |
| unsigned char | startStateMachine (StateMachine *stateMachine) |
| Start the given state machine and make it enter its first state. | |
| void | sendEvent (StateMachine *stateMachine, short int event) |
| Test if a transition should be triggered and trigger it if necessary. | |
| void sendEvent | ( | StateMachine * | stateMachine, | |
| short int | event | |||
| ) |
Test if a transition should be triggered and trigger it if necessary.
| stateMachine | The state machine that should receive the event. | |
| event | The event ID. |
| unsigned char startStateMachine | ( | StateMachine * | stateMachine | ) |
Start the given state machine and make it enter its first state.
| stateMachine | A pointer on the state machine to start. |
1.5.8