Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
swri::ServiceServerImpl Class Reference

#include <service_server_impl.h>

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

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, ServiceServerStatisticsclient_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

swri::ServiceServerImpl::ServiceServerImpl ( )
inline

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.

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

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 
)
inlineprotected

Definition at line 50 of file service_server_impl.h.

void swri::ServiceServerImpl::resetStatistics ( )
inline

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.

const ServiceServerStatistics& swri::ServiceServerImpl::totalStats ( ) const
inline

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

std::map<std::string, ServiceServerStatistics> swri::ServiceServerImpl::client_stats_
protected

Definition at line 46 of file service_server_impl.h.

bool swri::ServiceServerImpl::instrument_per_client_
protected

Definition at line 45 of file service_server_impl.h.

bool swri::ServiceServerImpl::log_calls_
protected

Definition at line 48 of file service_server_impl.h.

std::string swri::ServiceServerImpl::mapped_service_
protected

Definition at line 42 of file service_server_impl.h.

ros::ServiceServer swri::ServiceServerImpl::server_
protected

Definition at line 40 of file service_server_impl.h.

ServiceServerStatistics swri::ServiceServerImpl::total_stats_
protected

Definition at line 44 of file service_server_impl.h.

std::string swri::ServiceServerImpl::unmapped_service_
protected

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 Tue Apr 6 2021 02:50:35