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

◆ ServiceServerStatistics()

swri::ServiceServerStatistics::ServiceServerStatistics ( )
inline

Definition at line 52 of file service_server_statistics.h.

Member Function Documentation

◆ failed()

int swri::ServiceServerStatistics::failed ( ) const
inline

Definition at line 57 of file service_server_statistics.h.

◆ lastFailed()

bool swri::ServiceServerStatistics::lastFailed ( ) const
inline

Definition at line 58 of file service_server_statistics.h.

◆ maxTime()

ros::WallDuration swri::ServiceServerStatistics::maxTime ( ) const
inline

Definition at line 62 of file service_server_statistics.h.

◆ meanTime()

ros::WallDuration swri::ServiceServerStatistics::meanTime ( ) const
inline

Definition at line 79 of file service_server_statistics.h.

◆ merge()

void swri::ServiceServerStatistics::merge ( bool  success,
const ros::WallDuration runtime 
)
inlineprivate

Definition at line 89 of file service_server_statistics.h.

◆ minTime()

ros::WallDuration swri::ServiceServerStatistics::minTime ( ) const
inline

Definition at line 61 of file service_server_statistics.h.

◆ reset()

void swri::ServiceServerStatistics::reset ( )
inline

Definition at line 67 of file service_server_statistics.h.

◆ servings()

int swri::ServiceServerStatistics::servings ( ) const
inline

Definition at line 55 of file service_server_statistics.h.

◆ succeeded()

int swri::ServiceServerStatistics::succeeded ( ) const
inline

Definition at line 56 of file service_server_statistics.h.

Friends And Related Function Documentation

◆ ServiceServerImpl

friend class ServiceServerImpl
friend

Definition at line 49 of file service_server_statistics.h.

Member Data Documentation

◆ failed_

int swri::ServiceServerStatistics::failed_
private

Definition at line 41 of file service_server_statistics.h.

◆ last_failed_

bool swri::ServiceServerStatistics::last_failed_
private

Definition at line 42 of file service_server_statistics.h.

◆ max_time_

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

Definition at line 46 of file service_server_statistics.h.

◆ min_time_

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

Definition at line 45 of file service_server_statistics.h.

◆ servings_

int swri::ServiceServerStatistics::servings_
private

Definition at line 39 of file service_server_statistics.h.

◆ succeeded_

int swri::ServiceServerStatistics::succeeded_
private

Definition at line 40 of file service_server_statistics.h.

◆ total_time_

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 Sat Jan 21 2023 03:13:16