rclcpp  master
C++ ROS Client Library API
Public Member Functions | Public Attributes | List of all members
rclcpp::SubscriptionOptionsWithAllocator< Allocator > Struct Template Reference

Structure containing optional configuration for Subscriptions. More...

#include <subscription_options.hpp>

Inheritance diagram for rclcpp::SubscriptionOptionsWithAllocator< Allocator >:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::SubscriptionOptionsWithAllocator< Allocator >:
Collaboration graph
[legend]

Public Member Functions

 SubscriptionOptionsWithAllocator ()
 
 SubscriptionOptionsWithAllocator (const SubscriptionOptionsBase &subscription_options_base)
 Constructor using base class as input. More...
 
template<typename MessageT >
rcl_subscription_options_t to_rcl_subscription_options (const rclcpp::QoS &qos) const
 Convert this class, with a rclcpp::QoS, into an rcl_subscription_options_t. More...
 

Public Attributes

std::shared_ptr< Allocator > allocator = nullptr
 Optional custom allocator. More...
 
- Public Attributes inherited from rclcpp::SubscriptionOptionsBase
SubscriptionEventCallbacks event_callbacks
 Callbacks for events related to this subscription. More...
 
bool ignore_local_publications = false
 True to ignore local publications. More...
 
rclcpp::callback_group::CallbackGroup::SharedPtr callback_group = nullptr
 The callback group for this subscription. NULL to use the default callback group. More...
 
IntraProcessSetting use_intra_process_comm = IntraProcessSetting::NodeDefault
 Setting to explicitly set intraprocess communications. More...
 

Detailed Description

template<typename Allocator>
struct rclcpp::SubscriptionOptionsWithAllocator< Allocator >

Structure containing optional configuration for Subscriptions.

Constructor & Destructor Documentation

◆ SubscriptionOptionsWithAllocator() [1/2]

template<typename Allocator>
rclcpp::SubscriptionOptionsWithAllocator< Allocator >::SubscriptionOptionsWithAllocator ( )
inline

◆ SubscriptionOptionsWithAllocator() [2/2]

template<typename Allocator>
rclcpp::SubscriptionOptionsWithAllocator< Allocator >::SubscriptionOptionsWithAllocator ( const SubscriptionOptionsBase subscription_options_base)
inlineexplicit

Constructor using base class as input.

Member Function Documentation

◆ to_rcl_subscription_options()

template<typename Allocator>
template<typename MessageT >
rcl_subscription_options_t rclcpp::SubscriptionOptionsWithAllocator< Allocator >::to_rcl_subscription_options ( const rclcpp::QoS qos) const
inline

Convert this class, with a rclcpp::QoS, into an rcl_subscription_options_t.

Member Data Documentation

◆ allocator

template<typename Allocator>
std::shared_ptr<Allocator> rclcpp::SubscriptionOptionsWithAllocator< Allocator >::allocator = nullptr

Optional custom allocator.


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