Struct QoSInitialization

Inheritance Relationships

Derived Types

Struct Documentation

struct QoSInitialization

QoS initialization values, cannot be created directly, use KeepAll or KeepLast instead.

Subclassed by rclcpp::KeepAll, rclcpp::KeepLast

Public Functions

QoSInitialization(rmw_qos_history_policy_t history_policy_arg, size_t depth_arg, bool print_depth_warning = true)

Constructor which takes both a history policy and a depth (even if it would be unused).

Public Members

rmw_qos_history_policy_t history_policy
size_t depth

Public Static Functions

static QoSInitialization from_rmw(const rmw_qos_profile_t &rmw_qos)

Create a QoSInitialization from an existing rmw_qos_profile_t, using its history and depth.