ROS 2 rclcpp + rcl - humble
humble
ROS 2 C++ Client Library with ROS Client Library
|
Structure containing optional configuration for Publishers. More...
#include <rclcpp/publisher_options.hpp>
Public Member Functions | |
PublisherOptionsWithAllocator (const PublisherOptionsBase &publisher_options_base) | |
Constructor using base class as input. | |
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. | |
std::shared_ptr< Allocator > | get_allocator () const |
Get the allocator, creating one if needed. | |
Public Attributes | |
std::shared_ptr< Allocator > | allocator = nullptr |
Optional custom allocator. | |
![]() | |
IntraProcessSetting | use_intra_process_comm = IntraProcessSetting::NodeDefault |
Setting to explicitly set intraprocess communications. | |
PublisherEventCallbacks | event_callbacks |
Callbacks for various events related to publishers. | |
bool | use_default_callbacks = true |
Whether or not to use default callbacks when user doesn't supply any in event_callbacks. | |
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. | |
std::shared_ptr< rclcpp::detail::RMWImplementationSpecificPublisherPayload > | rmw_implementation_payload = nullptr |
Optional RMW implementation specific payload to be used during creation of the publisher. | |
QosOverridingOptions | qos_overriding_options |
Structure containing optional configuration for Publishers.
Definition at line 66 of file publisher_options.hpp.