Public Types | Public Member Functions | Protected Attributes | List of all members
jsk_pcl_ros::OneDataStat Class Reference

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< OneDataStatPtr
 

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_
 

Detailed Description

class to store sensor value and compute mean, error and stddev and so on.

Definition at line 53 of file one_data_stat.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_pcl_ros::OneDataStat::Accumulator

Definition at line 63 of file one_data_stat.h.

Definition at line 56 of file one_data_stat.h.

Member Function Documentation

virtual void jsk_pcl_ros::OneDataStat::addData ( float  r)
inlinevirtual

Definition at line 64 of file one_data_stat.h.

virtual double jsk_pcl_ros::OneDataStat::count ( ) const
inlinevirtual

Definition at line 72 of file one_data_stat.h.

virtual double jsk_pcl_ros::OneDataStat::max ( ) const
inlinevirtual

Definition at line 71 of file one_data_stat.h.

virtual double jsk_pcl_ros::OneDataStat::mean ( ) const
inlinevirtual

Definition at line 69 of file one_data_stat.h.

virtual double jsk_pcl_ros::OneDataStat::min ( ) const
inlinevirtual

Definition at line 70 of file one_data_stat.h.

virtual double jsk_pcl_ros::OneDataStat::stddev ( ) const
inlinevirtual

Definition at line 74 of file one_data_stat.h.

virtual double jsk_pcl_ros::OneDataStat::variance ( ) const
inlinevirtual

Definition at line 73 of file one_data_stat.h.

Member Data Documentation

Accumulator jsk_pcl_ros::OneDataStat::acc_
protected

Definition at line 77 of file one_data_stat.h.


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


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:48