15 #ifndef RCLCPP__NODE_INTERFACES__NODE_TOPICS_INTERFACE_HPP_ 16 #define RCLCPP__NODE_INTERFACES__NODE_TOPICS_INTERFACE_HPP_ 34 namespace node_interfaces
45 rclcpp::publisher::PublisherBase::SharedPtr
47 const std::string & topic_name,
50 bool use_intra_process) = 0;
56 rclcpp::publisher::PublisherBase::SharedPtr publisher) = 0;
60 rclcpp::subscription::SubscriptionBase::SharedPtr
62 const std::string & topic_name,
65 bool use_intra_process) = 0;
71 rclcpp::subscription::SubscriptionBase::SharedPtr subscription,
72 rclcpp::callback_group::CallbackGroup::SharedPtr callback_group) = 0;
78 #endif // RCLCPP__NODE_INTERFACES__NODE_TOPICS_INTERFACE_HPP_
#define RCLCPP_SMART_PTR_ALIASES_ONLY(...)
Definition: macros.hpp:66
Definition: allocator_common.hpp:24
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)=0
Factory with functions used to create a MessageT specific PublisherT.
Definition: publisher_factory.hpp:45
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)=0
virtual void add_publisher(rclcpp::publisher::PublisherBase::SharedPtr publisher)=0
virtual void add_subscription(rclcpp::subscription::SubscriptionBase::SharedPtr subscription, rclcpp::callback_group::CallbackGroup::SharedPtr callback_group)=0
Factory with functions used to create a Subscription<MessageT>.
Definition: subscription_factory.hpp:46
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Pure virtual interface class for the NodeTopics part of the Node API.
Definition: node_topics_interface.hpp:38