Namespaces | Macros | Functions
service.h File Reference
#include "sick_scan/sick_scan_base.h"
#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 <memory>
Include dependency graph for service.h:

Go to the source code of this file.

Namespaces

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

Macros

#define ROSCPP_SERVICE_H
 

Functions

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

Macro Definition Documentation

◆ ROSCPP_SERVICE_H

#define ROSCPP_SERVICE_H

Definition at line 30 of file service.h.



sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:14