![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <SGNComponent.h>
Public Member Functions | |
template<typename... InnerArgs> | |
Registrar (InnerArgs &&... args) | |
void | OnData (const ECS::CustomEvent &data) override |
![]() | |
Component () | |
virtual | ~Component () override |
ComponentTypeId | GetStaticComponentTypeID () const |
![]() | |
IComponent () | |
virtual | ~IComponent () |
bool | operator== (const IComponent &other) const |
bool | operator!= (const IComponent &other) const |
ComponentId | GetComponentId () const |
EntityId | GetOwner () const |
void | SetActive (bool state) |
bool | IsActive () const |
virtual void | OnData (const CustomEvent &data)=0 |
Static Public Member Functions | |
static bool | RegisterComponentType () |
Public Attributes | |
friend | T |
Static Public Attributes | |
static bool | s_registered = RegisterComponentType() |
![]() | |
static const ComponentTypeId | STATIC_COMPONENT_TYPE_ID = util::Internal::FamilyTypeID<IComponent>::Get<T>() |
Additional Inherited Members | |
![]() | |
ComponentId | m_HashValue |
ComponentId | m_ComponentID |
EntityId | m_Owner |
bool | m_Enabled |
Definition at line 108 of file SGNComponent.h.
|
inline |
Definition at line 112 of file SGNComponent.h.
|
inlineoverridevirtual |
Implements ECS::IComponent.
Definition at line 117 of file SGNComponent.h.
|
inlinestatic |
Definition at line 119 of file SGNComponent.h.
|
static |
Definition at line 135 of file SGNComponent.h.
friend Divide::Factory< Base, Args >::Registrar< T, C >::T |
Definition at line 137 of file SGNComponent.h.