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... | |
bool | use_default_callbacks = true |
Whether or not to use default callbacks when user doesn't supply any in event_callbacks. More... | |
rmw_unique_network_flow_endpoints_requirement_t | require_unique_network_flow_endpoints |
std::shared_ptr< rclcpp::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... | |
QosOverridingOptions | qos_overriding_options |
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.