types Namespace
Type definitions for state transitions. More...
Definition
Classes Index
| struct | StateTransitionId<helios::engine::mechanics::gamestate::types::GameState> |
|
Binds GameState to GameStateTransitionId. More... | |
| struct | StateTransitionId<helios::engine::mechanics::match::types::MatchState> |
|
Binds MatchState to MatchStateTransitionId. More... | |
| class | StateTransitionContext<StateType> |
|
Captures the complete context of a state transition. More... | |
| struct | InvalidStateTransitionId |
|
Placeholder type for missing specializations. More... | |
| struct | StateTransitionId<StateType> |
|
Type trait mapping StateType to its TransitionId type. More... | |
| class | StateTransitionRequest<StateType> |
|
Represents a request to perform a state transition. More... | |
| class | StateTransitionRule<StateType> |
|
Defines a valid state transition with optional guard. More... | |
| struct | StateTransitionType<StateType> |
|
Type trait for state transition customization points. More... | |
| class | StateTypeId |
Typedefs Index
template <class StateType> | |
| using | StateTransitionIdType = typename StateTransitionId< StateType >::Type |
|
Convenience alias for transition ID type lookup. More... | |
template <typename StateType> | |
| using | GuardCallback = bool(*)( helios::engine::runtime::world::UpdateContext &, const StateTransitionRequest< StateType >) |
|
Function pointer type for transition guards. More... | |
Variables Index
template <class...> | |
| constexpr bool | dependent_false_v = false |
|
Helper for dependent false in static_assert. More... | |
Description
Type definitions for state transitions.
Provides type traits, context classes, and rule definitions used by the state management system.
Typedefs
GuardCallback
|
Function pointer type for transition guards.
Guards are called before a transition executes. If the guard returns false, the transition is blocked.
- Template Parameters
-
StateType The state enum type.
Definition at line 29 of file StateTransitionRule.ixx.
StateTransitionIdType
|
Convenience alias for transition ID type lookup.
- Template Parameters
-
StateType The state enum type.
Definition at line 57 of file StateTransitionId.ixx.
Variables
dependent_false_v
| constexpr |
Helper for dependent false in static_assert.
Definition at line 20 of file StateTransitionId.ixx.
The documentation for this namespace was generated from the following files:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.