Skip to main content

types Namespace

Type definitions for state transitions. More...

Definition

namespace helios::engine::state::types { ... }

Classes Index

structStateTransitionId<helios::engine::mechanics::gamestate::types::GameState>

Binds GameState to GameStateTransitionId. More...

structStateTransitionId<helios::engine::mechanics::match::types::MatchState>

Binds MatchState to MatchStateTransitionId. More...

classStateTransitionContext<StateType>

Captures the complete context of a state transition. More...

structInvalidStateTransitionId

Placeholder type for missing specializations. More...

structStateTransitionId<StateType>

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

classStateTransitionRequest<StateType>

Represents a request to perform a state transition. More...

classStateTransitionRule<StateType>

Defines a valid state transition with optional guard. More...

structStateTransitionType<StateType>

Type trait for state transition customization points. More...

classStateTypeId

Typedefs Index

template <class StateType>
usingStateTransitionIdType = typename StateTransitionId< StateType >::Type

Convenience alias for transition ID type lookup. More...

template <typename StateType>
usingGuardCallback = bool(*)( helios::engine::runtime::world::UpdateContext &, const StateTransitionRequest< StateType >)

Function pointer type for transition guards. More...

Variables Index

template <class...>
constexpr booldependent_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

template <typename StateType>
using helios::engine::state::types::GuardCallback = bool(*)( helios::engine::runtime::world::UpdateContext&, const StateTransitionRequest<StateType> )

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.

29 using GuardCallback = bool(*)(

StateTransitionIdType

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

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

template <class...>
bool helios::engine::state::types::dependent_false_v = false
constexpr

Helper for dependent false in static_assert.

Definition at line 20 of file StateTransitionId.ixx.

20 inline constexpr bool dependent_false_v = false;

The documentation for this namespace was generated from the following files:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.