rclcpp
master
C++ ROS Client Library API
|
#include <memory>
#include <string>
#include "rclcpp/node_interfaces/get_node_topics_interface.hpp"
#include "rclcpp/node_interfaces/node_topics_interface.hpp"
#include "rclcpp/node_options.hpp"
#include "rclcpp/publisher_factory.hpp"
#include "rclcpp/publisher_options.hpp"
#include "rclcpp/qos.hpp"
#include "rmw/qos_profiles.h"
Go to the source code of this file.
Namespaces | |
rclcpp | |
This header provides the get_node_topics_interface() template function. | |
Functions | |
template<typename MessageT , typename AllocatorT = std::allocator<void>, typename PublisherT = ::rclcpp::Publisher<MessageT, AllocatorT>> | |
std::shared_ptr< PublisherT > | rclcpp::create_publisher (rclcpp::node_interfaces::NodeTopicsInterface *node_topics, const std::string &topic_name, const rmw_qos_profile_t &qos_profile, const PublisherEventCallbacks &event_callbacks, rclcpp::callback_group::CallbackGroup::SharedPtr group, bool use_intra_process_comms, std::shared_ptr< AllocatorT > allocator) |
template<typename MessageT , typename AllocatorT = std::allocator<void>, typename PublisherT = ::rclcpp::Publisher<MessageT, AllocatorT>, typename NodeT > | |
std::shared_ptr< PublisherT > | rclcpp::create_publisher (NodeT &node, const std::string &topic_name, const rclcpp::QoS &qos, const rclcpp::PublisherOptionsWithAllocator< AllocatorT > &options=(rclcpp::PublisherOptionsWithAllocator< AllocatorT >())) |
Create and return a publisher of the given MessageT type. More... | |