Public Types | Public Member Functions | Private Attributes | List of all members
swri::ServiceServer Class Reference

#include <service_server.h>

Public Types

enum  DIAGNOSTIC_FLAGS {
  DIAG_CONNECTION = 1 << 0, DIAG_SERVINGS = 1 << 1, DIAG_TIMING = 1 << 2, DIAG_CLIENTS = 1 << 3,
  DIAG_ALL = ~0, DIAG_MOST = DIAG_ALL ^ DIAG_CONNECTION
}
 

Public Member Functions

void appendDiagnostics (diagnostic_updater::DiagnosticStatusWrapper &status, const std::string &name, const int flags)
 
std::vector< std::string > clientNames () const
 
ServiceServerStatistics clientStatistics (const std::string &name) const
 
bool instrumentPerClient () const
 
bool logCalls () const
 
const std::string & mappedService () const
 
ServiceServeroperator= (const ServiceServer &other)
 
void resetStatistics ()
 
 ServiceServer ()
 
template<class MReq , class MRes , class T >
 ServiceServer (ros::NodeHandle &nh, const std::string &service, bool(T::*srv_func)(MReq &, MRes &), T *obj)
 
template<class MReq , class MRes , class T >
 ServiceServer (ros::NodeHandle &nh, const std::string &service, bool(T::*srv_func)(ros::ServiceEvent< MReq, MRes > &), T *obj)
 
template<class MReq , class MRes , class T >
 ServiceServer (ros::NodeHandle &nh, const std::string &service, bool(T::*srv_func)(const std::string &, const MReq &, MRes &), T *obj)
 
void setInstrumentPerClient (bool enable)
 
void setLogCalls (bool enable)
 
const ServiceServerStatisticsstatistics () const
 
const std::string & unmappedService () const
 

Private Attributes

boost::shared_ptr< ServiceServerImplimpl_
 

Detailed Description

Definition at line 39 of file service_server.h.

Member Enumeration Documentation

Enumerator
DIAG_CONNECTION 
DIAG_SERVINGS 
DIAG_TIMING 
DIAG_CLIENTS 
DIAG_ALL 
DIAG_MOST 

Definition at line 95 of file service_server.h.

Constructor & Destructor Documentation

swri::ServiceServer::ServiceServer ( )
inline

Definition at line 122 of file service_server.h.

template<class MReq , class MRes , class T >
swri::ServiceServer::ServiceServer ( ros::NodeHandle nh,
const std::string &  service,
bool(T::*)(MReq &, MRes &)  srv_func,
T *  obj 
)
inline

Definition at line 131 of file service_server.h.

template<class MReq , class MRes , class T >
swri::ServiceServer::ServiceServer ( ros::NodeHandle nh,
const std::string &  service,
bool(T::*)(ros::ServiceEvent< MReq, MRes > &)  srv_func,
T *  obj 
)
inline

Definition at line 143 of file service_server.h.

template<class MReq , class MRes , class T >
swri::ServiceServer::ServiceServer ( ros::NodeHandle nh,
const std::string &  service,
bool(T::*)(const std::string &, const MReq &, MRes &)  srv_func,
T *  obj 
)
inline

Definition at line 155 of file service_server.h.

Member Function Documentation

void swri::ServiceServer::appendDiagnostics ( diagnostic_updater::DiagnosticStatusWrapper status,
const std::string &  name,
const int  flags 
)
inline

Definition at line 238 of file service_server.h.

std::vector< std::string > swri::ServiceServer::clientNames ( ) const
inline

Definition at line 213 of file service_server.h.

ServiceServerStatistics swri::ServiceServer::clientStatistics ( const std::string &  name) const
inline

Definition at line 219 of file service_server.h.

bool swri::ServiceServer::instrumentPerClient ( ) const
inline

Definition at line 207 of file service_server.h.

bool swri::ServiceServer::logCalls ( ) const
inline

Definition at line 232 of file service_server.h.

const std::string & swri::ServiceServer::mappedService ( ) const
inline

Definition at line 189 of file service_server.h.

ServiceServer & swri::ServiceServer::operator= ( const ServiceServer other)
inline

Definition at line 166 of file service_server.h.

void swri::ServiceServer::resetStatistics ( )
inline

Definition at line 177 of file service_server.h.

void swri::ServiceServer::setInstrumentPerClient ( bool  enable)
inline

Definition at line 201 of file service_server.h.

void swri::ServiceServer::setLogCalls ( bool  enable)
inline

Definition at line 226 of file service_server.h.

const ServiceServerStatistics & swri::ServiceServer::statistics ( ) const
inline

Definition at line 195 of file service_server.h.

const std::string & swri::ServiceServer::unmappedService ( ) const
inline

Definition at line 183 of file service_server.h.

Member Data Documentation

boost::shared_ptr<ServiceServerImpl> swri::ServiceServer::impl_
private

Definition at line 42 of file service_server.h.


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


swri_roscpp
Author(s):
autogenerated on Fri Jun 7 2019 22:05:50