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 <localsinkthread.h>
Inherits QThread.
Classes | |
class | MsgStartStop |
Public Slots | |
void | processSamples (const quint8 *data, uint count) |
Public Member Functions | |
LocalSinkThread (QObject *parent=0) | |
~LocalSinkThread () | |
void | startStop (bool start) |
void | setSampleFifo (SampleSinkFifo *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 |
SampleSinkFifo * | m_sampleFifo |
MessageQueue | m_inputMessageQueue |
Definition at line 31 of file localsinkthread.h.
LocalSinkThread::LocalSinkThread | ( | QObject * | parent = 0 | ) |
Definition at line 24 of file localsinkthread.cpp.
Referenced by LocalSinkThread::MsgStartStop::MsgStartStop().
LocalSinkThread::~LocalSinkThread | ( | ) |
Definition at line 32 of file localsinkthread.cpp.
Referenced by LocalSinkThread::MsgStartStop::MsgStartStop().
|
privateslot |
Definition at line 82 of file localsinkthread.cpp.
References LocalSinkThread::MsgStartStop::getStartStop(), m_inputMessageQueue, Message::match(), MessageQueue::pop(), startWork(), and stopWork().
|
slot |
Definition at line 75 of file localsinkthread.cpp.
References m_sampleFifo, and SampleSinkFifo::write().
Referenced by setSampleFifo().
|
private |
|
inline |
Definition at line 58 of file localsinkthread.h.
References m_sampleFifo, and processSamples().
Referenced by LocalSink::applySettings(), and LocalSink::start().
void LocalSinkThread::startStop | ( | bool | start | ) |
Definition at line 37 of file localsinkthread.cpp.
References LocalSinkThread::MsgStartStop::create(), m_inputMessageQueue, and MessageQueue::push().
Referenced by LocalSinkThread::MsgStartStop::MsgStartStop(), LocalSink::start(), and LocalSink::stop().
|
private |
Definition at line 43 of file localsinkthread.cpp.
References m_running, m_startWaiter, and m_startWaitMutex.
Referenced by handleInputMessages().
|
private |
Definition at line 53 of file localsinkthread.cpp.
References m_running.
Referenced by handleInputMessages().
|
private |
Definition at line 69 of file localsinkthread.h.
Referenced by handleInputMessages(), and startStop().
|
private |
Definition at line 66 of file localsinkthread.h.
Referenced by run(), startWork(), and stopWork().
|
private |
Definition at line 67 of file localsinkthread.h.
Referenced by processSamples(), and setSampleFifo().
|
private |
Definition at line 65 of file localsinkthread.h.
Referenced by run(), and startWork().
|
private |
Definition at line 64 of file localsinkthread.h.
Referenced by startWork().