rclcpp
master
C++ ROS Client Library API
|
Go to the documentation of this file.
15 #ifndef RCLCPP__QOS_HPP_
16 #define RCLCPP__QOS_HPP_
39 Unknown = RMW_QOS_POLICY_HISTORY_UNKNOWN,
47 Unknown = RMW_QOS_POLICY_RELIABILITY_UNKNOWN,
55 Unknown = RMW_QOS_POLICY_DURABILITY_UNKNOWN,
63 Unknown = RMW_QOS_POLICY_LIVELINESS_UNKNOWN,
70 Error = RMW_QOS_COMPATIBILITY_ERROR,
141 QoS(
size_t history_depth);
145 get_rmw_qos_profile();
149 get_rmw_qos_profile()
const;
161 keep_last(
size_t depth);
196 durability_volatile();
228 liveliness_lease_duration(
rmw_time_t liveliness_lease_duration);
232 liveliness_lease_duration(
const rclcpp::Duration & liveliness_lease_duration);
236 avoid_ros_namespace_conventions(
bool avoid_ros_namespace_conventions);
268 liveliness_lease_duration()
const;
272 avoid_ros_namespace_conventions()
const;
493 #endif // RCLCPP__QOS_HPP_
RMW_QOS_POLICY_LIVELINESS_AUTOMATIC
LivelinessPolicy
Definition: qos.hpp:58
RMW_QOS_POLICY_HISTORY_KEEP_ALL
RMW_QOS_POLICY_RELIABILITY_SYSTEM_DEFAULT
RMW_QOS_POLICY_RELIABILITY_BEST_EFFORT
DurabilityPolicy
Definition: qos.hpp:50
HistoryPolicy
Definition: qos.hpp:34
Use to initialize the QoS with the keep_all history setting.
Definition: qos.hpp:89
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
enum RMW_PUBLIC_TYPE rmw_qos_liveliness_policy_t
size_t depth
Definition: qos.hpp:77
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Encapsulation of Quality of Service settings.
Definition: qos.hpp:110
RMW_QOS_COMPATIBILITY_WARNING
static QoSInitialization from_rmw(const rmw_qos_profile_t &rmw_qos)
Create a QoSInitialization from an existing rmw_qos_profile_t, using its history and depth.
enum RMW_PUBLIC_TYPE rmw_qos_history_policy_t
ReliabilityPolicy
Definition: qos.hpp:42
bool operator==(const NetworkFlowEndpoint &left, const NetworkFlowEndpoint &right)
Check if two NetworkFlowEndpoint instances are equal.
Result type for checking QoS compatibility.
Definition: qos.hpp:288
Definition: duration.hpp:26
RMW_QOS_POLICY_HISTORY_SYSTEM_DEFAULT
Use to initialize the QoS with the keep_last history setting and the given depth.
Definition: qos.hpp:95
enum RMW_PUBLIC_TYPE rmw_qos_policy_kind_t rmw_qos_policy_kind_t
enum RMW_PUBLIC_TYPE rmw_qos_durability_policy_t
QoSCompatibility
Definition: qos.hpp:66
std::string reason
Reason for a (possible) incompatibility.
Definition: qos.hpp:298
RMW_QOS_POLICY_LIVELINESS_SYSTEM_DEFAULT
RMW_QOS_POLICY_DURABILITY_SYSTEM_DEFAULT
QoS initialization values, cannot be created directly, use KeepAll or KeepLast instead.
Definition: qos.hpp:74
RMW_QOS_POLICY_RELIABILITY_RELIABLE
bool operator!=(const NetworkFlowEndpoint &left, const NetworkFlowEndpoint &right)
Check if two NetworkFlowEndpoint instances are not equal.
enum RMW_PUBLIC_TYPE rmw_qos_reliability_policy_t
QoSCompatibility compatibility
Compatibility result.
Definition: qos.hpp:291
RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_TOPIC
RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL
rmw_qos_history_policy_t history_policy
Definition: qos.hpp:76
RMW_QOS_POLICY_DURABILITY_VOLATILE
QoSCheckCompatibleResult qos_check_compatible(const QoS &publisher_qos, const QoS &subscription_qos)
Check if two QoS profiles are compatible.
std::string qos_policy_name_from_kind(rmw_qos_policy_kind_t policy_kind)
RMW_QOS_POLICY_HISTORY_KEEP_LAST