Function sub_add_event_callback

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.


True if succeeded.

  • 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.