CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::EntityTemplate::TComponentData< C > Class Template Reference
Inheritance diagram for CeresEngine::EntityTemplate::TComponentData< C >:
CeresEngine::EntityTemplate::ComponentData

Public Member Functions

template<typename... Args>
 TComponentData (Args &&... args)
 
const ComponentTypegetComponentType () const noexcept final
 
Any getComponent () noexcept final
 
Any getComponent () const noexcept final
 

Public Attributes

C component
 

Constructor & Destructor Documentation

◆ TComponentData()

template<CComponent C>
template<typename... Args>
CeresEngine::EntityTemplate::TComponentData< C >::TComponentData ( Args &&...  args)
inlineexplicit

Member Function Documentation

◆ getComponent() [1/2]

template<CComponent C>
Any CeresEngine::EntityTemplate::TComponentData< C >::getComponent ( ) const
inlinefinalvirtualnoexcept

◆ getComponent() [2/2]

template<CComponent C>
Any CeresEngine::EntityTemplate::TComponentData< C >::getComponent ( )
inlinefinalvirtualnoexcept

◆ getComponentType()

template<CComponent C>
const ComponentType & CeresEngine::EntityTemplate::TComponentData< C >::getComponentType ( ) const
inlinefinalvirtualnoexcept

Member Data Documentation

◆ component

template<CComponent C>
C CeresEngine::EntityTemplate::TComponentData< C >::component

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