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 <threadedbasebandsamplesink.h>
Inherits QObject.
Public Slots | |
void | handleFifoData () |
Public Member Functions | |
ThreadedBasebandSampleSinkFifo (BasebandSampleSink *sampleSink, std::size_t size=1<< 18) | |
~ThreadedBasebandSampleSinkFifo () | |
void | writeToFifo (SampleVector::const_iterator &begin, SampleVector::const_iterator &end) |
Public Attributes | |
BasebandSampleSink * | m_sampleSink |
SampleSinkFifo | m_sampleFifo |
Because Qt is a piece of shit this class cannot be a nested protected class of ThreadedSampleSink So let's make everything public
Definition at line 36 of file threadedbasebandsamplesink.h.
ThreadedBasebandSampleSinkFifo::ThreadedBasebandSampleSinkFifo | ( | BasebandSampleSink * | sampleSink, |
std::size_t | size = 1<<18 |
||
) |
Definition at line 8 of file threadedbasebandsamplesink.cpp.
References handleFifoData(), m_sampleFifo, and SampleSinkFifo::setSize().
ThreadedBasebandSampleSinkFifo::~ThreadedBasebandSampleSinkFifo | ( | ) |
Definition at line 15 of file threadedbasebandsamplesink.cpp.
References SampleSinkFifo::fill(), m_sampleFifo, and SampleSinkFifo::readCommit().
|
slot |
Definition at line 25 of file threadedbasebandsamplesink.cpp.
References BasebandSampleSink::feed(), SampleSinkFifo::fill(), BasebandSampleSink::getInputMessageQueue(), m_sampleFifo, m_sampleSink, SampleSinkFifo::readBegin(), SampleSinkFifo::readCommit(), and MessageQueue::size().
Referenced by ThreadedBasebandSampleSinkFifo().
void ThreadedBasebandSampleSinkFifo::writeToFifo | ( | SampleVector::const_iterator & | begin, |
SampleVector::const_iterator & | end | ||
) |
Definition at line 20 of file threadedbasebandsamplesink.cpp.
References m_sampleFifo, and SampleSinkFifo::write().
Referenced by ThreadedBasebandSampleSink::feed().
SampleSinkFifo ThreadedBasebandSampleSinkFifo::m_sampleFifo |
Definition at line 45 of file threadedbasebandsamplesink.h.
Referenced by handleFifoData(), ThreadedBasebandSampleSinkFifo(), writeToFifo(), and ~ThreadedBasebandSampleSinkFifo().
BasebandSampleSink* ThreadedBasebandSampleSinkFifo::m_sampleSink |
Definition at line 44 of file threadedbasebandsamplesink.h.
Referenced by handleFifoData().