XF Test Bench 3.3
statemachine03.h
1#ifndef STATEMACHINE03_H
2#define STATEMACHINE03_H
3
4#include <string>
5#include "xf/behavior.h"
6
16class StateMachine03 : public XFBehavior
17{
18public:
20 ~StateMachine03() override;
21
22protected:
23 XFEventStatus processEvent() override;
24
25protected:
29 typedef enum
30 {
33
38 typedef enum
39 {
45
47};
48
49#endif // STATEMACHINE03_H
Definition: statemachine03.h:17
eMainState
Definition: statemachine03.h:39
@ STATE_SEND_RESTART
State sending an restart event.
Definition: statemachine03.h:43
@ STATE_UNKOWN
Unkown state.
Definition: statemachine03.h:40
@ STATE_INITIAL
Initial state.
Definition: statemachine03.h:41
@ STATE_WAIT
Wait state.
Definition: statemachine03.h:42
XFEventStatus processEvent() override
Definition: statemachine03.cpp:19
eMainState currentState_
Attribute indicating currently active state.
Definition: statemachine03.h:46
eTimeoutId
Definition: statemachine03.h:30
@ Timeout_WAIT_id
Timeout id for WAIT.
Definition: statemachine03.h:31