rclcpp
master
C++ ROS Client Library API
|
Go to the documentation of this file.
15 #ifndef RCLCPP__NODE_INTERFACES__NODE_TOPICS_HPP_
16 #define RCLCPP__NODE_INTERFACES__NODE_TOPICS_HPP_
20 #include "rcl/publisher.h"
21 #include "rcl/subscription.h"
33 namespace node_interfaces
51 rclcpp::PublisherBase::SharedPtr
60 rclcpp::PublisherBase::SharedPtr publisher,
61 rclcpp::CallbackGroup::SharedPtr callback_group)
override;
64 rclcpp::SubscriptionBase::SharedPtr
73 rclcpp::SubscriptionBase::SharedPtr subscription,
74 rclcpp::CallbackGroup::SharedPtr callback_group)
override;
94 #endif // RCLCPP__NODE_INTERFACES__NODE_TOPICS_HPP_
NodeTopics(rclcpp::node_interfaces::NodeBaseInterface *node_base, rclcpp::node_interfaces::NodeTimersInterface *node_timers)
#define RCLCPP_DISABLE_COPY(...)
Definition: macros.hpp:26
Factory with functions used to create a MessageT specific PublisherT.
Definition: publisher_factory.hpp:50
#define RCLCPP_SMART_PTR_ALIASES_ONLY(...)
Definition: macros.hpp:66
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Pure virtual interface class for the NodeBase part of the Node API.
Definition: node_base_interface.hpp:36
Encapsulation of Quality of Service settings.
Definition: qos.hpp:59
Pure virtual interface class for the NodeTimers part of the Node API.
Definition: node_timers_interface.hpp:29
rclcpp::PublisherBase::SharedPtr create_publisher(const std::string &topic_name, const rclcpp::PublisherFactory &publisher_factory, const rclcpp::QoS &qos) override
Implementation of the NodeTopics part of the Node API.
Definition: node_topics.hpp:37
Pure virtual interface class for the NodeTopics part of the Node API.
Definition: node_topics_interface.hpp:41
void add_publisher(rclcpp::PublisherBase::SharedPtr publisher, rclcpp::CallbackGroup::SharedPtr callback_group) override
rclcpp::node_interfaces::NodeBaseInterface * get_node_base_interface() const override
Factory containing a function used to create a Subscription<MessageT>.
Definition: subscription_factory.hpp:54
rclcpp::node_interfaces::NodeTimersInterface * get_node_timers_interface() const override
void add_subscription(rclcpp::SubscriptionBase::SharedPtr subscription, rclcpp::CallbackGroup::SharedPtr callback_group) override
rclcpp::SubscriptionBase::SharedPtr create_subscription(const std::string &topic_name, const rclcpp::SubscriptionFactory &subscription_factory, const rclcpp::QoS &qos) override