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

#include <qos.hpp>

Inheritance diagram for rclcpp::RosoutQoS:
Collaboration diagram for rclcpp::RosoutQoS:

Public Member Functions

constexpr RosoutQoS ()
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

rcl_qos_profile_rosout_default — KEEP_LAST(1000), RELIABLE, TRANSIENT_LOCAL, lifespan 10 s. ADOPT.

ADOPT-BOUNDED on one point, and it is about the TOPIC, not the profile: the profile's four policies are transcribed exactly, but nano-ros publishes no /rosout topic (logging goes to nros_log's per-platform sink), so this names a profile you can apply to a topic of your own rather than one the runtime is already using.

Constructor & Destructor Documentation

◆ RosoutQoS()

rclcpp::RosoutQoS::RosoutQoS ( )
inlineconstexpr

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