Define RCPPSW_FSM_EXIT_DECLARE

Define Documentation

RCPPSW_FSM_EXIT_DECLARE(FSM, exit_name)

Declare an exit exit_name within the class definition of FSM.

Whenever a state transition occurs in the FSM, if the old state has an exit function defined then it will be run before leaving the state.