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

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

#include <node_services.hpp>

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

Public Member Functions

 NodeServices (rclcpp::node_interfaces::NodeBaseInterface *node_base)
 
virtual ~NodeServices ()
 
void add_client (rclcpp::ClientBase::SharedPtr client_base_ptr, rclcpp::CallbackGroup::SharedPtr group) override
 
void add_service (rclcpp::ServiceBase::SharedPtr service_base_ptr, rclcpp::CallbackGroup::SharedPtr group) override
 
std::string resolve_service_name (const std::string &name, bool only_expand=false) const override
 Get the remapped and expanded service name given a input name. More...
 
- Public Member Functions inherited from rclcpp::node_interfaces::NodeServicesInterface
virtual ~NodeServicesInterface ()=default
 

Detailed Description

Implementation of the NodeServices part of the Node API.

Constructor & Destructor Documentation

◆ NodeServices()

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

◆ ~NodeServices()

virtual rclcpp::node_interfaces::NodeServices::~NodeServices ( )
virtual

Member Function Documentation

◆ add_client()

void rclcpp::node_interfaces::NodeServices::add_client ( rclcpp::ClientBase::SharedPtr  client_base_ptr,
rclcpp::CallbackGroup::SharedPtr  group 
)
overridevirtual

◆ add_service()

void rclcpp::node_interfaces::NodeServices::add_service ( rclcpp::ServiceBase::SharedPtr  service_base_ptr,
rclcpp::CallbackGroup::SharedPtr  group 
)
overridevirtual

◆ resolve_service_name()

std::string rclcpp::node_interfaces::NodeServices::resolve_service_name ( const std::string name,
bool  only_expand = false 
) const
overridevirtual

Get the remapped and expanded service name given a input name.

Implements rclcpp::node_interfaces::NodeServicesInterface.


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