Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Ecs::RegistryManager Class Reference

Singleton which holds the entt registry. More...

#include <RegistryManager.h>

Public Member Functions

 RegistryManager ()=default
 Construct a registry manager facade.
 RegistryManager (const RegistryManager &)=delete
 RegistryManager cannot be copied.
RegistryManager & operator= (const RegistryManager &)=delete
 RegistryManager cannot be copy-assigned.
 RegistryManager (RegistryManager &&other) noexcept=delete
 RegistryManager cannot be moved.
RegistryManager & operator= (RegistryManager &&)=delete
 RegistryManager cannot be move-assigned.

Static Public Member Functions

static entt::registry & get ()
 Gets the registry for all components.

Static Private Attributes

static entt::registry m_registry

Detailed Description

Singleton which holds the entt registry.

Definition at line 9 of file RegistryManager.h.

Constructor & Destructor Documentation

◆ RegistryManager() [1/3]

Engine::Ecs::RegistryManager::RegistryManager ( )
default

Construct a registry manager facade.

Referenced by operator=(), operator=(), RegistryManager(), and RegistryManager().

Here is the caller graph for this function:

◆ RegistryManager() [2/3]

Engine::Ecs::RegistryManager::RegistryManager ( const RegistryManager & )
delete

RegistryManager cannot be copied.

References RegistryManager().

Here is the call graph for this function:

◆ RegistryManager() [3/3]

Engine::Ecs::RegistryManager::RegistryManager ( RegistryManager && other)
deletenoexcept

RegistryManager cannot be moved.

References RegistryManager().

Here is the call graph for this function:

Member Function Documentation

◆ get()

entt::registry & Engine::Ecs::RegistryManager::get ( )
static

Gets the registry for all components.

Returns
the registry for all components

Referenced by Engine::Entities::NodeFactory::createRoot().

Here is the caller graph for this function:

◆ operator=() [1/2]

RegistryManager & Engine::Ecs::RegistryManager::operator= ( const RegistryManager & )
delete

RegistryManager cannot be copy-assigned.

References RegistryManager().

Here is the call graph for this function:

◆ operator=() [2/2]

RegistryManager & Engine::Ecs::RegistryManager::operator= ( RegistryManager && )
delete

RegistryManager cannot be move-assigned.

References RegistryManager().

Here is the call graph for this function:

Member Data Documentation

◆ m_registry

entt::registry Engine::Ecs::RegistryManager::m_registry
staticprivate

Definition at line 44 of file RegistryManager.h.


The documentation for this class was generated from the following file: