ecs Namespace
Definition
Namespaces Index
| namespace | components |
| namespace | concepts |
| namespace | strategies |
| namespace | types |
Classes Index
| class | ComponentOpsRegistry<THandle> |
|
Global registry for component lifecycle function pointers. More... | |
| class | ComponentReflector<TEntityManager> |
|
Generates and registers ComponentOps for a component type. More... | |
| class | Entity<TEntityManager> |
|
Lightweight facade for entity component manipulation. More... | |
| class | EntityManager<THandle, TEntityRegistry, TCapacity> |
|
Manages entities and their associated components. More... | |
| class | EntityRegistry<TDomainTag, TLookupStrategy, TAllowRemoval, TCapacity> |
|
Generic registry for creating and managing strongly-typed entity handles. More... | |
| struct | EntityResolver<TEntityManager> |
|
Callable that resolves an EntityHandle to an Entity facade. More... | |
| class | PartialView<TEntityManager, TRequiredComponents, TOptionalComponents> |
|
A view class to iterate over entities having specific components. More... | |
| class | PartialView<TEntityManager, std::tuple< TRequired... >, std::tuple< TOptional... >> |
| class | SparseSet<T> |
|
A generic sparse set providing O(1) insertion, lookup, and removal. More... | |
| class | SparseSetBase |
|
Abstract base class for type-erased sparse set access. More... | |
| class | TypedHandleWorld<TEntityManagers> |
|
A multi-domain entity world that dispatches operations to the correct EntityManager based on the handle type. More... | |
| class | TypeIndexer<Group> |
|
Utility class to generate unique type indices at runtime. More... | |
Typedefs Index
template <typename TEntityManager, typename... TRequired> | |
| using | View = PartialView< TEntityManager, std::tuple< TRequired... >, std::tuple<> > |
|
Convenience alias for a view with required components only. More... | |
Functions Index
template <typename TEntityManager> | |
| void | registerComponents () |
|
Registers all lifecycle components with the ComponentReflector. More... | |
Variables Index
| constexpr auto | Tombstone = EntityTombstone |
|
Sentinel value indicating an empty slot in the sparse array. More... | |
Typedefs
View
|
Convenience alias for a view with required components only.
Optional components can be attached fluently via withOptional<...>().
- Template Parameters
-
TEntityManager Concrete entity manager type.
TRequired Required component types that must be present.
Definition at line 64 of file View.ixx.
Functions
registerComponents()
| inline |
Registers all lifecycle components with the ComponentReflector.
Definition at line 19 of file registry.ixx.
Variables
Tombstone
| constexpr |
Sentinel value indicating an empty slot in the sparse array.
Aliased from helios::ecs::types::EntityTombstone.
Definition at line 75 of file SparseSet.ixx.
Referenced by helios::ecs::SparseSet< T >::contains, helios::ecs::SparseSet< T >::emplace, helios::ecs::SparseSet< T >::get, helios::ecs::SparseSet< T >::get, helios::ecs::SparseSet< T >::insert and helios::ecs::SparseSet< T >::remove.
The documentation for this namespace was generated from the following files:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.