#include <counter.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 void | add (double v) |
virtual int | count () |
virtual double | max () |
virtual double | mean () |
virtual double | min () |
virtual double | variance () |
Protected Attributes | |
Accumulator | acc_ |
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::Counter::Accumulator |
void jsk_topic_tools::Counter::add | ( | double | v | ) | [virtual] |
Definition at line 39 of file counter.cpp.
int jsk_topic_tools::Counter::count | ( | ) | [virtual] |
Definition at line 59 of file counter.cpp.
double jsk_topic_tools::Counter::max | ( | ) | [virtual] |
Definition at line 54 of file counter.cpp.
double jsk_topic_tools::Counter::mean | ( | ) | [virtual] |
Definition at line 44 of file counter.cpp.
double jsk_topic_tools::Counter::min | ( | ) | [virtual] |
Definition at line 49 of file counter.cpp.
double jsk_topic_tools::Counter::variance | ( | ) | [virtual] |
Definition at line 64 of file counter.cpp.
Accumulator jsk_topic_tools::Counter::acc_ [protected] |