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> | |
| using | Type = 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 43 of file StateTransitionId.ixx.
Public Member Typedefs
Type
template <typename StateType>
|
Definition at line 47 of file StateTransitionId.ixx.
47 using Type = InvalidStateTransitionId;
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.