Function sub_add_event_callback#
Defined in File ecal_clang.h
Function Documentation#
-
ECAL_API bool sub_add_event_callback(ECAL_HANDLE handle_, enum eCAL_Subscriber_Event type_, const SubEventCallbackCT callback_, void *par_)#
Add callback function for subscriber events.
- Deprecated:
Will be removed in future eCAL versions.
- Parameters:
handle_ – Subscriber handle.
type_ – The event type to react on.
callback_ – The callback function to add.
par_ – User defined context that will be forwarded to the callback function.
- Returns:
True if succeeded.