Function eCAL::Registration::AddSubscriberEventCallback#
Defined in File registration.h
Function Documentation#
-
ECAL_API CallbackToken eCAL::Registration::AddSubscriberEventCallback(const TopicEventCallbackT &callback_)#
Register a callback function to be notified when a new subscriber becomes available.
- Parameters:
callback_ – The callback function to be called with the STopicId of the new subscriber. The callback function must not be blocked for a longer period of time, otherwise timeout mechanisms of the eCAL registration would be triggered.
- Returns:
CallbackToken Token that can be used to unregister the callback.