Public Types | Public Member Functions | Protected Attributes | List of all members
jsk_topic_tools::TimeAccumulator Class Reference

#include <time_accumulator.h>

Public Types

typedef boost::accumulators::accumulator_set< double, boost::accumulators::stats< boost::accumulators::tag::count, boost::accumulators::tag::mean, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::variance > > Accumulator
 

Public Member Functions

virtual int count ()
 
virtual double max ()
 
virtual double mean ()
 
virtual double min ()
 
virtual void registerTime (double time)
 
virtual ScopedTimer scopedTimer ()
 
 TimeAccumulator ()
 
virtual double variance ()
 
virtual ~TimeAccumulator ()
 

Protected Attributes

Accumulator acc_
 

Detailed Description

Definition at line 54 of file time_accumulator.h.

Member Typedef Documentation

typedef boost::accumulators::accumulator_set< double, boost::accumulators::stats<boost::accumulators::tag::count, boost::accumulators::tag::mean, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::variance> > jsk_topic_tools::TimeAccumulator::Accumulator

Definition at line 63 of file time_accumulator.h.

Constructor & Destructor Documentation

jsk_topic_tools::TimeAccumulator::TimeAccumulator ( )

Definition at line 40 of file time_accumulator.cpp.

jsk_topic_tools::TimeAccumulator::~TimeAccumulator ( )
virtual

Definition at line 45 of file time_accumulator.cpp.

Member Function Documentation

int jsk_topic_tools::TimeAccumulator::count ( )
virtual

Definition at line 75 of file time_accumulator.cpp.

double jsk_topic_tools::TimeAccumulator::max ( )
virtual

Definition at line 70 of file time_accumulator.cpp.

double jsk_topic_tools::TimeAccumulator::mean ( )
virtual

Definition at line 60 of file time_accumulator.cpp.

double jsk_topic_tools::TimeAccumulator::min ( )
virtual

Definition at line 65 of file time_accumulator.cpp.

void jsk_topic_tools::TimeAccumulator::registerTime ( double  time)
virtual

Definition at line 55 of file time_accumulator.cpp.

ScopedTimer jsk_topic_tools::TimeAccumulator::scopedTimer ( )
virtual

Definition at line 50 of file time_accumulator.cpp.

double jsk_topic_tools::TimeAccumulator::variance ( )
virtual

Definition at line 80 of file time_accumulator.cpp.

Member Data Documentation

Accumulator jsk_topic_tools::TimeAccumulator::acc_
protected

Definition at line 75 of file time_accumulator.h.


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


jsk_topic_tools
Author(s): Kei Okada , Yusuke Furuta
autogenerated on Tue Feb 6 2018 03:45:19