Template Class state_entry_action0
Defined in File state_entry_action.hpp
Inheritance Relationships
Base Type
public rcppsw::patterns::fsm::state_entry
(Class state_entry)
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.