#include <Stats.h>
Public Member Functions | |
T | get (int i) |
int | getCount () |
T | getInterval () |
stat_t | getMax () |
T | getMaxVal () |
virtual double | getMean () |
stat_t | getMin () |
T | getMinVal () |
T | getPos (int i) |
virtual void | init () |
MaxMinCStats () | |
MaxMinCStats (std::string name, std::string unit) | |
void | new_value (T value, int pos) |
void | reset () |
Protected Attributes | |
int | idx |
stat_t | max |
double | mean |
stat_t | min |
std::vector< T > | v |
std::vector< T > | vpos |
Private Types | |
typedef CStats< T >::stat_t | stat_t |
typedef CStats<T>::stat_t MaxMinCStats< T >::stat_t [private] |
Reimplemented in ThingOverTimeCStats< T, P >, ThingOverTimeCStats< long long, long long >, and IntervalCStats< T >.
MaxMinCStats< T >::MaxMinCStats | ( | ) | [inline] |
MaxMinCStats< T >::MaxMinCStats | ( | std::string | name, |
std::string | unit | ||
) | [inline] |
T MaxMinCStats< T >::get | ( | int | i | ) | [inline] |
int MaxMinCStats< T >::getCount | ( | ) | [inline] |
T MaxMinCStats< T >::getInterval | ( | ) | [inline] |
stat_t MaxMinCStats< T >::getMax | ( | ) | [inline] |
T MaxMinCStats< T >::getMaxVal | ( | ) | [inline] |
virtual double MaxMinCStats< T >::getMean | ( | ) | [inline, virtual] |
Reimplemented in ThingOverTimeCStats< T, P >, and ThingOverTimeCStats< long long, long long >.
stat_t MaxMinCStats< T >::getMin | ( | ) | [inline] |
T MaxMinCStats< T >::getMinVal | ( | ) | [inline] |
T MaxMinCStats< T >::getPos | ( | int | i | ) | [inline] |
virtual void MaxMinCStats< T >::init | ( | ) | [inline, virtual] |
Reimplemented from CStats< T >.
Reimplemented in ThingOverTimeCStats< T, P >, ThingOverTimeCStats< long long, long long >, and IntervalCStats< T >.
void MaxMinCStats< T >::new_value | ( | T | value, |
int | pos | ||
) | [inline] |
void MaxMinCStats< T >::reset | ( | ) | [inline] |
Reimplemented in IntervalCStats< T >.
int MaxMinCStats< T >::idx [protected] |
stat_t MaxMinCStats< T >::max [protected] |
double MaxMinCStats< T >::mean [protected] |
stat_t MaxMinCStats< T >::min [protected] |
std::vector<T> MaxMinCStats< T >::v [protected] |
std::vector<T> MaxMinCStats< T >::vpos [protected] |