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

#include <qos.hpp>

Static Public Member Functions

static constexpr QoS best_available ()
static constexpr QoS clock ()
static constexpr QoS default_profile ()
static constexpr QoS parameter_events ()
static constexpr QoS parameters ()
 rmw_qos_profile_parameters — KEEP_LAST(1000), RELIABLE, VOLATILE.
static constexpr QoS rosout ()
static constexpr QoS sensor_data ()
 rmw_qos_profile_sensor_data — KEEP_LAST(5), BEST_EFFORT, VOLATILE.
static constexpr QoS services_default ()

Member Function Documentation

◆ best_available()

constexpr QoS rclcpp::detail::qos_table::best_available ( )
inlinestaticconstexpr

rmw_qos_profile_best_available (Iron+) — KEEP_LAST(10), and every policy that can be best-available set so: reliability, durability, liveliness, deadline, liveliness lease (issue 1973).

◆ clock()

constexpr QoS rclcpp::detail::qos_table::clock ( )
inlinestaticconstexpr

rclcpp::ClockQoS — KEEP_LAST(1), BEST_EFFORT, VOLATILE.

Upstream builds it from rmw_qos_profile_sensor_data with KeepLast(1) (rclcpp/qos.hpp:371-377), which is why the depth differs from sensor_data()'s 5 and the reliability does not.

◆ default_profile()

constexpr QoS rclcpp::detail::qos_table::default_profile ( )
inlinestaticconstexpr

rmw_qos_profile_default — KEEP_LAST(10), RELIABLE, VOLATILE.

Spelled by QoS's default constructor's member-init list, which IS this profile; naming it here would be the second copy this table removes.

◆ parameter_events()

constexpr QoS rclcpp::detail::qos_table::parameter_events ( )
inlinestaticconstexpr

rmw_qos_profile_parameter_events — KEEP_LAST(1000), RELIABLE, VOLATILE.

Same shape as parameters() upstream and still its own row: they are two upstream constants that happen to agree today, and collapsing them would make a future divergence invisible.

◆ parameters()

constexpr QoS rclcpp::detail::qos_table::parameters ( )
inlinestaticconstexpr

rmw_qos_profile_parameters — KEEP_LAST(1000), RELIABLE, VOLATILE.

◆ rosout()

constexpr QoS rclcpp::detail::qos_table::rosout ( )
inlinestaticconstexpr

rcl_qos_profile_rosout_default — KEEP_LAST(1000), RELIABLE, TRANSIENT_LOCAL, lifespan {10, 0}.

◆ sensor_data()

constexpr QoS rclcpp::detail::qos_table::sensor_data ( )
inlinestaticconstexpr

rmw_qos_profile_sensor_data — KEEP_LAST(5), BEST_EFFORT, VOLATILE.

◆ services_default()

constexpr QoS rclcpp::detail::qos_table::services_default ( )
inlinestaticconstexpr

rmw_qos_profile_services_default — KEEP_LAST(10), RELIABLE, VOLATILE.

The depth is stated rather than inherited from QoS(): upstream states it, and a row that leaves a field to a default cannot be compared to upstream's row field by field.


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