Abstract class for specialized event emission. More...
#include <NRE_AbstractEventEmitter.hpp>
Public Types | |
typedef std::size_t | Category |
Public Member Functions | |
AbstractEventEmitter ()=default | |
AbstractEventEmitter (AbstractEventEmitter const &e)=default | |
AbstractEventEmitter (AbstractEventEmitter &&e)=default | |
virtual | ~AbstractEventEmitter ()=default |
bool | isConsumed () const |
void | setConsumed (bool state) |
AbstractEventEmitter & | operator= (AbstractEventEmitter const &e)=default |
AbstractEventEmitter & | operator= (AbstractEventEmitter &&e)=default |
Static Public Attributes | |
static Category | counter = 0 |
Abstract class for specialized event emission.
typedef std::size_t NRE::Event::AbstractEventEmitter::Category |
< Shortcut to hide the Category type
|
default |
Construct the emitter
|
default |
Copy e into this
e | the event emitter to copy |
|
default |
Move e into this
e | the event emitter to move |
|
virtualdefault |
AbstractEventEmitter Deconstructor
bool NRE::Event::AbstractEventEmitter::isConsumed | ( | ) | const |
|
default |
Copy e into this
e | the object to copy into this |
|
default |
Move e into this
e | the object to move into this |
void NRE::Event::AbstractEventEmitter::setConsumed | ( | bool | state | ) |
Set the consumed state
state | the new consumed state |
|
static |
The category counter