Template Class state_exit_action

Inheritance Relationships

Base Type

Class Documentation

template<class SM, void (SM::* Func)(void)>
class state_exit_action : public rcppsw::patterns::fsm::state_exit

state_exit_action takes two template arguments:

Template Parameters:
  • SM – A state machine class.

  • Func – A state machine member function pointer.

Public Functions

~state_exit_action(void) override = default
inline virtual void invoke_exit_action(base_fsm *sm) const override

Called by the state machine engine to execute a state exit action. Called when leaving a state.

Parameters:

sm – A state machine instance.