nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rclcpp::SystemDefaultsQoS Class Reference

#include <qos.hpp>

Inheritance diagram for rclcpp::SystemDefaultsQoS:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::SystemDefaultsQoS:
Collaboration graph
[legend]

Public Member Functions

template<typename T = void>
 SystemDefaultsQoS ()
 
- 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_volatile ()
 Set durability to VOLATILE — late joiners get nothing (default).
 
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 ReliabilityPolicy reliability () const
 The reliability policy.
 
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

rclcpp::SystemDefaultsQoS — REFUSE-LOUD.

Every field of rmw_qos_profile_system_default is a sentinel meaning "let the RMW decide", and issue 0829 measured the two reference RMWs resolving the depth sentinel to different numbers (Cyclone 1, zenoh 42). rclcpp::QoS has no sentinel, deliberately — the backend is linked at build time, so there is nothing to defer to. Any concrete value here would be a different profile wearing this name, which is precisely what the old QoS(10) was.

Constructor & Destructor Documentation

◆ SystemDefaultsQoS()

template<typename T = void>
rclcpp::SystemDefaultsQoS::SystemDefaultsQoS ( )
inline

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