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, rclcpp::node_interfaces::NodeTimersInterface *node_timers)
 
 ~NodeTopics () override
 
rclcpp::PublisherBase::SharedPtr create_publisher (const std::string &topic_name, const rclcpp::PublisherFactory &publisher_factory, const rclcpp::QoS &qos) override
 
void add_publisher (rclcpp::PublisherBase::SharedPtr publisher, rclcpp::CallbackGroup::SharedPtr callback_group) override
 
rclcpp::SubscriptionBase::SharedPtr create_subscription (const std::string &topic_name, const rclcpp::SubscriptionFactory &subscription_factory, const rclcpp::QoS &qos) override
 
void add_subscription (rclcpp::SubscriptionBase::SharedPtr subscription, rclcpp::CallbackGroup::SharedPtr callback_group) override
 
rclcpp::node_interfaces::NodeBaseInterfaceget_node_base_interface () const override
 
rclcpp::node_interfaces::NodeTimersInterfaceget_node_timers_interface () const override
 
std::string resolve_topic_name (const std::string &name, bool only_expand=false) const override
 Get a remapped and expanded topic name given an input name. More...
 
- 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,
rclcpp::node_interfaces::NodeTimersInterface node_timers 
)

◆ ~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 rclcpp::QoS qos 
)
overridevirtual

◆ add_publisher()

void rclcpp::node_interfaces::NodeTopics::add_publisher ( rclcpp::PublisherBase::SharedPtr  publisher,
rclcpp::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 rclcpp::QoS qos 
)
overridevirtual

◆ add_subscription()

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

◆ get_node_base_interface()

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

◆ get_node_timers_interface()

rclcpp::node_interfaces::NodeTimersInterface* rclcpp::node_interfaces::NodeTopics::get_node_timers_interface ( ) const
overridevirtual

◆ resolve_topic_name()

std::string rclcpp::node_interfaces::NodeTopics::resolve_topic_name ( const std::string name,
bool  only_expand = false 
) const
overridevirtual

Get a remapped and expanded topic name given an input name.

Implements rclcpp::node_interfaces::NodeTopicsInterface.


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