wlmaker
Loading...
Searching...
No Matches
Public Attributes | List of all members
wlmtk_fsm_transition_t Struct Reference

#include <fsm.h>

Public Attributes

int state
 
int event
 
int to_state
 
bool(* handler )(wlmtk_fsm_t *fsm_ptr, void *ud_ptr)
 

Detailed Description

State machine definition.

Member Data Documentation

◆ event

int wlmtk_fsm_transition_t::event

Event.

◆ handler

bool(* wlmtk_fsm_transition_t::handler) (wlmtk_fsm_t *fsm_ptr, void *ud_ptr)

Handler for the activity at (state, event).

◆ state

int wlmtk_fsm_transition_t::state

State before receiving the event.

◆ to_state

int wlmtk_fsm_transition_t::to_state

Upon having (state, event): State to transition to.


The documentation for this struct was generated from the following file: