nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
qos.hpp File Reference

rclcpp::QoS — full DDS-shaped QoS settings (Phase 108.B.7). More...

#include <stdint.h>
#include "rclcpp/duration.hpp"
#include "rclc/visibility_control.h"
#include "rclcpp/logging.hpp"
Include dependency graph for qos.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rclcpp::ClockQoS
 rclcpp::ClockQoS — KEEP_LAST(1), BEST_EFFORT, VOLATILE. ADOPT. More...
 
class  rclcpp::detail::is_qos_arg< F >
 
struct  nros_cpp_qos_t
 
class  rclcpp::ParameterEventsQoS
 
class  rclcpp::ParametersQoS
 
class  rclcpp::QoS
 
struct  rclcpp::detail::qos_arg_strip< F >
 
struct  rclcpp::detail::qos_arg_strip< const F & >
 
struct  rclcpp::detail::qos_arg_strip< const F >
 
struct  rclcpp::detail::qos_arg_strip< F & >
 
class  rclcpp::RosoutQoS
 
class  rclcpp::SensorDataQoS
 rmw_qos_profile_sensor_data — KEEP_LAST(5), BEST_EFFORT, VOLATILE. ADOPT. More...
 
class  rclcpp::ServicesQoS
 
class  rclcpp::SystemDefaultsQoS
 

Namespaces

namespace  rclcpp
 
namespace  rclcpp::detail
 

Enumerations

enum class  rclcpp::DurabilityPolicy : int { rclcpp::Volatile = 0 , rclcpp::TransientLocal = 1 , rclcpp::SystemDefault = 2 , rclcpp::Unknown = 3 }
 Durability policy. Matches DDS DURABILITY_QOS_POLICY. More...
 
enum class  rclcpp::HistoryPolicy : int { rclcpp::KeepLast = 0 , rclcpp::KeepAll = 1 , rclcpp::SystemDefault = 2 , rclcpp::Unknown = 3 }
 History policy. Matches DDS HISTORY_QOS_POLICY. More...
 
enum class  rclcpp::LivelinessPolicy : int {
  rclcpp::SystemDefault = 0 , rclcpp::Automatic = 1 , rclcpp::ManualByTopic = 2 , rclcpp::ManualByNode = 3 ,
  rclcpp::Unknown = 4
}
 
enum  nros_cpp_qos_durability_t { NROS_CPP_QOS_VOLATILE = 0 , NROS_CPP_QOS_TRANSIENT_LOCAL = 1 , NROS_CPP_QOS_DURABILITY_SYSTEM_DEFAULT = 2 , NROS_CPP_QOS_DURABILITY_UNKNOWN = 3 }
 
enum  nros_cpp_qos_history_t { NROS_CPP_QOS_KEEP_LAST = 0 , NROS_CPP_QOS_KEEP_ALL = 1 , NROS_CPP_QOS_HISTORY_SYSTEM_DEFAULT = 2 , NROS_CPP_QOS_HISTORY_UNKNOWN = 3 }
 
enum  nros_cpp_qos_liveliness_t {
  NROS_CPP_QOS_LIVELINESS_NONE = 0 , NROS_CPP_QOS_LIVELINESS_AUTOMATIC = 1 , NROS_CPP_QOS_LIVELINESS_MANUAL_BY_TOPIC = 2 , NROS_CPP_QOS_LIVELINESS_MANUAL_BY_NODE = 3 ,
  NROS_CPP_QOS_LIVELINESS_UNKNOWN = 4
}
 
enum  nros_cpp_qos_reliability_t { NROS_CPP_QOS_RELIABLE = 0 , NROS_CPP_QOS_BEST_EFFORT = 1 , NROS_CPP_QOS_RELIABILITY_SYSTEM_DEFAULT = 2 , NROS_CPP_QOS_RELIABILITY_UNKNOWN = 3 }
 
enum class  rclcpp::ReliabilityPolicy : int { rclcpp::Reliable = 0 , rclcpp::BestEffort = 1 , rclcpp::SystemDefault = 2 , rclcpp::Unknown = 3 }
 

Functions

constexpr QoS rclcpp::KeepAll ()
 rclcpp::KeepAll(). Same ADOPT-BOUNDED note as KeepLast.
 
constexpr QoS rclcpp::KeepLast (::size_t depth)
 
constexpr bool rclcpp::operator!= (const QoS &left, const QoS &right)
 
constexpr bool rclcpp::operator== (const QoS &left, const QoS &right)
 
constexpr QoS rclcpp::detail::qos_from_ffi (const nros_cpp_qos_t &f)
 
const char * rclcpp::qos_policy_kind_to_cstr (uint32_t policy)
 
constexpr Duration rclcpp::detail::qos_window_duration (uint32_t ms)
 
constexpr uint32_t rclcpp::detail::qos_window_ms (const Duration &d)
 
const char * rclcpp::rclc_qos_policy_kind_to_cstr (uint32_t policy)
 

Detailed Description

rclcpp::QoS — full DDS-shaped QoS settings (Phase 108.B.7).

Enumeration Type Documentation

◆ nros_cpp_qos_durability_t

Enumerator
NROS_CPP_QOS_VOLATILE 
NROS_CPP_QOS_TRANSIENT_LOCAL 
NROS_CPP_QOS_DURABILITY_SYSTEM_DEFAULT 
NROS_CPP_QOS_DURABILITY_UNKNOWN 

◆ nros_cpp_qos_history_t

Enumerator
NROS_CPP_QOS_KEEP_LAST 
NROS_CPP_QOS_KEEP_ALL 
NROS_CPP_QOS_HISTORY_SYSTEM_DEFAULT 
NROS_CPP_QOS_HISTORY_UNKNOWN 

◆ nros_cpp_qos_liveliness_t

Enumerator
NROS_CPP_QOS_LIVELINESS_NONE 
NROS_CPP_QOS_LIVELINESS_AUTOMATIC 
NROS_CPP_QOS_LIVELINESS_MANUAL_BY_TOPIC 
NROS_CPP_QOS_LIVELINESS_MANUAL_BY_NODE 
NROS_CPP_QOS_LIVELINESS_UNKNOWN 

◆ nros_cpp_qos_reliability_t

Enumerator
NROS_CPP_QOS_RELIABLE 
NROS_CPP_QOS_BEST_EFFORT 
NROS_CPP_QOS_RELIABILITY_SYSTEM_DEFAULT 
NROS_CPP_QOS_RELIABILITY_UNKNOWN