Template Class state_entry_action1

Inheritance Relationships

Base Type

Class Documentation

template<class SM, class Event, void (SM::* Func)(const Event*)>
class state_entry_action1 : public rcppsw::patterns::fsm::state_entry
Template Parameters:
  • SM – A state machine class

  • Event – A state function event data type (derived from event_data).

  • Func – A state machine member function pointer that takes ONE argument.

Public Functions

~state_entry_action1(void) override = default
inline virtual void invoke_entry_action(base_fsm *sm, const event_data *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.