|
CeresEngine 0.2.0
A game development framework
|
A type that describes and provides type-erased operations on a entity event. More...
#include <CeresEngine/Entity/Event.hpp>
Public Member Functions | |
| EntityEventType (const EntityEventType &)=delete | |
| EntityEventType & | operator= (const EntityEventType &)=delete |
| EntityEventType (EntityEventType &&)=delete | |
| EntityEventType & | operator= (EntityEventType &&)=delete |
Static Public Member Functions | |
| template<typename E > | |
| static const EntityEventType & | get () noexcept |
The type instance for a event of the E. | |
Public Attributes | |
| const EntityEventID | eventID |
| The event type ID. | |
Protected Member Functions | |
| EntityEventType (const EntityEventID eventID) | |
Static Protected Attributes | |
| static EntityEventID | nextEventID = 0 |
| The next event ID to be statically allocated by the compiler. | |
Friends | |
| bool | operator== (const EntityEventType &lhs, const EntityEventType &rhs) noexcept |
Compares two EntityEventType instances for equality. | |
| bool | operator!= (const EntityEventType &lhs, const EntityEventType &rhs) noexcept |
Compares two EntityEventType instances for inequality. | |
A type that describes and provides type-erased operations on a entity event.
|
inlineexplicitprotected |
|
delete |
|
delete |
|
inlinestaticnoexcept |
The type instance for a event of the E.
This instance is unique for any given event type E and is safe to perform pointer comparisons on the type.
| E | The type of event to return the type descriptor for. |
|
delete |
|
delete |
|
friend |
Compares two EntityEventType instances for inequality.
If true, lhs and rhs instances represent different entityEvent types.
|
friend |
Compares two EntityEventType instances for equality.
If true, lhs and `rhs instances represent the same entityEvent type.
| const EntityEventID CeresEngine::EntityEventType::eventID |
The event type ID.
Used as a value that uniquely identifies the event.
|
inlinestaticprotected |
The next event ID to be statically allocated by the compiler.