Template Class state_entry_action0

Inheritance Relationships

Base Type

Class Documentation

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

Action to perform upon transition to a state.

Template Parameters:
  • SM – A state machine class

  • Func – A state machine member function pointer that takes ZERO arguments.

Public Functions

~state_entry_action0(void) override = default
inline virtual void invoke_entry_action(base_fsm *sm, const event_data*) const override

Called by the state machine engine to execute a state entry action (when entering a state).

Parameters:
  • sm – A state machine instance.

  • data – The event data.