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 85 of file one_data_stat.h.

Member Typedef Documentation

◆ Accumulator

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 127 of file one_data_stat.h.

◆ Ptr

Definition at line 120 of file one_data_stat.h.

Member Function Documentation

◆ addData()

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

Definition at line 128 of file one_data_stat.h.

◆ count()

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

Definition at line 136 of file one_data_stat.h.

◆ max()

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

Definition at line 135 of file one_data_stat.h.

◆ mean()

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

Definition at line 133 of file one_data_stat.h.

◆ min()

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

Definition at line 134 of file one_data_stat.h.

◆ stddev()

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

Definition at line 138 of file one_data_stat.h.

◆ variance()

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

Definition at line 137 of file one_data_stat.h.

Member Data Documentation

◆ acc_

Accumulator jsk_pcl_ros::OneDataStat::acc_
protected

Definition at line 141 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 Tue Jan 7 2025 04:05:46