Namespaces | Functions
service.h File Reference
#include <string>
#include "ros/common.h"
#include "ros/message.h"
#include "ros/forwards.h"
#include "ros/node_handle.h"
#include "ros/service_traits.h"
#include "ros/names.h"
#include <boost/shared_ptr.hpp>
Include dependency graph for service.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ros
 
 ros::service
 Contains functions for querying information about and calling a service.
 

Functions

template<class MReq , class MRes >
bool ros::service::call (const std::string &service_name, MReq &req, MRes &res)
 Invoke an RPC service. More...
 
template<class Service >
bool ros::service::call (const std::string &service_name, Service &service)
 Invoke an RPC service. More...
 
template<class MReq , class MRes >
ServiceClient ros::service::createClient (const std::string &service_name, bool persistent=false, const M_string &header_values=M_string())
 Create a client for a service. More...
 
template<class Service >
ServiceClient ros::service::createClient (const std::string &service_name, bool persistent=false, const M_string &header_values=M_string())
 Create a client for a service. More...
 
ROSCPP_DECL bool ros::service::exists (const std::string &service_name, bool print_failure_reason)
 Checks if a service is both advertised and available. More...
 
ROSCPP_DECL bool ros::service::waitForService (const std::string &service_name, int32_t timeout)
 Wait for a service to be advertised and available. Blocks until it is. More...
 
ROSCPP_DECL bool ros::service::waitForService (const std::string &service_name, ros::Duration timeout=ros::Duration(-1))
 Wait for a service to be advertised and available. Blocks until it is. More...
 


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:36