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

namespace  ros
namespace  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.
template<class Service >
bool ros::service::call (const std::string &service_name, Service &service)
 Invoke an RPC service.
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.
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.
ROSCPP_DECL bool ros::service::exists (const std::string &service_name, bool print_failure_reason)
 Checks if a service is both advertised and available.
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.
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.


roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com, Troy Straszheim straszheim@willowgarage.com
autogenerated on Sat Dec 28 2013 17:35:53