nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
Loading...
Searching...
No Matches
rclcpp::ServicesQoS Class Reference

#include <qos.hpp>

Inheritance diagram for rclcpp::ServicesQoS:
Collaboration diagram for rclcpp::ServicesQoS:

Public Member Functions

constexpr ServicesQoS ()
Public Member Functions inherited from rclcpp::QoS
constexpr bool avoid_ros_namespace_conventions () const
 Whether to skip the /rt/ ROS topic-name prefix.
constexpr QoS & avoid_ros_namespace_conventions (bool on)
constexpr QoS & best_effort ()
 Set reliability to BEST_EFFORT (fire-and-forget; default for sensors).
constexpr Duration deadline () const
 The deadline window. Duration() (zero) = infinite.
constexpr QoS & deadline (const Duration &d)
constexpr int depth () const
 Configured queue depth (only meaningful for KEEP_LAST).
constexpr DurabilityPolicy durability () const
 The durability policy.
constexpr QoS & durability_best_available ()
constexpr QoS & durability_volatile ()
 Set durability to VOLATILE — late joiners get nothing (default).
constexpr ::rmw_qos_profile_s get_rmw_qos_profile () const
constexpr HistoryPolicy history () const
 The history policy.
constexpr QoS & keep_all ()
 Use KEEP_ALL history (bounded by transport).
constexpr QoS & keep_last (int depth)
constexpr Duration lifespan () const
 The lifespan window. Duration() (zero) = infinite.
constexpr QoS & lifespan (const Duration &d)
constexpr LivelinessPolicy liveliness () const
 The liveliness policy kind.
constexpr QoS & liveliness (LivelinessPolicy kind)
constexpr Duration liveliness_lease_duration () const
 The liveliness lease window. Duration() (zero) = infinite.
constexpr QoS & liveliness_lease_duration (const Duration &d)
constexpr QoS ()
constexpr QoS (::size_t depth)
constexpr QoS (const QoSInitialization &init)
constexpr QoS (const QoSInitialization &init, const ::rmw_qos_profile_s &profile)
constexpr ReliabilityPolicy reliability () const
 The reliability policy.
constexpr QoS & reliability_best_available ()
constexpr QoS & reliable ()
 Set reliability to RELIABLE (acked transport, retransmits on loss).
constexpr QoS & transient_local ()
 Set durability to TRANSIENT_LOCAL — late joiners get the last value.
constexpr bool tx_express () const
 Whether this publisher's samples bypass transport tx batching.
constexpr QoS & tx_express (bool on)

Additional Inherited Members

Static Public Member Functions inherited from rclcpp::QoS
static constexpr QoS default_profile ()
 Default profile: RELIABLE + VOLATILE + KEEP_LAST(10).
static constexpr QoS sensor_data ()
 Sensor-data profile: BEST_EFFORT + VOLATILE + KEEP_LAST(5).
static constexpr QoS services ()
 Services profile: RELIABLE + VOLATILE + KEEP_LAST(10).

Detailed Description

rmw_qos_profile_services_default — KEEP_LAST(10), RELIABLE, VOLATILE. ADOPT. (Verified rather than assumed: this one was already right, but it was right by way of QoS(10), which states the depth and leaves the reliability to the default. The table row states both.)

Constructor & Destructor Documentation

◆ ServicesQoS()

rclcpp::ServicesQoS::ServicesQoS ( )
inlineconstexpr

The documentation for this class was generated from the following file: