FACT++  1.0

A list of default states available to any state machine. Derived classes must define different state-number for their purpose

Enumerator
kSM_KeepState 
kSM_NotAvailable 

Possible return value for GetStateIndex.

kSM_NotReady 

Mainloop not running, state machine stopped.

kSM_Ready 

Mainloop running, state machine in operation.

kSM_UserMode 

First user defined mode (to be used in derived classes' enums)

kSM_Error 

Error states should be between 0x100 and 0xffff.

kSM_FatalError 

Fatal error: stop program.

Definition at line 23 of file StateMachineImp.h.

24  {
25  kSM_KeepState = -42,
26  kSM_NotAvailable = -2,
27  kSM_NotReady = -1,
28  kSM_Ready = 0,
29  kSM_UserMode = 1,
30  kSM_Error = 0x100,
31  kSM_FatalError = 0xffff,
32  };
Mainloop running, state machine in operation.
Fatal error: stop program.
First user defined mode (to be used in derived classes' enums)
Mainloop not running, state machine stopped.
Error states should be between 0x100 and 0xffff.
Possible return value for GetStateIndex.