Class state_entry

Inheritance Relationships

Derived Types

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.