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

Represents a possible transition from one state to another. More...

#include <state_machine.hpp>

Public Attributes

StateType to
 The target state to transition to.
 
Condition condition
 A callable that returns true when the transition should occur.
 

Detailed Description

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

Represents a possible transition from one state to another.

Member Data Documentation

◆ condition

template<typename StateType>
Condition PureStateMachine< StateType >::Transition::condition

A callable that returns true when the transition should occur.

◆ to

template<typename StateType>
StateType PureStateMachine< StateType >::Transition::to

The target state to transition to.


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