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

Implementation of the NodeTopics part of the Node API. More...

#include <node_topics.hpp>

Inheritance diagram for rclcpp::node_interfaces::NodeTopics:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::node_interfaces::NodeTopics:
Collaboration graph
[legend]

Public Member Functions

 NodeTopics (rclcpp::node_interfaces::NodeBaseInterface *node_base)
 
 ~NodeTopics () override
 
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) override
 
void add_publisher (rclcpp::PublisherBase::SharedPtr publisher, rclcpp::callback_group::CallbackGroup::SharedPtr callback_group) override
 
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) override
 
void add_subscription (rclcpp::SubscriptionBase::SharedPtr subscription, rclcpp::callback_group::CallbackGroup::SharedPtr callback_group) override
 
rclcpp::node_interfaces::NodeBaseInterfaceget_node_base_interface () const override
 
- Public Member Functions inherited from rclcpp::node_interfaces::NodeTopicsInterface
virtual ~NodeTopicsInterface ()=default
 

Detailed Description

Implementation of the NodeTopics part of the Node API.

Constructor & Destructor Documentation

◆ NodeTopics()

rclcpp::node_interfaces::NodeTopics::NodeTopics ( rclcpp::node_interfaces::NodeBaseInterface node_base)
explicit

◆ ~NodeTopics()

rclcpp::node_interfaces::NodeTopics::~NodeTopics ( )
override

Member Function Documentation

◆ create_publisher()

rclcpp::PublisherBase::SharedPtr rclcpp::node_interfaces::NodeTopics::create_publisher ( const std::string topic_name,
const rclcpp::PublisherFactory publisher_factory,
const rcl_publisher_options_t publisher_options,
bool  use_intra_process 
)
overridevirtual

◆ add_publisher()

void rclcpp::node_interfaces::NodeTopics::add_publisher ( rclcpp::PublisherBase::SharedPtr  publisher,
rclcpp::callback_group::CallbackGroup::SharedPtr  callback_group 
)
overridevirtual

◆ create_subscription()

rclcpp::SubscriptionBase::SharedPtr rclcpp::node_interfaces::NodeTopics::create_subscription ( const std::string topic_name,
const rclcpp::SubscriptionFactory subscription_factory,
const rcl_subscription_options_t subscription_options,
bool  use_intra_process 
)
overridevirtual

◆ add_subscription()

void rclcpp::node_interfaces::NodeTopics::add_subscription ( rclcpp::SubscriptionBase::SharedPtr  subscription,
rclcpp::callback_group::CallbackGroup::SharedPtr  callback_group 
)
overridevirtual

◆ get_node_base_interface()

rclcpp::node_interfaces::NodeBaseInterface* rclcpp::node_interfaces::NodeTopics::get_node_base_interface ( ) const
overridevirtual

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