rclcpp  master
C++ ROS Client Library API
Namespaces | Functions
create_publisher.hpp File Reference
#include <memory>
#include <string>
#include "rclcpp/node_interfaces/node_topics_interface.hpp"
#include "rclcpp/publisher_factory.hpp"
#include "rmw/qos_profiles.h"
Include dependency graph for create_publisher.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 rclcpp
 

Functions

template<typename MessageT , typename AllocatorT , typename PublisherT >
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, bool use_intra_process_comms, std::shared_ptr< AllocatorT > allocator)