Define RCPPSW_FSM_DEFINE_STATE_MAP_ACCESSOR

Define Documentation

RCPPSW_FSM_DEFINE_STATE_MAP_ACCESSOR(type, index_var)

Define the function that will be used by all simple_fsm state machines to process events (i.e. given that a machine is in state X and event Y occurs, what state should it transition to next).

type must be either “state_map” or “state_map_ex”, corresponding to which type of states the state machine is comprised of. index_var can be anything, and will have the value of the current state.