Template Function iox::popo::createNotificationCallback(void(&)(OriginType *const))

Function Documentation

template<typename OriginType, typename ContextDataType = internal::NoType_t>
NotificationCallback<OriginType, ContextDataType> iox::popo::createNotificationCallback(void (&callback)(OriginType*const)) noexcept

creates an NotificationCallback

Parameters:

callback[in] reference to a callback with the signature void(OriginType*)

Returns:

the callback stored inside of an NotificationCallback