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

#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_

Detailed Description

Definition at line 50 of file counter.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::Counter::Accumulator

Definition at line 59 of file counter.h.

Member Function Documentation

void jsk_topic_tools::Counter::add ( double  v)

Definition at line 39 of file counter.cpp.

int jsk_topic_tools::Counter::count ( )

Definition at line 59 of file counter.cpp.

double jsk_topic_tools::Counter::max ( )

Definition at line 54 of file counter.cpp.

double jsk_topic_tools::Counter::mean ( )

Definition at line 44 of file counter.cpp.

double jsk_topic_tools::Counter::min ( )

Definition at line 49 of file counter.cpp.

double jsk_topic_tools::Counter::variance ( )

Definition at line 64 of file counter.cpp.

Member Data Documentation

Accumulator jsk_topic_tools::Counter::acc_

Definition at line 67 of file counter.h.

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

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