rclcpp
master
C++ ROS Client Library API
|
#include <service.hpp>
Public Member Functions | |
ServiceBase (std::shared_ptr< rcl_node_t > node_handle) | |
virtual | ~ServiceBase () |
const char * | get_service_name () |
std::shared_ptr< rcl_service_t > | get_service_handle () |
std::shared_ptr< const rcl_service_t > | get_service_handle () const |
virtual std::shared_ptr< void > | create_request ()=0 |
virtual std::shared_ptr< rmw_request_id_t > | create_request_header ()=0 |
virtual void | handle_request (std::shared_ptr< rmw_request_id_t > request_header, std::shared_ptr< void > request)=0 |
Protected Member Functions | |
rcl_node_t * | get_rcl_node_handle () |
const rcl_node_t * | get_rcl_node_handle () const |
Protected Attributes | |
std::shared_ptr< rcl_node_t > | node_handle_ |
std::shared_ptr< rcl_service_t > | service_handle_ |
bool | owns_rcl_handle_ = true |
|
explicit |
|
virtual |
const char* rclcpp::ServiceBase::get_service_name | ( | ) |
std::shared_ptr<rcl_service_t> rclcpp::ServiceBase::get_service_handle | ( | ) |
std::shared_ptr<const rcl_service_t> rclcpp::ServiceBase::get_service_handle | ( | ) | const |
|
pure virtual |
Implemented in rclcpp::Service< ServiceT >, rclcpp::Service< rcl_interfaces::srv::DescribeParameters >, rclcpp::Service< rcl_interfaces::srv::GetParameterTypes >, rclcpp::Service< rcl_interfaces::srv::ListParameters >, rclcpp::Service< rcl_interfaces::srv::SetParameters >, rclcpp::Service< rcl_interfaces::srv::SetParametersAtomically >, and rclcpp::Service< rcl_interfaces::srv::GetParameters >.
|
pure virtual |
Implemented in rclcpp::Service< ServiceT >, rclcpp::Service< rcl_interfaces::srv::DescribeParameters >, rclcpp::Service< rcl_interfaces::srv::GetParameterTypes >, rclcpp::Service< rcl_interfaces::srv::ListParameters >, rclcpp::Service< rcl_interfaces::srv::SetParameters >, rclcpp::Service< rcl_interfaces::srv::SetParametersAtomically >, and rclcpp::Service< rcl_interfaces::srv::GetParameters >.
|
pure virtual |
Implemented in rclcpp::Service< ServiceT >, rclcpp::Service< rcl_interfaces::srv::DescribeParameters >, rclcpp::Service< rcl_interfaces::srv::GetParameterTypes >, rclcpp::Service< rcl_interfaces::srv::ListParameters >, rclcpp::Service< rcl_interfaces::srv::SetParameters >, rclcpp::Service< rcl_interfaces::srv::SetParametersAtomically >, and rclcpp::Service< rcl_interfaces::srv::GetParameters >.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |