Define RCPPSW_FSM_GUARD_DECLARE

Define Documentation

RCPPSW_FSM_GUARD_DECLARE(FSM, guard_name, event_data)

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

Guards are executed each time the state machine is in an extended state that has a guard defined. If the guard returns FALSE, then the state function for the state will not be executed. If the guard returns TRUE, then it will.