Function rmw_dds_common::qos_profile_update_best_available_for_services

Function Documentation

rmw_qos_profile_t rmw_dds_common::qos_profile_update_best_available_for_services(const rmw_qos_profile_t &qos_profile)

Update best available QoS policies for services and clients.

Give QoS policies, return a new set of policies that have any BEST_AVAILABLE policies replaced with default policies for services.

See rmw_qos_profile_services_default for default policy values.

Parameters:

qos_profile[in] QoS profile to copy and update.

Returns:

A copy of the input QoS profile with any BEST_AVAILABLE policies overwritten with default service policies.