CommandTypeId.ixx File
Unique type identifier for command types. More...
Included Headers
#include <functional>
#include <helios.core.types>
#include <helios.core.data.TypeIndexer>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | runtime |
|
Runtime infrastructure for game execution and lifecycle orchestration. More... | |
| namespace | messaging |
|
Communication infrastructure for commands and events. More... | |
| namespace | command |
|
Compile-time typed command buffering and handler routing. More... | |
| namespace | types |
Classes Index
| class | CommandTypeId |
|
Unique type identifier for command types. More... | |
| struct | helios_engine_common_tag_CommandTypes |
|
Tag type for the TypeIndexer domain. More... | |
| struct | hash<helios::engine::runtime::messaging::command::types::CommandTypeId> |
|
Hash specialization for CommandTypeId. More... | |
Description
Unique type identifier for command types.
File Listing
The file content with the documentation metadata removed is:
14export namespace helios::engine::runtime::messaging::command::types {
29 class CommandTypeId {
52 explicit CommandTypeId(const size_t id) : id_(id) {}
60 explicit CommandTypeId(helios::core::types::no_init_t) {}
84 [[nodiscard]] static CommandTypeId id() {
85 static const size_t tid = helios::core::data::TypeIndexer<ComponentType>::typeIndex<T>();
86 return CommandTypeId(tid);
89 friend constexpr bool operator==(CommandTypeId, CommandTypeId) noexcept = default;
101 std::size_t operator()(const helios::engine::runtime::messaging::command::types::CommandTypeId& id) const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.