Function dds_qset_history

Function Documentation

void dds_qset_history(dds_qos_t *qos, dds_history_kind_t kind, int32_t depth)

Set the history policy of a qos structure.

Note that depth is only relevant for keep last. If you want limited history for keep all, use dds_qset_resource_limits().

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

  • kind[in] - History kind value DCPS_QoS_History

  • depth[in] - History depth value DCPS_QoS_History