Skip to main content

dds_lget_sample_lost

Function dds_lget_sample_lost 

Source
pub unsafe extern "C" fn dds_lget_sample_lost(
    listener: *const dds_listener_t,
    callback: *mut dds_on_sample_lost_fn,
)
Expand description

@ingroup listener_getters @component listener_obj @brief Get the sample_lost callback from the listener structure.

Equivalent to calling @ref dds_lget_sample_lost_arg with arg and reset_on_invoke set to a null pointer and throwing away the result.

@param[in] listener The pointer to the listener structure, where the callback will be retrieved from @param[out] callback Callback function; may be a null pointer