Public Types | Public Member Functions | Protected Attributes | List of all members
jsk_recognition_utils::WallDurationTimer Class Reference

#include <time_util.h>

Public Types

typedef boost::shared_ptr< WallDurationTimerPtr
 

Public Member Functions

virtual void clearBuffer ()
 
virtual double latestSec ()
 
virtual double meanSec ()
 
virtual void report (ros::WallDuration &duration)
 
virtual ScopedWallDurationReporter reporter ()
 
virtual ScopedWallDurationReporter reporter (ros::Publisher &pub_latest, ros::Publisher &pub_average)
 
virtual size_t sampleNum ()
 
 WallDurationTimer (const int max_num)
 

Protected Attributes

boost::circular_buffer< ros::WallDurationbuffer_
 
const int max_num_
 

Detailed Description

Definition at line 65 of file time_util.h.

Member Typedef Documentation

Definition at line 68 of file time_util.h.

Constructor & Destructor Documentation

jsk_recognition_utils::WallDurationTimer::WallDurationTimer ( const int  max_num)

Definition at line 86 of file time_util.cpp.

Member Function Documentation

void jsk_recognition_utils::WallDurationTimer::clearBuffer ( )
virtual

Definition at line 113 of file time_util.cpp.

double jsk_recognition_utils::WallDurationTimer::latestSec ( )
virtual

Definition at line 108 of file time_util.cpp.

double jsk_recognition_utils::WallDurationTimer::meanSec ( )
virtual

Definition at line 118 of file time_util.cpp.

void jsk_recognition_utils::WallDurationTimer::report ( ros::WallDuration duration)
virtual

Definition at line 91 of file time_util.cpp.

ScopedWallDurationReporter jsk_recognition_utils::WallDurationTimer::reporter ( )
virtual

Definition at line 96 of file time_util.cpp.

ScopedWallDurationReporter jsk_recognition_utils::WallDurationTimer::reporter ( ros::Publisher pub_latest,
ros::Publisher pub_average 
)
virtual

Definition at line 101 of file time_util.cpp.

size_t jsk_recognition_utils::WallDurationTimer::sampleNum ( )
virtual

Definition at line 127 of file time_util.cpp.

Member Data Documentation

boost::circular_buffer<ros::WallDuration> jsk_recognition_utils::WallDurationTimer::buffer_
protected

Definition at line 81 of file time_util.h.

const int jsk_recognition_utils::WallDurationTimer::max_num_
protected

Definition at line 80 of file time_util.h.


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


jsk_recognition_utils
Author(s):
autogenerated on Mon May 3 2021 03:03:03