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

Use to initialize the QoS with the keep_last history setting and the given depth. More...

#include <qos.hpp>

Inheritance diagram for rclcpp::KeepLast:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::KeepLast:
Collaboration graph
[legend]

Public Member Functions

 KeepLast (size_t depth)
 
- Public Member Functions inherited from 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). More...
 

Additional Inherited Members

- Static Public Member Functions inherited from rclcpp::QoSInitialization
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 inherited from rclcpp::QoSInitialization
rmw_qos_history_policy_t history_policy
 
size_t depth
 

Detailed Description

Use to initialize the QoS with the keep_last history setting and the given depth.

Constructor & Destructor Documentation

◆ KeepLast()

rclcpp::KeepLast::KeepLast ( size_t  depth)
explicit

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