Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
swri::ServiceServerStatistics Class Reference

#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
 

Detailed Description

Definition at line 37 of file service_server_statistics.h.

Constructor & Destructor Documentation

swri::ServiceServerStatistics::ServiceServerStatistics ( )
inline

Definition at line 52 of file service_server_statistics.h.

Member Function Documentation

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 
)
inlineprivate

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.

Friends And Related Function Documentation

friend class ServiceServerImpl
friend

Definition at line 49 of file service_server_statistics.h.

Member Data Documentation

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.

ros::WallDuration swri::ServiceServerStatistics::max_time_
private

Definition at line 46 of file service_server_statistics.h.

ros::WallDuration swri::ServiceServerStatistics::min_time_
private

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.

ros::WallDuration swri::ServiceServerStatistics::total_time_
private

Definition at line 44 of file service_server_statistics.h.


The documentation for this class was generated from the following file:


swri_roscpp
Author(s):
autogenerated on Fri Jun 7 2019 22:05:50