Function dds_qget_lifespan

Function Documentation

bool dds_qget_lifespan(const dds_qos_t *qos, dds_duration_t *lifespan)

Get the lifespan policy from a qos structure.

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

  • lifespan[inout] - Pointer that will store lifespan duration

Returns

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