Function dds_lget_sample_lost_arg¶
Defined in File dds_public_listener.h
Function Documentation¶
-
dds_return_t dds_lget_sample_lost_arg(const dds_listener_t *listener, dds_on_sample_lost_fn *callback, void **arg, bool *reset_on_invoke)¶
Get the sample_lost callback from the listener structure.
- Parameters
listener – [in] The pointer to the listener structure, where the callback will be retrieved from
callback – [out] Callback function; may be a null pointer
arg – [out] Callback argument pointer; may be a null pointer
reset_on_invoke – [out] Whether the status is reset by listener invocation; may be a null pointer
- Return values
DDS_RETCODE_OK – if successful
DDS_RETCODE_BAD_PARAMETER – listener is a null pointer