Public Member Functions | Protected Attributes | Private Types
MaxMinCStats< T > Class Template Reference

#include <Stats.h>

Inheritance diagram for MaxMinCStats< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

get (int i)
int getCount ()
getInterval ()
stat_t getMax ()
getMaxVal ()
virtual double getMean ()
stat_t getMin ()
getMinVal ()
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

Detailed Description

template<class T>
class MaxMinCStats< T >

Definition at line 161 of file Stats.h.


Member Typedef Documentation

template<class T>
typedef CStats<T>::stat_t MaxMinCStats< T >::stat_t [private]

Constructor & Destructor Documentation

template<class T>
MaxMinCStats< T >::MaxMinCStats ( ) [inline]

Definition at line 191 of file Stats.h.

template<class T>
MaxMinCStats< T >::MaxMinCStats ( std::string  name,
std::string  unit 
) [inline]

Definition at line 194 of file Stats.h.


Member Function Documentation

template<class T>
T MaxMinCStats< T >::get ( int  i) [inline]

Definition at line 217 of file Stats.h.

template<class T>
int MaxMinCStats< T >::getCount ( ) [inline]

Definition at line 213 of file Stats.h.

template<class T>
T MaxMinCStats< T >::getInterval ( ) [inline]

Definition at line 234 of file Stats.h.

template<class T>
stat_t MaxMinCStats< T >::getMax ( ) [inline]

Definition at line 223 of file Stats.h.

template<class T>
T MaxMinCStats< T >::getMaxVal ( ) [inline]

Definition at line 226 of file Stats.h.

template<class T>
virtual double MaxMinCStats< T >::getMean ( ) [inline, virtual]

Reimplemented in ThingOverTimeCStats< T, P >, and ThingOverTimeCStats< long long, long long >.

Definition at line 240 of file Stats.h.

template<class T>
stat_t MaxMinCStats< T >::getMin ( ) [inline]

Definition at line 237 of file Stats.h.

template<class T>
T MaxMinCStats< T >::getMinVal ( ) [inline]

Definition at line 230 of file Stats.h.

template<class T>
T MaxMinCStats< T >::getPos ( int  i) [inline]

Definition at line 220 of file Stats.h.

template<class T>
virtual void MaxMinCStats< T >::init ( ) [inline, virtual]

Reimplemented from CStats< T >.

Reimplemented in ThingOverTimeCStats< T, P >, ThingOverTimeCStats< long long, long long >, and IntervalCStats< T >.

Definition at line 170 of file Stats.h.

template<class T>
void MaxMinCStats< T >::new_value ( value,
int  pos 
) [inline]

Definition at line 198 of file Stats.h.

template<class T>
void MaxMinCStats< T >::reset ( ) [inline]

Reimplemented in IntervalCStats< T >.

Definition at line 182 of file Stats.h.


Member Data Documentation

template<class T>
int MaxMinCStats< T >::idx [protected]

Definition at line 166 of file Stats.h.

template<class T>
stat_t MaxMinCStats< T >::max [protected]

Definition at line 165 of file Stats.h.

template<class T>
double MaxMinCStats< T >::mean [protected]

Definition at line 164 of file Stats.h.

template<class T>
stat_t MaxMinCStats< T >::min [protected]

Definition at line 165 of file Stats.h.

template<class T>
std::vector<T> MaxMinCStats< T >::v [protected]

Definition at line 167 of file Stats.h.

template<class T>
std::vector<T> MaxMinCStats< T >::vpos [protected]

Definition at line 168 of file Stats.h.


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


ros_rt_wmp_sniffer
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:58