Public Member Functions | Protected Member Functions | Protected Attributes
swri::ServiceServerImpl Class Reference

#include <service_server_impl.h>

Inheritance diagram for swri::ServiceServerImpl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

std::vector< std::string > clientNames () const
ServiceServerStatistics clientStatistics (const std::string &name) const
bool instrumentPerClient () const
bool logCalls () const
const std::string & mappedService () const
void resetStatistics ()
 ServiceServerImpl ()
void setInstrumentPerClient (bool enable)
void setLogCalls (bool enable)
const ServiceServerStatisticstotalStats () const
const std::string & unmappedService () const

Protected Member Functions

void processServing (const std::string caller_name, bool success, const ros::WallDuration &runtime)

Protected Attributes

std::map< std::string,
ServiceServerStatistics
client_stats_
bool instrument_per_client_
bool log_calls_
std::string mapped_service_
ros::ServiceServer server_
ServiceServerStatistics total_stats_
std::string unmapped_service_

Detailed Description

Definition at line 37 of file service_server_impl.h.


Constructor & Destructor Documentation

Definition at line 61 of file service_server_impl.h.


Member Function Documentation

std::vector<std::string> swri::ServiceServerImpl::clientNames ( ) const [inline]

Definition at line 91 of file service_server_impl.h.

ServiceServerStatistics swri::ServiceServerImpl::clientStatistics ( const std::string &  name) const [inline]

Definition at line 103 of file service_server_impl.h.

Definition at line 89 of file service_server_impl.h.

bool swri::ServiceServerImpl::logCalls ( ) const [inline]

Definition at line 120 of file service_server_impl.h.

const std::string& swri::ServiceServerImpl::mappedService ( ) const [inline]

Definition at line 77 of file service_server_impl.h.

void swri::ServiceServerImpl::processServing ( const std::string  caller_name,
bool  success,
const ros::WallDuration runtime 
) [inline, protected]

Definition at line 50 of file service_server_impl.h.

Definition at line 70 of file service_server_impl.h.

void swri::ServiceServerImpl::setInstrumentPerClient ( bool  enable) [inline]

Definition at line 81 of file service_server_impl.h.

void swri::ServiceServerImpl::setLogCalls ( bool  enable) [inline]

Definition at line 115 of file service_server_impl.h.

Definition at line 79 of file service_server_impl.h.

const std::string& swri::ServiceServerImpl::unmappedService ( ) const [inline]

Definition at line 76 of file service_server_impl.h.


Member Data Documentation

Definition at line 46 of file service_server_impl.h.

Definition at line 45 of file service_server_impl.h.

Definition at line 48 of file service_server_impl.h.

Definition at line 42 of file service_server_impl.h.

Definition at line 40 of file service_server_impl.h.

Definition at line 44 of file service_server_impl.h.

Definition at line 41 of file service_server_impl.h.


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


swri_roscpp
Author(s):
autogenerated on Thu Jun 6 2019 20:34:48