15 #ifndef RCLCPP__NODE_INTERFACES__NODE_TOPICS_HPP_ 16 #define RCLCPP__NODE_INTERFACES__NODE_TOPICS_HPP_ 32 namespace node_interfaces
50 rclcpp::publisher::PublisherBase::SharedPtr
52 const std::string & topic_name,
55 bool use_intra_process);
61 rclcpp::publisher::PublisherBase::SharedPtr publisher);
65 rclcpp::subscription::SubscriptionBase::SharedPtr
67 const std::string & topic_name,
70 bool use_intra_process);
76 rclcpp::subscription::SubscriptionBase::SharedPtr subscription,
77 rclcpp::callback_group::CallbackGroup::SharedPtr callback_group);
88 #endif // RCLCPP__NODE_INTERFACES__NODE_TOPICS_HPP_ #define RCLCPP_DISABLE_COPY(...)
Definition: macros.hpp:26
#define RCLCPP_SMART_PTR_ALIASES_ONLY(...)
Definition: macros.hpp:66
virtual rclcpp::publisher::PublisherBase::SharedPtr create_publisher(const std::string &topic_name, const rclcpp::PublisherFactory &publisher_factory, rcl_publisher_options_t &publisher_options, bool use_intra_process)
Definition: allocator_common.hpp:24
Factory with functions used to create a MessageT specific PublisherT.
Definition: publisher_factory.hpp:45
virtual void add_publisher(rclcpp::publisher::PublisherBase::SharedPtr publisher)
NodeTopics(rclcpp::node_interfaces::NodeBaseInterface *node_base)
Pure virtual interface class for the NodeBase part of the Node API.
Definition: node_base_interface.hpp:36
Factory with functions used to create a Subscription<MessageT>.
Definition: subscription_factory.hpp:46
virtual void add_subscription(rclcpp::subscription::SubscriptionBase::SharedPtr subscription, rclcpp::callback_group::CallbackGroup::SharedPtr callback_group)
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
virtual rclcpp::subscription::SubscriptionBase::SharedPtr create_subscription(const std::string &topic_name, const rclcpp::SubscriptionFactory &subscription_factory, rcl_subscription_options_t &subscription_options, bool use_intra_process)
Pure virtual interface class for the NodeTopics part of the Node API.
Definition: node_topics_interface.hpp:38
Implementation of the NodeTopics part of the Node API.
Definition: node_topics.hpp:36