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 | |
MovingAverageUtil () | |
void | reset () |
void | operator() (T sample) |
double | asDouble () const |
float | asFloat () const |
operator T () const | |
T | instantAverage () const |
Private Attributes | |
T | m_samples [N] |
int | m_num_samples |
unsigned int | m_index |
Total | m_total |
Definition at line 27 of file movingaverage.h.
|
inline |
Definition at line 30 of file movingaverage.h.
|
inline |
Definition at line 57 of file movingaverage.h.
Referenced by DSDDemod::feed(), WFMDemod::getMagSq(), ATVMod::getMagSq(), DSPDeviceSourceEngine::iqCorrections(), AutoCorrector< T >::process(), AMDemod::processOneSample(), FreqTracker::processOneSample(), AMMod::pull(), WFMMod::pull(), NFMMod::pull(), SSBMod::pull(), FreeDVMod::pull(), FileSource::pull(), and UDPSourceGUI::tick().
|
inline |
Definition at line 58 of file movingaverage.h.
|
inline |
Definition at line 60 of file movingaverage.h.
|
inline |
Definition at line 59 of file movingaverage.h.
References MovingAverageUtil< T, Total, N >::m_total.
|
inline |
Definition at line 41 of file movingaverage.h.
|
inline |
Definition at line 34 of file movingaverage.h.
Referenced by NFMDemod::applySettings(), DSPDeviceSourceEngine::handleInputMessages(), MovingAverageUtilVar< T, Total >::resize(), and DSPDeviceMIMOEngine::SourceCorrection::SourceCorrection().
|
private |
Definition at line 65 of file movingaverage.h.
Referenced by MovingAverageUtil< int, int, 10 >::operator()(), MovingAverageUtilVar< T, Total >::operator()(), MovingAverageUtil< int, int, 10 >::reset(), and MovingAverageUtilVar< T, Total >::reset().
|
private |
Definition at line 64 of file movingaverage.h.
Referenced by MovingAverageUtil< int, int, 10 >::instantAverage(), MovingAverageUtil< int, int, 10 >::operator()(), MovingAverageUtilVar< T, Total >::operator()(), MovingAverageUtil< int, int, 10 >::reset(), and MovingAverageUtilVar< T, Total >::reset().
|
private |
Definition at line 63 of file movingaverage.h.
Referenced by MovingAverageUtilVar< T, Total >::asDouble(), MovingAverageUtilVar< T, Total >::asFloat(), MovingAverageUtilVar< T, Total >::MovingAverageUtilVar(), MovingAverageUtilVar< T, Total >::operator T(), MovingAverageUtil< int, int, 10 >::operator()(), MovingAverageUtilVar< T, Total >::operator()(), MovingAverageUtilVar< T, Total >::resize(), and MovingAverageUtilVar< T, Total >::size().
|
private |
Definition at line 66 of file movingaverage.h.
Referenced by MovingAverageUtil< int, int, 10 >::asDouble(), MovingAverageUtilVar< T, Total >::asDouble(), MovingAverageUtil< int, int, 10 >::asFloat(), MovingAverageUtilVar< T, Total >::asFloat(), MovingAverageUtil< int, int, 10 >::instantAverage(), MovingAverageUtil< T, Total, N >::operator T(), MovingAverageUtilVar< T, Total >::operator T(), MovingAverageUtil< int, int, 10 >::operator()(), MovingAverageUtilVar< T, Total >::operator()(), MovingAverageUtil< int, int, 10 >::reset(), and MovingAverageUtilVar< T, Total >::reset().