Skip to content

Struct SYN_FSM_StateDesc

ClassList > SYN_FSM_StateDesc

Per-state entry/exit actions. More...

  • #include <syn_fsm.h>

Public Attributes

Type Name
SYN_FSM_Action on_enter
SYN_FSM_Action on_exit
SYN_FSM_State state

Detailed Description

Optional — pass NULL to syn_fsm_init() if you don't need them.

Per-state entry/exit action descriptor.

Public Attributes Documentation

variable on_enter

SYN_FSM_Action SYN_FSM_StateDesc::on_enter;

Called on state entry (or NULL)


variable on_exit

SYN_FSM_Action SYN_FSM_StateDesc::on_exit;

Called on state exit (or NULL)


variable state

SYN_FSM_State SYN_FSM_StateDesc::state;

State this applies to



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