rclcpp
master
C++ ROS Client Library API
|
Structure containing optional configuration for Subscriptions. More...
#include <subscription_options.hpp>
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... | |
std::shared_ptr< Allocator > | get_allocator () const |
Get the allocator, creating one if needed. 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... | |
IntraProcessBufferType | intra_process_buffer_type = IntraProcessBufferType::CallbackDefault |
Setting the data-type stored in the intraprocess buffer. More... | |
std::shared_ptr< rclcpp::detail::RMWImplementationSpecificSubscriptionPayload > | rmw_implementation_payload = nullptr |
Optional RMW implementation specific payload to be used during creation of the subscription. More... | |
Structure containing optional configuration for Subscriptions.
|
inline |
|
inlineexplicit |
Constructor using base class as input.
|
inline |
Convert this class, with a rclcpp::QoS, into an rcl_subscription_options_t.
|
inline |
Get the allocator, creating one if needed.
std::shared_ptr<Allocator> rclcpp::SubscriptionOptionsWithAllocator< Allocator >::allocator = nullptr |
Optional custom allocator.