Vulkan Schnee 0.0.1
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
 RegistryManager (const RegistryManager &)=delete
RegistryManageroperator= (const RegistryManager &)=delete
 RegistryManager (RegistryManager &&other) noexcept=delete
RegistryManageroperator= (RegistryManager &&)=delete

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

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

References RegistryManager().

Here is the call graph for this function:

◆ RegistryManager() [3/3]

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

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

References RegistryManager().

Here is the call graph for this function:

◆ operator=() [2/2]

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

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 28 of file RegistryManager.h.


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