Class state_entry
Defined in File state_entry.hpp
Inheritance Relationships
Derived Types
public rcppsw::patterns::fsm::state_entry_action0< SM, Func >
(Template Class state_entry_action0)public rcppsw::patterns::fsm::state_entry_action1< SM, Event, Func >
(Template Class state_entry_action1)
Class Documentation
-
class state_entry
Abstract entry base class that all entry classes inherit from.
Subclassed by rcppsw::patterns::fsm::state_entry_action0< SM, Func >, rcppsw::patterns::fsm::state_entry_action1< SM, Event, Func >
Public Functions
-
virtual ~state_entry(void) = default
-
virtual void invoke_entry_action(base_fsm *sm, const event_data *data) const = 0
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.
-
virtual ~state_entry(void) = default