SpiecsEngine
 
Loading...
Searching...
No Matches

◆ EVENT_CLASS_TYPE

#define EVENT_CLASS_TYPE ( type)
Value:
static EventType GetStaticType() { return EventType::##type; } \
virtual EventType GetEventType() const override { return GetStaticType(); } \
virtual const char* GetName() const override { return #type; }

Defines Event type.

Definition at line 74 of file Event.h.

74#define EVENT_CLASS_TYPE(type) \
75 static EventType GetStaticType() { return EventType::##type; } \
76 virtual EventType GetEventType() const override { return GetStaticType(); } \
77 virtual const char* GetName() const override { return #type; }