wlmaker
|
#include <fsm.h>
Public Attributes | |
int | state |
int | event |
int | to_state |
bool(* | handler )(wlmtk_fsm_t *fsm_ptr, void *ud_ptr) |
State machine definition.
int wlmtk_fsm_transition_t::event |
Event.
bool(* wlmtk_fsm_transition_t::handler) (wlmtk_fsm_t *fsm_ptr, void *ud_ptr) |
Handler for the activity at (state, event).
int wlmtk_fsm_transition_t::state |
State before receiving the event.
int wlmtk_fsm_transition_t::to_state |
Upon having (state, event): State to transition to.