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 <kiwisdrworker.h>
Inherits QObject.
Public Slots | |
void | onCenterFrequencyChanged (quint64 centerFrequency) |
void | onServerAddressChanged (QString serverAddress) |
void | onGainChanged (quint32 gain, bool useAGC) |
Signals | |
void | updateStatus (int status) |
Public Member Functions | |
KiwiSDRWorker (SampleSinkFifo *sampleFifo) | |
int | getStatus () const |
Private Slots | |
void | onConnected () |
void | onDisconnected () |
void | onBinaryMessageReceived (const QByteArray &message) |
void | onSocketError (QAbstractSocket::SocketError error) |
void | tick () |
Private Member Functions | |
void | sendCenterFrequency () |
void | sendGain () |
Private Attributes | |
QTimer | m_timer |
QWebSocket | m_webSocket |
SampleVector | m_samplesBuf |
SampleSinkFifo * | m_sampleFifo |
QString | m_serverAddress |
uint64_t | m_centerFrequency |
uint32_t | m_gain |
bool | m_useAGC |
int | m_status |
See GUI for status number detail. More... | |
Definition at line 26 of file kiwisdrworker.h.
KiwiSDRWorker::KiwiSDRWorker | ( | SampleSinkFifo * | sampleFifo | ) |
Definition at line 21 of file kiwisdrworker.cpp.
References m_timer, m_webSocket, onBinaryMessageReceived(), onConnected(), onDisconnected(), onSocketError(), and tick().
|
inline |
Definition at line 31 of file kiwisdrworker.h.
References m_status.
Referenced by KiwiSDRInput::getStatus().
|
privateslot |
Definition at line 84 of file kiwisdrworker.cpp.
References i, m_sampleFifo, m_samplesBuf, m_status, m_timer, m_webSocket, SDR_RX_SAMP_SZ, sendCenterFrequency(), sendGain(), updateStatus(), and SampleSinkFifo::write().
Referenced by KiwiSDRWorker().
|
slot |
Definition at line 120 of file kiwisdrworker.cpp.
References m_centerFrequency, and sendCenterFrequency().
Referenced by KiwiSDRInput::start().
|
privateslot |
Definition at line 44 of file kiwisdrworker.cpp.
References m_webSocket.
Referenced by KiwiSDRWorker().
|
privateslot |
Definition at line 49 of file kiwisdrworker.cpp.
References m_status, and updateStatus().
Referenced by KiwiSDRWorker().
|
slot |
Definition at line 129 of file kiwisdrworker.cpp.
References m_gain, m_useAGC, and sendGain().
Referenced by KiwiSDRInput::start().
|
slot |
Definition at line 140 of file kiwisdrworker.cpp.
References m_serverAddress, m_status, m_webSocket, and updateStatus().
Referenced by KiwiSDRInput::start().
|
privateslot |
Definition at line 56 of file kiwisdrworker.cpp.
References m_status, and updateStatus().
Referenced by KiwiSDRWorker().
|
private |
Definition at line 62 of file kiwisdrworker.cpp.
References m_centerFrequency, and m_webSocket.
Referenced by onBinaryMessageReceived(), and onCenterFrequencyChanged().
|
private |
Definition at line 72 of file kiwisdrworker.cpp.
References m_gain, m_useAGC, and m_webSocket.
Referenced by onBinaryMessageReceived(), and onGainChanged().
|
privateslot |
Definition at line 157 of file kiwisdrworker.cpp.
References m_webSocket.
Referenced by KiwiSDRWorker().
|
signal |
Referenced by onBinaryMessageReceived(), onDisconnected(), onServerAddressChanged(), onSocketError(), and KiwiSDRInput::start().
|
private |
Definition at line 41 of file kiwisdrworker.h.
Referenced by onCenterFrequencyChanged(), and sendCenterFrequency().
|
private |
Definition at line 43 of file kiwisdrworker.h.
Referenced by onGainChanged(), and sendGain().
|
private |
Definition at line 38 of file kiwisdrworker.h.
Referenced by onBinaryMessageReceived().
|
private |
Definition at line 37 of file kiwisdrworker.h.
Referenced by onBinaryMessageReceived().
|
private |
Definition at line 40 of file kiwisdrworker.h.
Referenced by onServerAddressChanged().
|
private |
See GUI for status number detail.
Definition at line 46 of file kiwisdrworker.h.
Referenced by getStatus(), onBinaryMessageReceived(), onDisconnected(), onServerAddressChanged(), and onSocketError().
|
private |
Definition at line 34 of file kiwisdrworker.h.
Referenced by KiwiSDRWorker(), and onBinaryMessageReceived().
|
private |
Definition at line 44 of file kiwisdrworker.h.
Referenced by onGainChanged(), and sendGain().
|
private |
Definition at line 35 of file kiwisdrworker.h.
Referenced by KiwiSDRWorker(), onBinaryMessageReceived(), onConnected(), onServerAddressChanged(), sendCenterFrequency(), sendGain(), and tick().