Skip to content

Struct SYN_FSM

ClassList > 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

void* SYN_FSM::ctx;

User context for actions


variable current

SYN_FSM_State SYN_FSM::current;

Current state


variable state_descs

const SYN_FSM_StateDesc* SYN_FSM::state_descs;

Optional (may be NULL)


variable state_names

const char* const* SYN_FSM::state_names;

Optional (may be NULL)


variable tag

const char* SYN_FSM::tag;

Log tag


variable transitions

const SYN_FSM_Transition* SYN_FSM::transitions;

Transition table



The documentation for this class was generated from the following file src/syntropic/util/syn_fsm.h