Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
ECS::Event::Event< T > Class Template Reference

#include <Event.h>

+ Inheritance diagram for ECS::Event::Event< T >:

Public Member Functions

 Event (ECSEngine *engine, ECS::EntityId sourceEntityID)
 
- Public Member Functions inherited from ECS::Event::IEvent
 IEvent (ECSEngine *engine, EntityId sourceEntityID, EventTypeId typeId)
 
EventTypeId GetEventTypeID () const
 
EventTimestamp GetTimeCreated () const
 
EntityId GetSourceEntityId () const
 

Static Public Attributes

static const EventTypeId STATIC_EVENT_TYPE_ID { typeid(T).hash_code() }
 

Detailed Description

template<class T>
class ECS::Event::Event< T >

Definition at line 22 of file Event.h.

Constructor & Destructor Documentation

◆ Event()

template<class T >
ECS::Event::Event< T >::Event ( ECSEngine engine,
ECS::EntityId  sourceEntityID 
)
inline

Definition at line 29 of file Event.h.

Member Data Documentation

◆ STATIC_EVENT_TYPE_ID

template<class T >
const EventTypeId ECS::Event::Event< T >::STATIC_EVENT_TYPE_ID { typeid(T).hash_code() }
static

Definition at line 27 of file Event.h.


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