DirectZ
Loading...
Searching...
No Matches
dz::ecs::LightMetaReflectable Struct Reference

#include <Light.hpp>

Inheritance diagram for dz::ecs::LightMetaReflectable:
Reflectable

Public Member Functions

 LightMetaReflectable (const std::function< Light *()> &get_light_function, const std::function< void()> &reset_reflectables_function)
int GetID () override
std::string & GetName () override
 DEF_GET_PROPERTY_INDEX_BY_NAME (prop_name_indexes)
 DEF_GET_PROPERTY_NAMES (prop_names)
void * GetVoidPropertyByIndex (int prop_index) override
 DEF_GET_PROPERTY_TYPEINFOS (typeinfos)
void NotifyChange (int prop_index) override
Public Member Functions inherited from Reflectable
virtual ~Reflectable ()=default
virtual ReflectableTypeHint GetTypeHint ()
virtual int GetPropertyIndexByName (const std::string &prop_name)=0
virtual const std::vector< std::string > & GetPropertyNames ()=0
virtual void * GetVoidPropertyByName (const std::string &prop_name)=0
virtual const std::vector< const std::type_info * > & GetPropertyTypeinfos ()=0
template<typename T>
T & GetPropertyByIndex (int prop_index)
template<typename T>
T & GetPropertyByName (const std::string &prop_name)
virtual const std::vector< bool > & GetDisabledProperties ()

Public Attributes

 DEF_GET_VOID_PROPERTY_BY_NAME

Constructor & Destructor Documentation

◆ LightMetaReflectable()

dz::ecs::LightMetaReflectable::LightMetaReflectable ( const std::function< Light *()> & get_light_function,
const std::function< void()> & reset_reflectables_function )

Member Function Documentation

◆ DEF_GET_PROPERTY_INDEX_BY_NAME()

dz::ecs::LightMetaReflectable::DEF_GET_PROPERTY_INDEX_BY_NAME ( prop_name_indexes )

◆ DEF_GET_PROPERTY_NAMES()

dz::ecs::LightMetaReflectable::DEF_GET_PROPERTY_NAMES ( prop_names )

◆ DEF_GET_PROPERTY_TYPEINFOS()

dz::ecs::LightMetaReflectable::DEF_GET_PROPERTY_TYPEINFOS ( typeinfos )

◆ GetID()

int dz::ecs::LightMetaReflectable::GetID ( )
overridevirtual

Implements Reflectable.

◆ GetName()

std::string & dz::ecs::LightMetaReflectable::GetName ( )
overridevirtual

Implements Reflectable.

◆ GetVoidPropertyByIndex()

void * dz::ecs::LightMetaReflectable::GetVoidPropertyByIndex ( int prop_index)
overridevirtual

Implements Reflectable.

◆ NotifyChange()

void dz::ecs::LightMetaReflectable::NotifyChange ( int prop_index)
overridevirtual

Reimplemented from Reflectable.

Member Data Documentation

◆ DEF_GET_VOID_PROPERTY_BY_NAME

dz::ecs::LightMetaReflectable::DEF_GET_VOID_PROPERTY_BY_NAME

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