Function dds_qget_reader_data_lifecycle

Function Documentation

bool dds_qget_reader_data_lifecycle(const dds_qos_t *qos, dds_duration_t *autopurge_nowriter_samples_delay, dds_duration_t *autopurge_disposed_samples_delay)

Get the reader data-lifecycle qos policy.

Parameters
  • qos[in] - Pointer to a dds_qos_t structure storing the policy

  • autopurge_nowriter_samples_delay[inout] - Pointer that will store the delay for auto-purging samples from instances in a no-writer state (optional)

  • autopurge_disposed_samples_delay[inout] - Pointer that will store the delay for auto-purging of disposed instances (optional)

Returns

- false iff any of the arguments is invalid or the qos is not present in the qos object