Skip to content

iox::popo::NotificationCallback🔗

the struct describes a callback with a user defined type which can be attached to a WaitSet or a Listener More...

#include <iceoryx_posh/popo/notification_callback.hpp>

Public Types🔗

Name
using void(&)(OriginType const, ContextDataType const) Ref_t
using void()(OriginType const, ContextDataType *const) Ptr_t

Public Attributes🔗

Name
Ptr_t m_callback
ContextDataType * m_contextData

Detailed Description🔗

template <typename OriginType ,
typename ContextDataType >
struct iox::popo::NotificationCallback;

the struct describes a callback with a user defined type which can be attached to a WaitSet or a Listener

Public Types Documentation🔗

using Ref_t🔗

using iox::popo::NotificationCallback< OriginType, ContextDataType >::Ref_t =  void (&)(OriginType* const, ContextDataType* const);

using Ptr_t🔗

using iox::popo::NotificationCallback< OriginType, ContextDataType >::Ptr_t =  void (*)(OriginType* const, ContextDataType* const);

Public Attributes Documentation🔗

variable m_callback🔗

Ptr_t m_callback = nullptr;

variable m_contextData🔗

ContextDataType * m_contextData = nullptr;

Updated on 2 April 2022 at 16:37:47 CEST