Vyroda
Game engine made by hand, with modern C++ and Vulkan.
Loading...
Searching...
No Matches
Vyroda::ComponentManager Class Referenceexport

Public Member Functions

 ComponentManager ()=default
 ComponentManager (const ComponentManager &)=delete
ComponentManageroperator= (const ComponentManager &)=delete
 ComponentManager (ComponentManager &&) noexcept=default
ComponentManageroperator= (ComponentManager &&) noexcept=default
template<typename T>
void registerComponent ()
template<typename T, typename... Args>
void add (IDType id, Args &&... args)
template<typename T>
T * get (IDType id)
void clear ()

Constructor & Destructor Documentation

◆ ComponentManager() [1/3]

Vyroda::ComponentManager::ComponentManager ( )
default
Here is the caller graph for this function:

◆ ComponentManager() [2/3]

Vyroda::ComponentManager::ComponentManager ( const ComponentManager & )
delete
Here is the call graph for this function:

◆ ComponentManager() [3/3]

Vyroda::ComponentManager::ComponentManager ( ComponentManager && )
defaultnoexcept
Here is the call graph for this function:

Member Function Documentation

◆ add()

template<typename T, typename... Args>
void Vyroda::ComponentManager::add ( IDType id,
Args &&... args )
inline

◆ clear()

void Vyroda::ComponentManager::clear ( )

◆ get()

template<typename T>
T * Vyroda::ComponentManager::get ( IDType id)
inline

◆ operator=() [1/2]

ComponentManager & Vyroda::ComponentManager::operator= ( ComponentManager && )
defaultnoexcept
Here is the call graph for this function:

◆ operator=() [2/2]

ComponentManager & Vyroda::ComponentManager::operator= ( const ComponentManager & )
delete
Here is the call graph for this function:

◆ registerComponent()

template<typename T>
void Vyroda::ComponentManager::registerComponent ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

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