SystemTypeId.ixx File
Unique type identifier for system 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 | world |
|
World state management, resource registry, and per-frame update context. More... | |
| namespace | types |
Classes Index
| class | SystemTypeId |
|
Unique type identifier for system types. More... | |
| struct | helios_engine_common_tag_SystemTypes |
|
Tag type for the TypeIndexer domain. More... | |
| struct | hash<helios::engine::runtime::world::types::SystemTypeId> |
|
Hash specialization for SystemTypeId. More... | |
Description
Unique type identifier for system types.
File Listing
The file content with the documentation metadata removed is:
14export namespace helios::engine::runtime::world::types {
27 class SystemTypeId {
50 explicit SystemTypeId(const size_t id) : id_(id) {}
58 explicit SystemTypeId(helios::core::types::no_init_t) {}
82 [[nodiscard]] static SystemTypeId id() {
83 static const size_t tid = helios::core::data::TypeIndexer<SystemType>::typeIndex<T>();
84 return SystemTypeId(tid);
87 friend constexpr bool operator==(SystemTypeId, SystemTypeId) noexcept = default;
99 std::size_t operator()(const helios::engine::runtime::world::types::SystemTypeId& id) const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.