Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
Engine::ComponentReflectionRegistry Class Reference

Central singleton managing the registered component reflections. More...

#include <ComponentReflection.hpp>

Public Member Functions

void registerComponent (const ComponentReflection &refl)
const std::vector< ComponentReflection > & getReflections () const

Static Public Member Functions

static ComponentReflectionRegistry & getInstance ()

Private Member Functions

 ComponentReflectionRegistry ()=default

Private Attributes

std::vector< ComponentReflection > reflections

Detailed Description

Central singleton managing the registered component reflections.

Constructor & Destructor Documentation

◆ ComponentReflectionRegistry()

Engine::ComponentReflectionRegistry::ComponentReflectionRegistry ( )
privatedefault

Member Function Documentation

◆ getInstance()

ComponentReflectionRegistry & Engine::ComponentReflectionRegistry::getInstance ( )
static

◆ getReflections()

const std::vector< ComponentReflection > & Engine::ComponentReflectionRegistry::getReflections ( ) const

◆ registerComponent()

void Engine::ComponentReflectionRegistry::registerComponent ( const ComponentReflection & refl)

Member Data Documentation

◆ reflections

std::vector<ComponentReflection> Engine::ComponentReflectionRegistry::reflections
private

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