Skip to main content

StateTransitionId Struct Template

Type trait mapping StateType to its TransitionId type. More...

Declaration

template <typename StateType> struct helios::engine::state::types::StateTransitionId<StateType> { ... }

Public Member Typedefs Index

template <typename StateType>
usingType = InvalidStateTransitionId

Description

Type trait mapping StateType to its TransitionId type.

Must be specialized for each state type. The specialization must define a `Type` alias for the transition ID enum.

Template Parameters
StateType

The state enum type.

 // Specialization example:
 template<>
 struct StateTransitionId<GameState> {
  using Type = GameStateTransitionId;
 };

Definition at line 44 of file StateTransitionId.ixx.

Public Member Typedefs

Type

template <typename StateType>
using helios::engine::state::types::StateTransitionId< StateType >::Type = InvalidStateTransitionId

Definition at line 48 of file StateTransitionId.ixx.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.