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

Pure virtual interface class for the NodeServices part of the Node API. More...

#include <node_services_interface.hpp>

Inheritance diagram for rclcpp::node_interfaces::NodeServicesInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~NodeServicesInterface ()=default
 
virtual void add_client (rclcpp::ClientBase::SharedPtr client_base_ptr, rclcpp::CallbackGroup::SharedPtr group)=0
 
virtual void add_service (rclcpp::ServiceBase::SharedPtr service_base_ptr, rclcpp::CallbackGroup::SharedPtr group)=0
 
virtual std::string resolve_service_name (const std::string &name, bool only_expand=false) const =0
 Get the remapped and expanded service name given a input name. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~NodeServicesInterface()

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

Member Function Documentation

◆ add_client()

virtual void rclcpp::node_interfaces::NodeServicesInterface::add_client ( rclcpp::ClientBase::SharedPtr  client_base_ptr,
rclcpp::CallbackGroup::SharedPtr  group 
)
pure virtual

◆ add_service()

virtual void rclcpp::node_interfaces::NodeServicesInterface::add_service ( rclcpp::ServiceBase::SharedPtr  service_base_ptr,
rclcpp::CallbackGroup::SharedPtr  group 
)
pure virtual

◆ resolve_service_name()

virtual std::string rclcpp::node_interfaces::NodeServicesInterface::resolve_service_name ( const std::string name,
bool  only_expand = false 
) const
pure virtual

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

Implemented in rclcpp::node_interfaces::NodeServices.


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