rclcpp
master
C++ ROS Client Library API
|
Structure containing optional configuration for Publishers. More...
#include <publisher_options.hpp>
Public Member Functions | |
PublisherOptionsWithAllocator () | |
PublisherOptionsWithAllocator (const PublisherOptionsBase &publisher_options_base) | |
Constructor using base class as input. More... | |
template<typename MessageT > | |
rcl_publisher_options_t | to_rcl_publisher_options (const rclcpp::QoS &qos) const |
Convert this class, and a rclcpp::QoS, into an rcl_publisher_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::PublisherOptionsBase | |
IntraProcessSetting | use_intra_process_comm = IntraProcessSetting::NodeDefault |
Setting to explicitly set intraprocess communications. More... | |
PublisherEventCallbacks | event_callbacks |
Callbacks for various events related to publishers. More... | |
std::shared_ptr< rclcpp::callback_group::CallbackGroup > | callback_group |
Callback group in which the waitable items from the publisher should be placed. More... | |
std::shared_ptr< rclcpp::detail::RMWImplementationSpecificPublisherPayload > | rmw_implementation_payload = nullptr |
Optional RMW implementation specific payload to be used during creation of the publisher. More... | |
Structure containing optional configuration for Publishers.
|
inline |
|
inlineexplicit |
Constructor using base class as input.
|
inline |
Convert this class, and a rclcpp::QoS, into an rcl_publisher_options_t.
|
inline |
Get the allocator, creating one if needed.
std::shared_ptr<Allocator> rclcpp::PublisherOptionsWithAllocator< Allocator >::allocator = nullptr |
Optional custom allocator.