TypedStateCommandHandler Class Template
Typed interface for handling state commands. More...
Declaration
template <typename StateType>
class helios::engine::state::TypedStateCommandHandler<StateType> { ... }
Base class
| class | StateCommandHandler |
|
Abstract base for type-erased state command handling. More... | |
Public Member Functions Index
template <typename StateType> | |
| bool | submit (const helios::engine::state::commands::StateCommand< StateType > &gameStateCommand) noexcept=0 |
|
Submits a state command for processing. More... | |
Description
Typed interface for handling state commands.
Extends StateCommandHandler with type-safe submit method for a specific state type. StateManager implements this interface.
- Template Parameters
-
StateType The state enum type.
- See Also
- See Also
- See Also
StateCommand
Definition at line 28 of file TypedStateCommandHandler.ixx.
Public Member Functions
submit()
template <typename StateType>
| noexcept |
Submits a state command for processing.
- Parameters
-
gameStateCommand The command to submit.
- Returns
True if the command was accepted.
Definition at line 39 of file TypedStateCommandHandler.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.