|
R-Type
Distributed multiplayer game engine in C++
|
Registry for the ECS (Entity-Component System). More...
#include <any>#include <bitset>#include <mutex>#include <queue>#include <shared_mutex>#include <unordered_map>#include <vector>#include "Components/IComponent.hpp"#include "Registry.tpp"

Go to the source code of this file.
Classes | |
| class | ecs::Registry |
| Manages entities, their signatures and component type registrations. More... | |
Namespaces | |
| namespace | ecs |
| Maximum number of distinct component types supported by the Registry. | |
Macros | |
| #define | N_MAX_COMPONENTS 64 |
Typedefs | |
| typedef std::bitset< N_MAX_COMPONENTS > | ecs::Signature |
| Bitset representing the set of components attached to an entity. | |
Registry for the ECS (Entity-Component System).
Provides facilities to create/destroy entities, assign components to entities via signatures (bitsets), and register component types.
Definition in file Registry.hpp.
| #define N_MAX_COMPONENTS 64 |
Definition at line 28 of file Registry.hpp.