Template Struct NotificationCallback

Struct Documentation

template<typename OriginType, typename ContextDataType>
struct NotificationCallback

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

Public Types

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

Public Members

Ptr_t m_callback = nullptr
ContextDataType *m_contextData = nullptr