#include <service_server_impl.h>
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 ServiceServerStatistics & | totalStats () 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_ |
Definition at line 37 of file service_server_impl.h.
swri::ServiceServerImpl::ServiceServerImpl | ( | ) | [inline] |
Definition at line 61 of file service_server_impl.h.
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 | ||
) | [inline, protected] |
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.
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.
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.