class to store sensor value and compute mean, error and stddev and so on. More...
#include <one_data_stat.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 | 
| typedef boost::shared_ptr < OneDataStat > | Ptr | 
| Public Member Functions | |
| virtual void | addData (float r) | 
| virtual double | count () const | 
| virtual double | max () const | 
| virtual double | mean () const | 
| virtual double | min () const | 
| virtual double | stddev () const | 
| virtual double | variance () const | 
| Protected Attributes | |
| Accumulator | acc_ | 
class to store sensor value and compute mean, error and stddev and so on.
Definition at line 53 of file one_data_stat.h.
| 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_pcl_ros::OneDataStat::Accumulator | 
Definition at line 63 of file one_data_stat.h.
| typedef boost::shared_ptr<OneDataStat> jsk_pcl_ros::OneDataStat::Ptr | 
Definition at line 56 of file one_data_stat.h.
| virtual void jsk_pcl_ros::OneDataStat::addData | ( | float | r | ) |  [inline, virtual] | 
Definition at line 64 of file one_data_stat.h.
| virtual double jsk_pcl_ros::OneDataStat::count | ( | ) | const  [inline, virtual] | 
Definition at line 72 of file one_data_stat.h.
| virtual double jsk_pcl_ros::OneDataStat::max | ( | ) | const  [inline, virtual] | 
Definition at line 71 of file one_data_stat.h.
| virtual double jsk_pcl_ros::OneDataStat::mean | ( | ) | const  [inline, virtual] | 
Definition at line 69 of file one_data_stat.h.
| virtual double jsk_pcl_ros::OneDataStat::min | ( | ) | const  [inline, virtual] | 
Definition at line 70 of file one_data_stat.h.
| virtual double jsk_pcl_ros::OneDataStat::stddev | ( | ) | const  [inline, virtual] | 
Definition at line 74 of file one_data_stat.h.
| virtual double jsk_pcl_ros::OneDataStat::variance | ( | ) | const  [inline, virtual] | 
Definition at line 73 of file one_data_stat.h.
| Accumulator jsk_pcl_ros::OneDataStat::acc_  [protected] | 
Definition at line 77 of file one_data_stat.h.