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 <localsourcethread.h>
Inherits QThread.
Classes | |
class | MsgStartStop |
Public Slots | |
void | pullSamples (unsigned int count) |
Signals | |
void | samplesAvailable (int offset) |
Public Member Functions | |
LocalSourceThread (QObject *parent=0) | |
~LocalSourceThread () | |
void | startStop (bool start) |
void | setSampleFifo (SampleSourceFifo *sampleFifo) |
Private Slots | |
void | handleInputMessages () |
Private Member Functions | |
void | startWork () |
void | stopWork () |
void | run () |
Private Attributes | |
QMutex | m_startWaitMutex |
QWaitCondition | m_startWaiter |
volatile bool | m_running |
SampleSourceFifo * | m_sampleFifo |
MessageQueue | m_inputMessageQueue |
Definition at line 31 of file localsourcethread.h.
LocalSourceThread::LocalSourceThread | ( | QObject * | parent = 0 | ) |
Definition at line 24 of file localsourcethread.cpp.
Referenced by LocalSourceThread::MsgStartStop::MsgStartStop().
LocalSourceThread::~LocalSourceThread | ( | ) |
Definition at line 32 of file localsourcethread.cpp.
Referenced by LocalSourceThread::MsgStartStop::MsgStartStop().
|
privateslot |
Definition at line 90 of file localsourcethread.cpp.
References LocalSourceThread::MsgStartStop::getStartStop(), m_inputMessageQueue, Message::match(), MessageQueue::pop(), startWork(), and stopWork().
|
slot |
Definition at line 48 of file localsourcethread.cpp.
References SampleSourceFifo::getIteratorOffset(), m_sampleFifo, SampleSourceFifo::readAdvance(), and samplesAvailable().
Referenced by LocalSourceThread::MsgStartStop::MsgStartStop().
|
private |
|
signal |
Referenced by LocalSourceThread::MsgStartStop::MsgStartStop(), and pullSamples().
void LocalSourceThread::setSampleFifo | ( | SampleSourceFifo * | sampleFifo | ) |
Definition at line 43 of file localsourcethread.cpp.
References m_sampleFifo.
Referenced by LocalSource::applySettings(), LocalSourceThread::MsgStartStop::MsgStartStop(), and LocalSource::start().
void LocalSourceThread::startStop | ( | bool | start | ) |
Definition at line 37 of file localsourcethread.cpp.
References LocalSourceThread::MsgStartStop::create(), m_inputMessageQueue, and MessageQueue::push().
Referenced by LocalSourceThread::MsgStartStop::MsgStartStop(), LocalSource::start(), and LocalSource::stop().
|
private |
Definition at line 55 of file localsourcethread.cpp.
References m_running, m_startWaiter, and m_startWaitMutex.
Referenced by handleInputMessages().
|
private |
Definition at line 68 of file localsourcethread.cpp.
References m_running.
Referenced by handleInputMessages().
|
private |
Definition at line 72 of file localsourcethread.h.
Referenced by handleInputMessages(), and startStop().
|
private |
Definition at line 69 of file localsourcethread.h.
Referenced by run(), startWork(), and stopWork().
|
private |
Definition at line 70 of file localsourcethread.h.
Referenced by pullSamples(), and setSampleFifo().
|
private |
Definition at line 68 of file localsourcethread.h.
Referenced by run(), and startWork().
|
private |
Definition at line 67 of file localsourcethread.h.
Referenced by startWork().