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:
Inheritance graph
[legend]

Public Member Functions

virtual ~NodeTopicsInterface ()=default
 
virtual rclcpp::PublisherBase::SharedPtr create_publisher (const std::string &topic_name, const rclcpp::PublisherFactory &publisher_factory, const rclcpp::QoS &qos)=0
 
virtual void add_publisher (rclcpp::PublisherBase::SharedPtr publisher, rclcpp::CallbackGroup::SharedPtr callback_group)=0
 
virtual rclcpp::SubscriptionBase::SharedPtr create_subscription (const std::string &topic_name, const rclcpp::SubscriptionFactory &subscription_factory, const rclcpp::QoS &qos)=0
 
virtual void add_subscription (rclcpp::SubscriptionBase::SharedPtr subscription, rclcpp::CallbackGroup::SharedPtr callback_group)=0
 
virtual rclcpp::node_interfaces::NodeBaseInterfaceget_node_base_interface () const =0
 
virtual rclcpp::node_interfaces::NodeTimersInterfaceget_node_timers_interface () const =0
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~NodeTopicsInterface()

virtual rclcpp::node_interfaces::NodeTopicsInterface::~NodeTopicsInterface ( )
virtualdefault

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,
const rclcpp::QoS qos 
)
pure virtual

◆ add_publisher()

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

◆ create_subscription()

virtual rclcpp::SubscriptionBase::SharedPtr rclcpp::node_interfaces::NodeTopicsInterface::create_subscription ( const std::string topic_name,
const rclcpp::SubscriptionFactory subscription_factory,
const rclcpp::QoS qos 
)
pure virtual

◆ add_subscription()

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

◆ get_node_base_interface()

virtual rclcpp::node_interfaces::NodeBaseInterface* rclcpp::node_interfaces::NodeTopicsInterface::get_node_base_interface ( ) const
pure virtual

◆ get_node_timers_interface()

virtual rclcpp::node_interfaces::NodeTimersInterface* rclcpp::node_interfaces::NodeTopicsInterface::get_node_timers_interface ( ) const
pure virtual

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