SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <movingaverage.h>
Public Member Functions | |
MovingAverage (int historySize, Type initial) | |
void | resize (int historySize, Type initial) |
void | feed (Type value) |
void | fill (Type value) |
Type | average () const |
Type | sum () const |
int | historySize () const |
Protected Attributes | |
std::vector< Type > | m_history |
Type | m_sum |
uint32_t | m_index |
Definition at line 9 of file movingaverage.h.
|
inline |
Definition at line 11 of file movingaverage.h.
|
inline |
Definition at line 43 of file movingaverage.h.
Referenced by UDPSink::feed(), MagAGC::feedAndGetValue(), AGC::getAverage(), UDPSource::modulateSample(), UDPSource::pull(), and UDPSinkGUI::tick().
|
inline |
Definition at line 24 of file movingaverage.h.
Referenced by UDPSink::feed(), MagAGC::feedAndGetValue(), UDPSource::modulateSample(), UDPSource::pull(), and UDPSinkGUI::tick().
|
inline |
Definition at line 37 of file movingaverage.h.
Referenced by MagAGC::resize(), and MagAGC::setOrder().
|
inline |
Definition at line 53 of file movingaverage.h.
|
inline |
Definition at line 16 of file movingaverage.h.
Referenced by UDPSink::applySettings(), UDPSource::applySettings(), MovingAverage< double >::MovingAverage(), and AGC::resize().
|
inline |
Definition at line 48 of file movingaverage.h.
|
protected |
Definition at line 59 of file movingaverage.h.
Referenced by MovingAverage< double >::average(), MovingAverage< double >::feed(), MovingAverage< double >::fill(), MovingAverage< double >::historySize(), and MovingAverage< double >::resize().
|
protected |
Definition at line 61 of file movingaverage.h.
Referenced by MovingAverage< double >::feed(), and MovingAverage< double >::resize().
|
protected |
Definition at line 60 of file movingaverage.h.
Referenced by MovingAverage< double >::average(), MovingAverage< double >::feed(), MovingAverage< double >::fill(), MovingAverage< double >::resize(), and MovingAverage< double >::sum().