#include <moving_average.h>
Public Member Functions | |
virtual void | addElement (T element) |
virtual bool | calcMovingAverage (T &average) const |
MovingAverageSimple (uint16_t size) | |
virtual void | reset () |
Public Member Functions inherited from MovingAverageBase< T > | |
MovingAverageBase () | |
Protected Attributes | |
std::deque< T > | s_ |
uint16_t | size_ |
std::deque< double > | weighting_ |
Definition at line 40 of file moving_average.h.
|
inlineexplicit |
Definition at line 43 of file moving_average.h.
|
inlinevirtual |
Implements MovingAverageBase< T >.
Definition at line 55 of file moving_average.h.
|
inlinevirtual |
Implements MovingAverageBase< T >.
Definition at line 68 of file moving_average.h.
|
inlinevirtual |
Implements MovingAverageBase< T >.
Definition at line 50 of file moving_average.h.
|
protected |
Definition at line 91 of file moving_average.h.
|
protected |
Definition at line 90 of file moving_average.h.
|
protected |
Definition at line 92 of file moving_average.h.