EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
Statistics.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_CORE_STATISTICS_HPP_
2 #define ORG_EEROS_CORE_STATISTICS_HPP_
3 
4 namespace eeros {
5 
6  class Statistics {
7  public:
8  Statistics();
9  void add(double value);
10  void reset();
11 
12  long count;
13  double last;
14  double min;
15  double max;
16  double mean;
17  double variance;
18 
19  private:
20  double A, B;
21  };
22 };
23 
24 #endif // ORG_EEROS_CORE_STATISTICS_HPP_
double min
Definition: Statistics.hpp:14
double mean
Definition: Statistics.hpp:16
Definition: Config.hpp:14
Definition: Statistics.hpp:6
void reset()
Definition: Statistics.cpp:25
Statistics()
Definition: Statistics.cpp:7
double last
Definition: Statistics.hpp:13
void add(double value)
Definition: Statistics.cpp:11
long count
Definition: Statistics.hpp:12
double variance
Definition: Statistics.hpp:17
double max
Definition: Statistics.hpp:15