|
| ListenerImpl (const ListenerImpl &)=delete |
|
| ListenerImpl (ListenerImpl &&)=delete |
|
ListenerImpl & | operator= (const ListenerImpl &)=delete |
|
ListenerImpl & | operator= (ListenerImpl &&)=delete |
|
cxx::expected< ListenerError > | attachEvent (T &eventOrigin, const EventType eventType, const NotificationCallback< T, ContextDataType > &eventCallback) noexcept |
| Attaches an event. Hereby the event is defined as a class T, the eventOrigin, an enum which further defines the event inside the class and the corresponding callback which will be called when the event occurs.
|
|
cxx::expected< ListenerError > | attachEvent (T &eventOrigin, const NotificationCallback< T, ContextDataType > &eventCallback) noexcept |
| Attaches an event. Hereby the event is defined as a class T, the eventOrigin and the corresponding callback which will be called when the event occurs.
|
|
void | detachEvent (T &eventOrigin, const EventType eventType) noexcept |
| Detaches an event. Hereby, the event is defined as a class T, the eventOrigin and the eventType with further specifies the event inside of eventOrigin.
|
|
void | detachEvent (T &eventOrigin) noexcept |
| Detaches an event. Hereby, the event is defined as a class T, the eventOrigin.
|
|
uint64_t | size () const noexcept |
| Returns the size of the Listener.
|
|
static constexpr uint64_t | capacity () noexcept |
| Returns the capacity of the Listener.
|
|
The documentation for this class was generated from the following file: