Class ServiceServerImpl

Inheritance Relationships

Derived Type

Class Documentation

class ServiceServerImpl

Subclassed by swri::TypedServiceServerImpl< S, MReq, MRes, T >

Public Functions

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

Protected Functions

inline void processServing(const std::string caller_name, bool success, const rclcpp::Duration &runtime)

Protected Attributes

rclcpp::ServiceBase::SharedPtr server_
std::string unmapped_service_
ServiceServerStatistics total_stats_
bool instrument_per_client_
std::map<std::string, ServiceServerStatistics> client_stats_
bool log_calls_