Struct SYN_FSM¶
FSM instance — transition table, state descriptors, current state.
#include <syn_fsm.h>
Public Attributes¶
| Type | Name |
|---|---|
| void * | ctx |
| SYN_FSM_State | current |
| const SYN_FSM_StateDesc * | state_descs |
| const char *const * | state_names |
| const char * | tag |
| const SYN_FSM_Transition * | transitions |
Public Attributes Documentation¶
variable ctx¶
User context for actions
variable current¶
Current state
variable state_descs¶
Optional (may be NULL)
variable state_names¶
Optional (may be NULL)
variable tag¶
Log tag
variable transitions¶
Transition table
The documentation for this class was generated from the following file src/syntropic/util/syn_fsm.h