Class that inherits event_impl and provides a fixed event ID and priority as well as create methods for creating instances of the event.
More...
#include <specialized_event.hpp>
template<class _concrete_event, sxy::event_id _event_id, sxy::event_priority _event_priority = DEFAULT_EVENT_PRIORITY>
class sxy::specialized_event< _concrete_event, _event_id, _event_priority >
Class that inherits event_impl and provides a fixed event ID and priority as well as create methods for creating instances of the event.
◆ specialized_event()
template<class _concrete_event, sxy::event_id _event_id, sxy::event_priority _event_priority = DEFAULT_EVENT_PRIORITY>
◆ ~specialized_event()
template<class _concrete_event, sxy::event_id _event_id, sxy::event_priority _event_priority = DEFAULT_EVENT_PRIORITY>
◆ create()
template<class _concrete_event, sxy::event_id _event_id, sxy::event_priority _event_priority = DEFAULT_EVENT_PRIORITY>
template<typename ... _param_types>
static sxe::shared_ptr< _concrete_event > sxy::specialized_event< _concrete_event, _event_id, _event_priority >::create |
( |
_param_types... |
args | ) |
|
|
inlinestatic |
Method for creating an event with its parameters.
- Returns
- The created event.
◆ get_event_id()
template<class _concrete_event, sxy::event_id _event_id, sxy::event_priority _event_priority = DEFAULT_EVENT_PRIORITY>
Static getter for event's ID.
- Returns
- ID of the event.Static method for creating an event
◆ get_id()
template<class _concrete_event, sxy::event_id _event_id, sxy::event_priority _event_priority = DEFAULT_EVENT_PRIORITY>
Getter for event's ID.
- Returns
- ID of the event.
Reimplemented from sxy::event_impl.
◆ get_name()
template<class _concrete_event, sxy::event_id _event_id, sxy::event_priority _event_priority = DEFAULT_EVENT_PRIORITY>
Getter for event's name.
- Returns
- Name of the event.
Reimplemented from sxy::event_impl.
The documentation for this class was generated from the following file: