15 #ifndef RCLCPP__NODE_INTERFACES__NODE_TOPICS_INTERFACE_HPP_ 16 #define RCLCPP__NODE_INTERFACES__NODE_TOPICS_INTERFACE_HPP_ 34 namespace node_interfaces
49 rclcpp::PublisherBase::SharedPtr
54 bool use_intra_process) = 0;
60 rclcpp::PublisherBase::SharedPtr publisher,
61 rclcpp::callback_group::CallbackGroup::SharedPtr callback_group) = 0;
65 rclcpp::SubscriptionBase::SharedPtr
70 bool use_intra_process) = 0;
76 rclcpp::SubscriptionBase::SharedPtr subscription,
77 rclcpp::callback_group::CallbackGroup::SharedPtr callback_group) = 0;
88 #endif // RCLCPP__NODE_INTERFACES__NODE_TOPICS_INTERFACE_HPP_
virtual rclcpp::PublisherBase::SharedPtr create_publisher(const std::string &topic_name, const rclcpp::PublisherFactory &publisher_factory, const rcl_publisher_options_t &publisher_options, bool use_intra_process)=0
#define RCLCPP_SMART_PTR_ALIASES_ONLY(...)
Definition: macros.hpp:66
This header provides the get_node_topics_interface() template function.
Definition: allocator_common.hpp:24
virtual rclcpp::node_interfaces::NodeBaseInterface * get_node_base_interface() const =0
Factory with functions used to create a MessageT specific PublisherT.
Definition: publisher_factory.hpp:45
virtual rclcpp::SubscriptionBase::SharedPtr create_subscription(const std::string &topic_name, const rclcpp::SubscriptionFactory &subscription_factory, const rcl_subscription_options_t &subscription_options, bool use_intra_process)=0
virtual ~NodeTopicsInterface()=default
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:47
virtual void add_subscription(rclcpp::SubscriptionBase::SharedPtr subscription, rclcpp::callback_group::CallbackGroup::SharedPtr callback_group)=0
#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
virtual void add_publisher(rclcpp::PublisherBase::SharedPtr publisher, rclcpp::callback_group::CallbackGroup::SharedPtr callback_group)=0