Skip to main content

TypedStateCommandHandler.ixx File

Typed interface for state command handling. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine

Main engine module aggregating core infrastructure and game systems. More...

namespacestate

Generic, template-based state management system. More...

Classes Index

classTypedStateCommandHandler<StateType>

Typed interface for handling state commands. More...

Description

Typed interface for state command handling.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file TypedStateCommandHandler.ixx
3 * @brief Typed interface for state command handling.
4 */
5module;
6
7export module helios.engine.state.TypedStateCommandHandler;
8
9import helios.engine.state.StateCommandHandler;
10import helios.engine.state.commands;
11
12
13export namespace helios::engine::state {
14
15 /**
16 * @brief Typed interface for handling state commands.
17 *
18 * @details Extends StateCommandHandler with type-safe submit method
19 * for a specific state type. StateManager implements this interface.
20 *
21 * @tparam StateType The state enum type.
22 *
23 * @see StateCommandHandler
24 * @see StateManager
25 * @see StateCommand
26 */
27 template<typename StateType>
29
30 public:
31
32 /**
33 * @brief Submits a state command for processing.
34 *
35 * @param gameStateCommand The command to submit.
36 *
37 * @return True if the command was accepted.
38 */
39 virtual bool submit(
41 ) noexcept = 0;
42
43
44 };
45
46}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.