Function dds_qset_lifespan

Function Documentation

void dds_qset_lifespan(dds_qos_t *qos, dds_duration_t lifespan)

Set the lifespan policy of a qos structure.

Parameters
  • qos[inout] - Pointer to a dds_qos_t structure that will store the policy

  • lifespan[in] - Lifespan duration (expiration time relative to source timestamp of a sample)