![]() |
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 <perseusthread.h>
Inherits QThread.
Collaboration diagram for PerseusThread:Public Member Functions | |
| PerseusThread (perseus_descr *dev, SampleSinkFifo *sampleFifo, QObject *parent=0) | |
| ~PerseusThread () | |
| void | startWork () |
| void | stopWork () |
| void | setLog2Decimation (unsigned int log2_decim) |
Private Member Functions | |
| void | run () |
| void | callback (const uint8_t *buf, qint32 len) |
Static Private Member Functions | |
| static int | rx_callback (void *buf, int buf_size, void *extra) |
Private Attributes | |
| QMutex | m_startWaitMutex |
| QWaitCondition | m_startWaiter |
| volatile bool | m_running |
| perseus_descr * | m_dev |
| qint32 | m_buf [2 *PERSEUS_NBSAMPLES] |
| SampleVector | m_convertBuffer |
| SampleSinkFifo * | m_sampleFifo |
| unsigned int | m_log2Decim |
| Decimators< qint32, TripleByteLE< qint32 >, SDR_RX_SAMP_SZ, 24 > | m_decimators32 |
| Decimators< qint32, TripleByteLE< qint64 >, SDR_RX_SAMP_SZ, 24 > | m_decimators64 |
Static Private Attributes | |
| static PerseusThread * | m_this = 0 |
Definition at line 32 of file perseusthread.h.
| PerseusThread::PerseusThread | ( | perseus_descr * | dev, |
| SampleSinkFifo * | sampleFifo, | ||
| QObject * | parent = 0 |
||
| ) |
| PerseusThread::~PerseusThread | ( | ) |
Definition at line 36 of file perseusthread.cpp.
References m_this, and stopWork().
Here is the call graph for this function:
|
private |
Definition at line 93 of file perseusthread.cpp.
References Decimators< StorageType, T, SdrBits, InputBits >::decimate1(), Decimators< StorageType, T, SdrBits, InputBits >::decimate2_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate4_cen(), m_convertBuffer, m_decimators32, m_decimators64, m_log2Decim, m_sampleFifo, and SampleSinkFifo::write().
Referenced by rx_callback().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 64 of file perseusthread.cpp.
References m_dev, m_running, m_startWaiter, PERSEUS_BLOCKSIZE, and rx_callback().
Here is the call graph for this function:
|
staticprivate |
Definition at line 115 of file perseusthread.cpp.
References callback(), and m_this.
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:| void PerseusThread::setLog2Decimation | ( | unsigned int | log2_decim | ) |
Definition at line 59 of file perseusthread.cpp.
References m_log2Decim.
Referenced by PerseusInput::applySettings(), and PerseusInput::start().
Here is the caller graph for this function:| void PerseusThread::startWork | ( | ) |
Definition at line 42 of file perseusthread.cpp.
References m_running, m_startWaiter, and m_startWaitMutex.
Referenced by PerseusInput::start().
Here is the caller graph for this function:| void PerseusThread::stopWork | ( | ) |
Definition at line 52 of file perseusthread.cpp.
References m_running.
Referenced by PerseusInput::stop(), and ~PerseusThread().
Here is the caller graph for this function:
|
private |
Definition at line 49 of file perseusthread.h.
Referenced by PerseusThread().
|
private |
Definition at line 50 of file perseusthread.h.
Referenced by callback().
|
private |
Definition at line 56 of file perseusthread.h.
Referenced by callback().
|
private |
Definition at line 57 of file perseusthread.h.
Referenced by callback().
|
private |
Definition at line 48 of file perseusthread.h.
Referenced by run().
|
private |
Definition at line 53 of file perseusthread.h.
Referenced by callback(), and setLog2Decimation().
|
private |
Definition at line 46 of file perseusthread.h.
Referenced by run(), startWork(), and stopWork().
|
private |
Definition at line 51 of file perseusthread.h.
Referenced by callback().
|
private |
Definition at line 45 of file perseusthread.h.
Referenced by run(), and startWork().
|
private |
Definition at line 44 of file perseusthread.h.
Referenced by startWork().
|
staticprivate |
Definition at line 54 of file perseusthread.h.
Referenced by PerseusThread(), rx_callback(), and ~PerseusThread().
1.8.13