Define RCPPSW_FSM_STATE_DECLARE

Define Documentation

RCPPSW_FSM_STATE_DECLARE(FSM, state_name, event_data)

Declare a state state_name within the class definition of FSM, which requires the input signal of event_data each time the state is executed.

Should always return event_signal::ekHANDLED for simple_fsm (anything other than that will halt the state machine/crash the program). Can return other signals if the state is part of a hfsm.