#include <service_server_impl.h>
Public Member Functions | |
TypedServiceServerImpl () | |
TypedServiceServerImpl (ros::NodeHandle &nh, const std::string &service, bool(T::*srv_func)(const std::string &, const MReq &, MRes &), T *obj) | |
TypedServiceServerImpl (ros::NodeHandle &nh, const std::string &service, bool(T::*srv_func)(MReq &, MRes &), T *obj) | |
TypedServiceServerImpl (ros::NodeHandle &nh, const std::string &service, bool(T::*srv_func)(ros::ServiceEvent< MReq, MRes > &), T *obj) | |
Public Member Functions inherited from swri::ServiceServerImpl | |
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 |
virtual | ~ServiceServerImpl () |
Private Member Functions | |
bool | handleService (ros::ServiceEvent< MReq, MRes > &event) |
void | initialize (ros::NodeHandle &nh, const std::string &service) |
Private Attributes | |
bool(T::* | callback_plain_ )(MReq &, MRes &) |
bool(T::* | callback_with_event_ )(ros::ServiceEvent< MReq, MRes > &) |
bool(T::* | callback_with_name_ )(const std::string &, const MReq &, MRes &) |
T * | obj_ |
Additional Inherited Members | |
Protected Member Functions inherited from swri::ServiceServerImpl | |
void | processServing (const std::string caller_name, bool success, const ros::WallDuration &runtime) |
Protected Attributes inherited from swri::ServiceServerImpl | |
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 129 of file service_server_impl.h.
|
inline |
Definition at line 186 of file service_server_impl.h.
|
inline |
Definition at line 195 of file service_server_impl.h.
|
inline |
Definition at line 207 of file service_server_impl.h.
|
inline |
Definition at line 219 of file service_server_impl.h.
|
inlineprivate |
Definition at line 155 of file service_server_impl.h.
|
inlineprivate |
Definition at line 136 of file service_server_impl.h.
|
private |
Definition at line 132 of file service_server_impl.h.
|
private |
Definition at line 133 of file service_server_impl.h.
|
private |
Definition at line 134 of file service_server_impl.h.
|
private |
Definition at line 131 of file service_server_impl.h.