CPP-TOOLBOX
Loading...
Searching...
No Matches
PureStateMachine< StateType >::Event Struct Reference

Represents a state-related event emitted during an update. More...

#include <state_machine.hpp>

Public Attributes

EventType type
 The type of event.
 
StateType state
 The current state.
 
StateType next_state
 The next state (may be the same as the current for non-transition events).
 

Detailed Description

template<typename StateType>
struct PureStateMachine< StateType >::Event

Represents a state-related event emitted during an update.

Member Data Documentation

◆ next_state

template<typename StateType>
StateType PureStateMachine< StateType >::Event::next_state

The next state (may be the same as the current for non-transition events).

◆ state

template<typename StateType>
StateType PureStateMachine< StateType >::Event::state

The current state.

◆ type

template<typename StateType>
EventType PureStateMachine< StateType >::Event::type

The type of event.


The documentation for this struct was generated from the following file: