| XF Test Bench 3.3
    | 
#include <statemachine02.h>


| Protected Types | |
| enum | eTimeoutId { Timeout_PRINT_COUNT_id = 1 } | 
| enum | eMainState { STATE_UNKOWN = 0 , STATE_INITIAL = 1 , STATE_PRINT_COUNT = 2 , STATE_CONDITION_01 = 3 , STATE_TERMINATION_01 = 4 } | 
| Protected Member Functions | |
| XFEventStatus | processEvent () override | 
| Protected Attributes | |
| eMainState | _currentState | 
| Attribute indicating currently active state. | |
| const uint32_t | id | 
| Object identifier. | |
| int | counter | 
| Count down attribute used in state machine. | |
| Static Protected Attributes | |
| static uint32_t | nextId = 1 | 
| Static attribute providing identifier for next object. | |
Task implementing a state machine doing a count down from 5 to 1 and terminating.
Following you will find the state machine implemented by StateMachine02:
 
| 
 | protected | 
| 
 | protected | 
| 
 | overrideprotected | 
Implements state machine behavior.