#include <service_server_statistics.h>
Public Member Functions | |
int | failed () const |
bool | lastFailed () const |
ros::WallDuration | maxTime () const |
ros::WallDuration | meanTime () const |
ros::WallDuration | minTime () const |
void | reset () |
ServiceServerStatistics () | |
int | servings () const |
int | succeeded () const |
Private Member Functions | |
void | merge (bool success, const ros::WallDuration &runtime) |
Private Attributes | |
int | failed_ |
bool | last_failed_ |
ros::WallDuration | max_time_ |
ros::WallDuration | min_time_ |
int | servings_ |
int | succeeded_ |
ros::WallDuration | total_time_ |
Friends | |
class | ServiceServerImpl |
Definition at line 37 of file service_server_statistics.h.
Definition at line 52 of file service_server_statistics.h.
int swri::ServiceServerStatistics::failed | ( | ) | const [inline] |
Definition at line 57 of file service_server_statistics.h.
bool swri::ServiceServerStatistics::lastFailed | ( | ) | const [inline] |
Definition at line 58 of file service_server_statistics.h.
ros::WallDuration swri::ServiceServerStatistics::maxTime | ( | ) | const [inline] |
Definition at line 62 of file service_server_statistics.h.
ros::WallDuration swri::ServiceServerStatistics::meanTime | ( | ) | const [inline] |
Definition at line 79 of file service_server_statistics.h.
void swri::ServiceServerStatistics::merge | ( | bool | success, |
const ros::WallDuration & | runtime | ||
) | [inline, private] |
Definition at line 89 of file service_server_statistics.h.
ros::WallDuration swri::ServiceServerStatistics::minTime | ( | ) | const [inline] |
Definition at line 61 of file service_server_statistics.h.
void swri::ServiceServerStatistics::reset | ( | ) | [inline] |
Definition at line 67 of file service_server_statistics.h.
int swri::ServiceServerStatistics::servings | ( | ) | const [inline] |
Definition at line 55 of file service_server_statistics.h.
int swri::ServiceServerStatistics::succeeded | ( | ) | const [inline] |
Definition at line 56 of file service_server_statistics.h.
friend class ServiceServerImpl [friend] |
Definition at line 49 of file service_server_statistics.h.
int swri::ServiceServerStatistics::failed_ [private] |
Definition at line 41 of file service_server_statistics.h.
bool swri::ServiceServerStatistics::last_failed_ [private] |
Definition at line 42 of file service_server_statistics.h.
Definition at line 46 of file service_server_statistics.h.
Definition at line 45 of file service_server_statistics.h.
int swri::ServiceServerStatistics::servings_ [private] |
Definition at line 39 of file service_server_statistics.h.
int swri::ServiceServerStatistics::succeeded_ [private] |
Definition at line 40 of file service_server_statistics.h.
Definition at line 44 of file service_server_statistics.h.