#include <moving_average.h>
Public Member Functions | |
virtual void | addElement (T element)=0 |
virtual bool | calcMovingAverage (T &average) const =0 |
MovingAverageBase () | |
virtual void | reset ()=0 |
Definition at line 27 of file moving_average.h.
MovingAverageBase< T >::MovingAverageBase | ( | ) | [inline, explicit] |
Definition at line 30 of file moving_average.h.
virtual void MovingAverageBase< T >::addElement | ( | T | element | ) | [pure virtual] |
Implemented in MovingAverageExponential< T >, and MovingAverageSimple< T >.
virtual bool MovingAverageBase< T >::calcMovingAverage | ( | T & | average | ) | const [pure virtual] |
Implemented in MovingAverageExponential< T >, and MovingAverageSimple< T >.
virtual void MovingAverageBase< T >::reset | ( | ) | [pure virtual] |
Implemented in MovingAverageExponential< T >, and MovingAverageSimple< T >.