GameObjectPoolRegistry.ixx File
Central registry for managing multiple GameObjectPool instances. More...
Included Headers
#include <memory>
#include <unordered_map>
#include <ranges>
#include <helios.engine.runtime.pooling.types.GameObjectPoolId>
#include <helios.engine.runtime.pooling.GameObjectPool>
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 | pooling |
|
GameObject pooling for efficient object recycling. More... | |
Classes Index
| class | GameObjectPoolRegistry |
|
Central registry for managing multiple named GameObjectPools. More... | |
Description
Central registry for managing multiple GameObjectPool instances.
File Listing
The file content with the documentation metadata removed is:
18export namespace helios::engine::runtime::pooling {
45 class GameObjectPoolRegistry {
52 std::unordered_map<helios::engine::runtime::pooling::types::GameObjectPoolId, std::unique_ptr<GameObjectPool>> pools_;
59 GameObjectPoolRegistry() = default;
88 [[nodiscard]]std::unordered_map<helios::engine::runtime::pooling::types::GameObjectPoolId, std::unique_ptr<GameObjectPool>>& pools() {
100 [[nodiscard]] GameObjectPool* pool(const helios::engine::runtime::pooling::types::GameObjectPoolId id) const {
118 [[nodiscard]] bool has(const helios::engine::runtime::pooling::types::GameObjectPoolId id) const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.