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 <samplesinkfifodoublebuffered.h>
Inherits QObject.
Signals | |
void | dataReady () |
Public Member Functions | |
SampleSinkFifoDoubleBuffered (uint32_t size, uint32_t signalThreshold) | |
~SampleSinkFifoDoubleBuffered () | |
void | getWriteIterator (SampleVector::iterator &it1) |
void | bumpIndex (SampleVector::iterator &it1) |
void | read (SampleVector::iterator &begin, SampleVector::iterator &end) |
Private Attributes | |
uint32_t | m_size |
uint32_t | m_signalThreshold |
SampleVector | m_data |
uint32_t | m_i |
uint32_t | m_count |
uint32_t | m_readIndex |
uint32_t | m_readCount |
QMutex | m_mutex |
Definition at line 28 of file samplesinkfifodoublebuffered.h.
SampleSinkFifoDoubleBuffered::SampleSinkFifoDoubleBuffered | ( | uint32_t | size, |
uint32_t | signalThreshold | ||
) |
Definition at line 20 of file samplesinkfifodoublebuffered.cpp.
References m_data, m_signalThreshold, and m_size.
SampleSinkFifoDoubleBuffered::~SampleSinkFifoDoubleBuffered | ( | ) |
Definition at line 32 of file samplesinkfifodoublebuffered.cpp.
void SampleSinkFifoDoubleBuffered::bumpIndex | ( | SampleVector::iterator & | it1 | ) |
Definition at line 41 of file samplesinkfifodoublebuffered.cpp.
References dataReady(), m_count, m_data, m_i, m_mutex, m_readCount, m_readIndex, m_signalThreshold, and m_size.
Referenced by SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate1(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate16_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate16_inf(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate16_sup(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate2_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate2_inf(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate2_sup(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate2_u(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate32_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate32_inf(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate32_sup(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate4_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate4_inf(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate4_sup(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate64_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate64_inf(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate64_sup(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate8_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate8_inf(), and SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate8_sup().
|
signal |
void SampleSinkFifoDoubleBuffered::getWriteIterator | ( | SampleVector::iterator & | it1 | ) |
Definition at line 36 of file samplesinkfifodoublebuffered.cpp.
Referenced by SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate1(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate16_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate16_inf(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate16_sup(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate2_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate2_inf(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate2_sup(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate2_u(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate32_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate32_inf(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate32_sup(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate4_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate4_inf(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate4_sup(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate64_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate64_inf(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate64_sup(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate8_cen(), SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate8_inf(), and SampleSinkFifoDecimator< T, SdrBits, InputBits >::decimate8_sup().
void SampleSinkFifoDoubleBuffered::read | ( | SampleVector::iterator & | begin, |
SampleVector::iterator & | end | ||
) |
Definition at line 61 of file samplesinkfifodoublebuffered.cpp.
References m_data, m_mutex, m_readCount, and m_readIndex.
|
private |
Definition at line 44 of file samplesinkfifodoublebuffered.h.
Referenced by bumpIndex().
|
private |
Definition at line 42 of file samplesinkfifodoublebuffered.h.
Referenced by bumpIndex(), getWriteIterator(), read(), and SampleSinkFifoDoubleBuffered().
|
private |
Definition at line 43 of file samplesinkfifodoublebuffered.h.
Referenced by bumpIndex(), and getWriteIterator().
|
private |
Definition at line 47 of file samplesinkfifodoublebuffered.h.
Referenced by bumpIndex(), and read().
|
private |
Definition at line 46 of file samplesinkfifodoublebuffered.h.
Referenced by bumpIndex(), and read().
|
private |
Definition at line 45 of file samplesinkfifodoublebuffered.h.
Referenced by bumpIndex(), and read().
|
private |
Definition at line 41 of file samplesinkfifodoublebuffered.h.
Referenced by bumpIndex(), and SampleSinkFifoDoubleBuffered().
|
private |
Definition at line 40 of file samplesinkfifodoublebuffered.h.
Referenced by bumpIndex(), and SampleSinkFifoDoubleBuffered().