Define RCPPSW_FSM_GUARD_DECLARE
Defined in File base_fsm.hpp
Define Documentation
-
RCPPSW_FSM_GUARD_DECLARE(FSM, guard_name, event_data)
Declare a guard
guard_name
within the class definition ofFSM
, which requires the input signal ofevent_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 returnsTRUE
, then it will.