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
 
virtual ~ServiceServerImpl ()
 

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

◆ ServiceServerImpl()

swri::ServiceServerImpl::ServiceServerImpl ( )
inline

Definition at line 61 of file service_server_impl.h.

◆ ~ServiceServerImpl()

virtual swri::ServiceServerImpl::~ServiceServerImpl ( )
inlinevirtual

Definition at line 70 of file service_server_impl.h.

Member Function Documentation

◆ clientNames()

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

Definition at line 96 of file service_server_impl.h.

◆ clientStatistics()

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

Definition at line 108 of file service_server_impl.h.

◆ instrumentPerClient()

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

Definition at line 94 of file service_server_impl.h.

◆ logCalls()

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

Definition at line 125 of file service_server_impl.h.

◆ mappedService()

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

Definition at line 82 of file service_server_impl.h.

◆ processServing()

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.

◆ resetStatistics()

void swri::ServiceServerImpl::resetStatistics ( )
inline

Definition at line 75 of file service_server_impl.h.

◆ setInstrumentPerClient()

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

Definition at line 86 of file service_server_impl.h.

◆ setLogCalls()

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

Definition at line 120 of file service_server_impl.h.

◆ totalStats()

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

Definition at line 84 of file service_server_impl.h.

◆ unmappedService()

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

Definition at line 81 of file service_server_impl.h.

Member Data Documentation

◆ client_stats_

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

Definition at line 46 of file service_server_impl.h.

◆ instrument_per_client_

bool swri::ServiceServerImpl::instrument_per_client_
protected

Definition at line 45 of file service_server_impl.h.

◆ log_calls_

bool swri::ServiceServerImpl::log_calls_
protected

Definition at line 48 of file service_server_impl.h.

◆ mapped_service_

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

Definition at line 42 of file service_server_impl.h.

◆ server_

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

Definition at line 40 of file service_server_impl.h.

◆ total_stats_

ServiceServerStatistics swri::ServiceServerImpl::total_stats_
protected

Definition at line 44 of file service_server_impl.h.

◆ unmapped_service_

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): P. J. Reed
autogenerated on Fri Aug 2 2024 08:39:15