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

virtual rclcpp::node_interfaces::NodeTopics::~NodeTopics ( )
virtual

Member Function Documentation

◆ create_publisher()

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

◆ add_publisher()

virtual void rclcpp::node_interfaces::NodeTopics::add_publisher ( rclcpp::PublisherBase::SharedPtr  publisher)
virtual

◆ create_subscription()

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

◆ add_subscription()

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

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