rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::node_interfaces::NodeTopicsInterface Class Referenceabstract

Pure virtual interface class for the NodeTopics part of the Node API. More...

#include <node_topics_interface.hpp>

Inheritance diagram for rclcpp::node_interfaces::NodeTopicsInterface:
rclcpp::node_interfaces::NodeTopics

Public Member Functions

virtual rclcpp::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::PublisherBase::SharedPtr publisher)=0
 
virtual rclcpp::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
 
virtual void add_subscription (rclcpp::SubscriptionBase::SharedPtr subscription, rclcpp::callback_group::CallbackGroup::SharedPtr callback_group)=0
 

Detailed Description

Pure virtual interface class for the NodeTopics part of the Node API.

Member Function Documentation

◆ create_publisher()

virtual rclcpp::PublisherBase::SharedPtr rclcpp::node_interfaces::NodeTopicsInterface::create_publisher ( const std::string topic_name,
const rclcpp::PublisherFactory publisher_factory,
rcl_publisher_options_t publisher_options,
bool  use_intra_process 
)
pure virtual

◆ add_publisher()

virtual void rclcpp::node_interfaces::NodeTopicsInterface::add_publisher ( rclcpp::PublisherBase::SharedPtr  publisher)
pure virtual

◆ create_subscription()

virtual rclcpp::SubscriptionBase::SharedPtr rclcpp::node_interfaces::NodeTopicsInterface::create_subscription ( const std::string topic_name,
const rclcpp::SubscriptionFactory subscription_factory,
rcl_subscription_options_t subscription_options,
bool  use_intra_process 
)
pure virtual

◆ add_subscription()

virtual void rclcpp::node_interfaces::NodeTopicsInterface::add_subscription ( rclcpp::SubscriptionBase::SharedPtr  subscription,
rclcpp::callback_group::CallbackGroup::SharedPtr  callback_group 
)
pure virtual

The documentation for this class was generated from the following file: