rclcpp  master
C++ ROS Client Library API
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
rclcpp::QoSInitialization Struct Reference

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

#include <qos.hpp>

Inheritance diagram for rclcpp::QoSInitialization:
Inheritance graph
[legend]

Public Member Functions

 QoSInitialization (rmw_qos_history_policy_t history_policy_arg, size_t depth_arg)
 Constructor which takes both a history policy and a depth (even if it would be unused). More...
 

Static Public Member 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. More...
 

Public Attributes

rmw_qos_history_policy_t history_policy
 
size_t depth
 

Detailed Description

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

Constructor & Destructor Documentation

◆ QoSInitialization()

rclcpp::QoSInitialization::QoSInitialization ( rmw_qos_history_policy_t  history_policy_arg,
size_t  depth_arg 
)

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

Member Function Documentation

◆ from_rmw()

static QoSInitialization rclcpp::QoSInitialization::from_rmw ( const rmw_qos_profile_t rmw_qos)
static

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

Member Data Documentation

◆ history_policy

rmw_qos_history_policy_t rclcpp::QoSInitialization::history_policy

◆ depth

size_t rclcpp::QoSInitialization::depth

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