Skip to main content

GameObjectPoolId.ixx File

Strongly-typed identifier for GameObjectPool instances. More...

Included Headers

#include <cstdint> #include <string_view> #include <helios.core.data> #include <helios.core.types> #include <helios.core.algorithms>

Namespaces Index

namespacehelios
namespaceengine

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

namespaceruntime

Runtime infrastructure for game execution and lifecycle orchestration. More...

namespacepooling

GameObject pooling for efficient object recycling. More...

namespacetypes

Classes Index

structGameObjectPoolIdTag

Tag type for GameObjectPoolId. More...

structhash<helios::engine::runtime::pooling::types::GameObjectPoolId>

Hash specialization for GameObjectPoolId. More...

Description

Strongly-typed identifier for GameObjectPool instances.

File Listing

The file content with the documentation metadata removed is:

1/** @file GameObjectPoolId.ixx
2 * @brief Strongly-typed identifier for GameObjectPool instances.
3 */
4module;
5
6#include <cstdint>
7#include <string_view>
8
9export module helios.engine.runtime.pooling.types.GameObjectPoolId;
10
11import helios.core.algorithms;
12import helios.core.types;
13import helios.core.data;
14
16
17 /**
18 * @brief Tag type for GameObjectPoolId.
19 */
21
22 /**
23 * @brief Strongly-typed identifier for referencing a GameObjectPool.
24 *
25 * @details Provides type-safety when working with multiple object pools.
26 * Uses FNV-1a hashing for compile-time string-based construction.
27 *
28 * @see helios::core::data::StrongId
29 * @see SpawnProfileId
30 * @see SpawnRuleId
31 */
33
34}
35
36/**
37 * @brief Hash specialization for GameObjectPoolId.
38 */
39template<>
40struct std::hash<helios::engine::runtime::pooling::types::GameObjectPoolId> {
42 return id.value();
43 }
44};

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.