Template Function rclcpp::detail::declare_qos_parameters

Function Documentation

template<typename NodeT, typename EntityQosParametersTraits>
rclcpp::QoS rclcpp::detail::declare_qos_parameters(const ::rclcpp::QosOverridingOptions &options, NodeT &node, const std::string &topic_name, const ::rclcpp::QoS &default_qos, EntityQosParametersTraits)
Template Parameters:
Parameters:
  • options – User provided options that indicate if QoS parameter overrides should be declared or not, which policy can have overrides, and optionally a callback to validate the profile.

  • node – Parameters will be declared using this node.

  • topic_name – Name of the topic of the entity.

  • default_qos – User provided qos. It will be used as a default for the parameters declared.

Returns:

qos profile based on the user provided parameter overrides.