Skip to main content

types Namespace

Definition

namespace helios::engine::ecs::types { ... }

Classes Index

classComponentTypeId

Unique type identifier for component types. More...

Typedefs Index

usingEntityId = uint32_t

Unique identifier for an entity within an EntityPool. More...

Variables Index

constexpr size_tEntityTombstone = std::numeric_limits<size_t>::max()

Sentinel value indicating an invalid or removed sparse index. More...

Typedefs

EntityId

using helios::engine::ecs::types::EntityId = uint32_t

Unique identifier for an entity within an EntityPool.

Used as the index into the sparse array of an EntityPool. Combined with a VersionId in an EntityHandle, it enables safe entity references that detect stale handles after entity removal.

See Also

EntityHandle

See Also

VersionId

See Also

EntityPool

Definition at line 26 of file EntityId.ixx.

26 using EntityId = uint32_t;

Variables

EntityTombstone

size_t helios::engine::ecs::types::EntityTombstone = std::numeric_limits<size_t>::max()
constexpr

Sentinel value indicating an invalid or removed sparse index.

Used in sparse-set data structures (e.g., EntityPool, GameObjectPool) to mark slots that do not contain valid entity references. When a slot contains this value, the corresponding entity has been removed or was never assigned.

See Also

EntityPool

See Also

GameObjectPool

Definition at line 26 of file EntityTombstone.ixx.

26 constexpr size_t EntityTombstone = std::numeric_limits<size_t>::max();

Referenced by helios::engine::runtime::pooling::GameObjectPool::acquire, helios::engine::runtime::pooling::GameObjectPool::lock, helios::engine::runtime::pooling::GameObjectPool::release and helios::engine::runtime::pooling::GameObjectPool::releaseAndRemove.


The documentation for this namespace was generated from the following files:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.