types Namespace
Definition
Typedefs Index
| using | EngineStateType = uint16_t |
|
Underlying type for EngineState bitmask values. More... | |
Enumerations Index
| enum class | EngineState : EngineStateType { ... } |
|
Enumeration of possible game states. More... | |
| enum class | EngineStateTransitionId : uint16_t { ... } |
|
Enumeration of transition identifiers. More... | |
Operators Index
| constexpr EngineState | operator| (const EngineState lhs, const EngineState rhs) noexcept |
|
Bitwise OR operator for combining game states. More... | |
| constexpr EngineState | operator& (const EngineState lhs, const EngineState rhs) noexcept |
|
Bitwise AND operator for masking game states. More... | |
| constexpr EngineState | operator~ (const EngineState lhs) noexcept |
|
Bitwise NOT operator for inverting game state bits. More... | |
Functions Index
| constexpr bool | hasFlag (const EngineState mask, const EngineState flag) noexcept |
|
Checks if a flag is set in a state mask. More... | |
Variables Index
| constexpr size_t | EngineStateTypeSize = 16 |
Typedefs
EngineStateType
|
Underlying type for EngineState bitmask values.
Definition at line 19 of file EngineState.ixx.
Enumerations
EngineState
| strong |
Enumeration of possible game states.
- Enumeration values
States can be combined using bitwise operators for masking.
Definition at line 28 of file EngineState.ixx.
EngineStateTransitionId
| strong |
Enumeration of transition identifiers.
Each identifier represents a specific type of state transition request.
Definition at line 21 of file EngineStateTransitionId.ixx.
Operators
operator&()
| constexpr noexcept |
Bitwise AND operator for masking game states.
Definition at line 66 of file EngineState.ixx.
Reference helios::engine::runtime::registerComponents.
operator|()
| constexpr noexcept |
Bitwise OR operator for combining game states.
Definition at line 59 of file EngineState.ixx.
Reference helios::engine::runtime::registerComponents.
operator~()
| constexpr noexcept |
Bitwise NOT operator for inverting game state bits.
Definition at line 73 of file EngineState.ixx.
References Any and helios::engine::runtime::registerComponents.
Functions
hasFlag()
| constexpr noexcept |
Checks if a flag is set in a state mask.
- Parameters
-
mask The state mask to check.
flag The flag to check for.
- Returns
True if the flag is set in the mask.
Definition at line 85 of file EngineState.ixx.
Reference helios::engine::runtime::registerComponents.
Variables
EngineStateTypeSize
| constexpr |
Definition at line 21 of file EngineState.ixx.
The documentation for this namespace was generated from the following files:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.