yasmine
|
Interface of an event. An event has an ID, a name and a priority (for processing by the async state machine). More...
#include <event.hpp>
Public Member Functions | |
event () | |
virtual | ~event () SX_NOEXCEPT |
virtual event_id | get_id () const =0 |
Getter of event's ID. More... | |
virtual std::string | get_name () const =0 |
Getter of event's name. More... | |
virtual event_priority | get_priority () const =0 |
Getter of event's priority. More... | |
virtual bool | operator> (const event &_rhs) const =0 |
Method for comparing the priorities between the current event and a given event. More... | |
Interface of an event. An event has an ID, a name and a priority (for processing by the async state machine).
|
inline |
|
inlinevirtual |
|
pure virtual |
Getter of event's ID.
Implemented in sxy::specialized_event< _concrete_event, _event_id, _event_priority >, sxy::specialized_event< completion_event, Y_COMPLETION_EVENT_ID, sxy::DEFAULT_EVENT_PRIORITY >, and sxy::event_impl.
|
pure virtual |
Getter of event's name.
Implemented in sxy::specialized_event< _concrete_event, _event_id, _event_priority >, sxy::specialized_event< completion_event, Y_COMPLETION_EVENT_ID, sxy::DEFAULT_EVENT_PRIORITY >, and sxy::event_impl.
|
pure virtual |
|
pure virtual |
Method for comparing the priorities between the current event and a given event.
_rhs | Reference to an event whose priority is compared with the current event's priority. |
Implemented in sxy::event_impl.