iceoryx_posh 2.0.5
Loading...
Searching...
No Matches
Public Types | Protected Member Functions | List of all members
iox::popo::Listener Class Reference
Inheritance diagram for iox::popo::Listener:
Inheritance graph
[legend]
Collaboration diagram for iox::popo::Listener:
Collaboration graph
[legend]

Public Types

using Parent = ListenerImpl< MAX_NUMBER_OF_EVENTS_PER_LISTENER >
 

Protected Member Functions

 Listener (ConditionVariableData &conditionVariableData) noexcept
 
- Protected Member Functions inherited from iox::popo::ListenerImpl< MAX_NUMBER_OF_EVENTS_PER_LISTENER >
 ListenerImpl (ConditionVariableData &conditionVariableData) noexcept
 

Additional Inherited Members

- Public Member Functions inherited from iox::popo::ListenerImpl< MAX_NUMBER_OF_EVENTS_PER_LISTENER >
 ListenerImpl (const ListenerImpl &)=delete
 
 ListenerImpl (ListenerImpl &&)=delete
 
ListenerImploperator= (const ListenerImpl &)=delete
 
ListenerImploperator= (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 Public Member Functions inherited from iox::popo::ListenerImpl< MAX_NUMBER_OF_EVENTS_PER_LISTENER >
static constexpr uint64_t capacity () noexcept
 Returns the capacity of the Listener.
 

The documentation for this class was generated from the following file: