Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
swri_math_util::StatBuffer< T > Class Template Reference

#include <stat_buffer.h>

Inheritance diagram for swri_math_util::StatBuffer< T >:
Inheritance graph
[legend]

Classes

struct  StatPack
 

Public Member Functions

void modifyBufferSize (int NumElements)
 
reportDiffMax ()
 
reportDiffMean ()
 
reportDiffMedian ()
 
reportDiffMin ()
 
reportMax ()
 
reportMean ()
 
reportMedian ()
 
reportMin ()
 
reportPartialMean (int NumToAvg)
 
reportRetainedStats ()
 
reportStd ()
 
reportVar ()
 
 StatBuffer ()
 
 StatBuffer (int NumElements)
 
bool UpdateDiffStats ()
 
bool UpdateStats ()
 
 ~StatBuffer ()
 
- Public Member Functions inherited from swri_math_util::GenRingBuffer< T >
void clear ()
 
 GenRingBuffer ()
 
 GenRingBuffer (int NumElements2Alloc)
 
 GenRingBuffer (const GenRingBuffer< T > &src)
 
virtual T * get (int i=0) const
 
T * getLoad () const
 
T * getRaw (int i) const
 
T * getTail (int i=0) const
 
bool indexValid (int i)
 
void load (const T &newElem)
 
void load1 (T newElem)
 
int MaxSize () const
 
GenRingBuffer< T > & operator= (const GenRingBuffer< T > &src)
 
virtual T * operator[] (int i)
 
T * pop ()
 
void ResizeBuffer (int newSize)
 
int size () const
 
virtual ~GenRingBuffer ()
 

Private Member Functions

bool computeDiffStats ()
 
computeMean (int NumToAvg)
 
bool computeStats ()
 

Private Attributes

StatPack RetainedDiffStats
 
StatPack RetainedStats
 

Additional Inherited Members

- Protected Member Functions inherited from swri_math_util::GenRingBuffer< T >
void realloc_mem (int NumElements2Alloc)
 

Detailed Description

template<class T>
class swri_math_util::StatBuffer< T >

Definition at line 45 of file stat_buffer.h.

Constructor & Destructor Documentation

template<class T >
swri_math_util::StatBuffer< T >::StatBuffer ( )
inline

Definition at line 53 of file stat_buffer.h.

template<class T >
swri_math_util::StatBuffer< T >::StatBuffer ( int  NumElements)
inlineexplicit

Definition at line 58 of file stat_buffer.h.

template<class T >
swri_math_util::StatBuffer< T >::~StatBuffer ( )
inline

Definition at line 63 of file stat_buffer.h.

Member Function Documentation

template<class T >
bool swri_math_util::StatBuffer< T >::computeDiffStats ( )
inlineprivate

Definition at line 236 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::computeMean ( int  NumToAvg)
inlineprivate

Definition at line 151 of file stat_buffer.h.

template<class T >
bool swri_math_util::StatBuffer< T >::computeStats ( )
inlineprivate

Definition at line 167 of file stat_buffer.h.

template<class T >
void swri_math_util::StatBuffer< T >::modifyBufferSize ( int  NumElements)
inline

Definition at line 48 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportDiffMax ( )
inline

Definition at line 93 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportDiffMean ( )
inline

Definition at line 78 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportDiffMedian ( )
inline

Definition at line 83 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportDiffMin ( )
inline

Definition at line 88 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportMax ( )
inline

Definition at line 119 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportMean ( )
inline

Definition at line 98 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportMedian ( )
inline

Definition at line 109 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportMin ( )
inline

Definition at line 114 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportPartialMean ( int  NumToAvg)
inline

Definition at line 104 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportRetainedStats ( )
inline

Definition at line 132 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportStd ( )
inline

Definition at line 123 of file stat_buffer.h.

template<class T >
T swri_math_util::StatBuffer< T >::reportVar ( )
inline

Definition at line 128 of file stat_buffer.h.

template<class T >
bool swri_math_util::StatBuffer< T >::UpdateDiffStats ( )
inline

Definition at line 73 of file stat_buffer.h.

template<class T >
bool swri_math_util::StatBuffer< T >::UpdateStats ( )
inline

Definition at line 68 of file stat_buffer.h.

Member Data Documentation

template<class T >
StatPack swri_math_util::StatBuffer< T >::RetainedDiffStats
private

Definition at line 149 of file stat_buffer.h.

template<class T >
StatPack swri_math_util::StatBuffer< T >::RetainedStats
private

Definition at line 148 of file stat_buffer.h.


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


swri_math_util
Author(s): Marc Alban
autogenerated on Tue Apr 6 2021 02:50:30