yasmine
|
Events that are processed by the state machine. An event can have an ID, a name and a priority (for processing by the async state machine). More...
#include <event_impl.hpp>
Public Member Functions | |
event_impl (const event_id _event_id, const event_priority _event_priority=DEFAULT_EVENT_PRIORITY) | |
virtual | ~event_impl () SX_NOEXCEPT SX_OVERRIDE |
virtual event_id | get_id () const SX_OVERRIDE |
Getter of event's ID. More... | |
virtual std::string | get_name () const SX_OVERRIDE |
Getter of event's name. More... | |
virtual event_priority | get_priority () const SX_OVERRIDE |
Getter of event's priority. More... | |
virtual bool | operator> (const event &_rhs) const SX_OVERRIDE |
Method for comparing the priorities between the current event and a given event. More... | |
Public Member Functions inherited from sxy::event | |
event () | |
virtual | ~event () SX_NOEXCEPT |
Static Public Member Functions | |
static event_sptr | create (const event_id _event_id, const event_priority _event_priority=DEFAULT_EVENT_PRIORITY) |
Static method for creating an event with the given ID and a priority. has DEFAULT_EVENT_PRIORITY as default value. More... | |
Events that are processed by the state machine. An event can have an ID, a name and a priority (for processing by the async state machine).
|
explicit |
|
virtual |
|
static |
Static method for creating an event with the given ID and a priority. has DEFAULT_EVENT_PRIORITY as default value.
_event_id | ID of the event that is created. |
_event_priority | Priority of the event that is created. DEFAULT_EVENT_PRIORITY is the default value. |
|
virtual |
Getter of event's ID.
Implements sxy::event.
Reimplemented in sxy::specialized_event< _concrete_event, _event_id, _event_priority >, and sxy::specialized_event< completion_event, Y_COMPLETION_EVENT_ID, sxy::DEFAULT_EVENT_PRIORITY >.
|
virtual |
Getter of event's name.
Implements sxy::event.
Reimplemented in sxy::specialized_event< _concrete_event, _event_id, _event_priority >, and sxy::specialized_event< completion_event, Y_COMPLETION_EVENT_ID, sxy::DEFAULT_EVENT_PRIORITY >.
|
virtual |
|
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. |
Implements sxy::event.