Function eCAL::Registration::AddPublisherEventCallback#
- Defined in File registration.h 
Function Documentation#
- 
ECAL_API CallbackToken eCAL::Registration::AddPublisherEventCallback(const TopicEventCallbackT &callback_)#
- Register a callback function to be notified when a new publisher becomes available. - Parameters:
- callback_ – The callback function to be called with the STopicId of the new publisher. 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.