Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
corium::fsm::ShallowHistory< DefaultState > Struct Template Reference

Tag type for designating a shallow history pseudostate in hierarchical state machines. When entered, the state machine transitions to the most recently visited state in the group, or to DefaultState if the group has not been visited yet. More...

#include <HistoryState.hpp>

+ Collaboration diagram for corium::fsm::ShallowHistory< DefaultState >:

Public Types

using DefaultStateType = DefaultState
 

Detailed Description

template<typename DefaultState>
struct corium::fsm::ShallowHistory< DefaultState >

Tag type for designating a shallow history pseudostate in hierarchical state machines. When entered, the state machine transitions to the most recently visited state in the group, or to DefaultState if the group has not been visited yet.

Template Parameters
DefaultStateFallback state if no history has been recorded.

Member Typedef Documentation

◆ DefaultStateType

template<typename DefaultState >
using corium::fsm::ShallowHistory< DefaultState >::DefaultStateType = DefaultState

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