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


| Public Member Functions | |
| StateMachine01 (int repeatInterval, string text) | |
| Protected Types | |
| enum | eTimeoutId { Timeout_SAY_HELLO_id = 1 } | 
| enum | eMainState { STATE_UNKNOWN = 0 , STATE_INITIAL = 1 , STATE_SAY_HELLO = 2 } | 
| Protected Attributes | |
| eMainState | currentState_ | 
| Attribute indicating currently active state. | |
| int | repeatInterval_ | 
| Interval in milliseconds to repeat text in state machine. | |
| string | text_ | 
| Text to display in state machine state. | |
Task implementing a little state machine saying something in a predefined time interval.
Following you will find the state machine implemented by StateMachine01:
 
| 
 | protected | 
| 
 | protected | 
| StateMachine01::StateMachine01 | ( | int | repeatInterval, | 
| string | text | ||
| ) | 
Constructor
| repeatInterval | Interval in milliseconds used in state machine. | 
| text | Text to display by the state machine. |