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 | |
MovingAverageUtilVar (unsigned int size) | |
void | reset () |
void | resize (unsigned int size) |
unsigned int | size () const |
void | operator() (T sample) |
double | asDouble () const |
float | asFloat () const |
operator T () const | |
Private Attributes | |
std::vector< T > | m_samples |
unsigned int | m_num_samples |
unsigned int | m_index |
Total | m_total |
Definition at line 71 of file movingaverage.h.
|
inline |
Definition at line 74 of file movingaverage.h.
References MovingAverageUtil< T, Total, N >::m_samples.
|
inline |
Definition at line 114 of file movingaverage.h.
References MovingAverageUtil< T, Total, N >::m_samples, and MovingAverageUtil< T, Total, N >::m_total.
|
inline |
Definition at line 115 of file movingaverage.h.
References MovingAverageUtil< T, Total, N >::m_samples, and MovingAverageUtil< T, Total, N >::m_total.
|
inline |
Definition at line 116 of file movingaverage.h.
References MovingAverageUtil< T, Total, N >::m_samples, and MovingAverageUtil< T, Total, N >::m_total.
|
inline |
Definition at line 98 of file movingaverage.h.
References MovingAverageUtil< T, Total, N >::m_index, MovingAverageUtil< T, Total, N >::m_num_samples, MovingAverageUtil< T, Total, N >::m_samples, and MovingAverageUtil< T, Total, N >::m_total.
|
inline |
Definition at line 80 of file movingaverage.h.
References MovingAverageUtil< T, Total, N >::m_index, MovingAverageUtil< T, Total, N >::m_num_samples, and MovingAverageUtil< T, Total, N >::m_total.
|
inline |
Definition at line 87 of file movingaverage.h.
References MovingAverageUtil< T, Total, N >::m_samples, and MovingAverageUtil< T, Total, N >::reset().
|
inline |
Definition at line 93 of file movingaverage.h.
References MovingAverageUtil< T, Total, N >::m_samples.
|
private |
Definition at line 121 of file movingaverage.h.
|
private |
Definition at line 120 of file movingaverage.h.
|
private |
Definition at line 119 of file movingaverage.h.
|
private |
Definition at line 122 of file movingaverage.h.