Template Function rclcpp::detail::declare_qos_parameters
Defined in File qos_parameters.hpp
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:
NodeT – Node pointer or reference type.
EntityQosParametersTraits – A class with two static methods:
entity_type()
andallowed_policies()
. SeePublisherQosParametersTraits
andSubscriptionQosParametersTraits
.
- 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.