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 <remoteinputgui.h>
Public Member Functions | |
RemoteInputGui (DeviceUISet *deviceUISet, QWidget *parent=0) | |
virtual | ~RemoteInputGui () |
virtual void | destroy () |
void | setName (const QString &name) |
QString | getName () const |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
virtual qint64 | getCenterFrequency () const |
virtual void | setCenterFrequency (qint64 centerFrequency) |
virtual MessageQueue * | getInputMessageQueue () |
virtual bool | handleMessage (const Message &message) |
Public Member Functions inherited from PluginInstanceGUI | |
PluginInstanceGUI () | |
virtual | ~PluginInstanceGUI () |
Private Slots | |
void | handleInputMessages () |
void | on_apiApplyButton_clicked (bool checked) |
void | on_dataApplyButton_clicked (bool checked) |
void | on_dcOffset_toggled (bool checked) |
void | on_iqImbalance_toggled (bool checked) |
void | on_apiAddress_returnPressed () |
void | on_apiPort_returnPressed () |
void | on_dataAddress_returnPressed () |
void | on_dataPort_returnPressed () |
void | on_startStop_toggled (bool checked) |
void | on_record_toggled (bool checked) |
void | on_eventCountsReset_clicked (bool checked) |
void | updateHardware () |
void | updateStatus () |
void | networkManagerFinished (QNetworkReply *reply) |
void | openDeviceSettingsDialog (const QPoint &p) |
Private Member Functions | |
void | blockApplySettings (bool block) |
void | displaySettings () |
void | displayTime () |
void | sendSettings () |
void | updateWithAcquisition () |
void | updateWithStreamTime () |
void | updateSampleRateAndFrequency () |
void | displayEventCounts () |
void | displayEventTimer () |
void | analyzeApiReply (const QJsonObject &jsonObject) |
Definition at line 39 of file remoteinputgui.h.
|
explicit |
Definition at line 47 of file remoteinputgui.cpp.
References displayEventCounts(), displayEventTimer(), displaySettings(), DeviceAPI::getSampleSource(), ColorMapper::GrayGold, handleInputMessages(), DeviceUISet::m_deviceAPI, m_deviceUISet, m_eventsTime, m_forceSettings, m_inputMessageQueue, m_networkManager, m_paletteGreenText, m_paletteWhiteText, m_sampleSource, m_startingTimeStampms, m_statusTimer, m_updateTimer, networkManagerFinished(), openDeviceSettingsDialog(), sendSettings(), RemoteInput::setMessageQueueToGUI(), ui, updateHardware(), and updateStatus().
|
virtual |
Definition at line 111 of file remoteinputgui.cpp.
References m_networkManager, networkManagerFinished(), and ui.
|
private |
Definition at line 617 of file remoteinputgui.cpp.
References ui.
Referenced by networkManagerFinished().
|
private |
Definition at line 118 of file remoteinputgui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), handleMessage(), and updateSampleRateAndFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 151 of file remoteinputgui.cpp.
References RemoteInputSettings::deserialize(), displaySettings(), m_forceSettings, m_settings, and sendSettings().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 123 of file remoteinputgui.cpp.
|
private |
Definition at line 450 of file remoteinputgui.cpp.
References m_countRecovered, m_countUnrecoverable, and ui.
Referenced by on_eventCountsReset_clicked(), RemoteInputGui(), and updateWithStreamTime().
|
private |
Definition at line 458 of file remoteinputgui.cpp.
References m_eventsTime, and ui.
Referenced by on_eventCountsReset_clicked(), RemoteInputGui(), and updateWithStreamTime().
|
private |
Definition at line 294 of file remoteinputgui.cpp.
References arg(), blockApplySettings(), RemoteInputSettings::m_apiAddress, RemoteInputSettings::m_apiPort, RemoteInputSettings::m_dataAddress, RemoteInputSettings::m_dataPort, RemoteInputSettings::m_dcBlock, RemoteInputSettings::m_iqCorrection, m_settings, m_streamCenterFrequency, m_streamSampleRate, and ui.
Referenced by deserialize(), handleMessage(), RemoteInputGui(), and resetToDefaults().
|
private |
|
virtual |
Implements PluginInstanceGUI.
Definition at line 169 of file remoteinputgui.cpp.
References m_streamCenterFrequency.
|
inlinevirtual |
|
virtual |
Implements PluginInstanceGUI.
Definition at line 133 of file remoteinputgui.cpp.
|
privateslot |
Definition at line 247 of file remoteinputgui.cpp.
References DSPSignalNotification::getCenterFrequency(), DeviceSampleSource::getInputMessageQueue(), DSPSignalNotification::getSampleRate(), handleMessage(), m_inputMessageQueue, m_sampleSource, m_streamCenterFrequency, m_streamSampleRate, Message::match(), MessageQueue::pop(), MessageQueue::push(), and updateSampleRateAndFrequency().
Referenced by RemoteInputGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 179 of file remoteinputgui.cpp.
References blockApplySettings(), displaySettings(), RemoteInput::MsgConfigureRemoteInput::getSettings(), RemoteInput::MsgStartStop::getStartStop(), m_acquisition, m_allBlocksReceived, m_avgNbBlocks, m_avgNbOriginalBlocks, m_avgNbRecovery, m_bufferGauge, m_bufferLengthInSecs, m_framesDecodingStatus, m_maxNbRecovery, m_minNbBlocks, m_minNbOriginalBlocks, m_nbFECBlocks, m_nbOriginalBlocks, m_sampleBits, m_sampleBytes, m_settings, m_startingTimeStampms, Message::match(), ui, updateWithAcquisition(), and updateWithStreamTime().
Referenced by handleInputMessages().
|
privateslot |
Definition at line 577 of file remoteinputgui.cpp.
References analyzeApiReply(), and ui.
Referenced by RemoteInputGui(), and ~RemoteInputGui().
|
privateslot |
Definition at line 353 of file remoteinputgui.cpp.
References RemoteInputSettings::m_apiAddress, RemoteInputSettings::m_apiPort, m_networkManager, m_networkRequest, m_settings, sendSettings(), and ui.
|
privateslot |
Definition at line 319 of file remoteinputgui.cpp.
References RemoteInputSettings::m_apiAddress, RemoteInputSettings::m_apiPort, m_networkManager, m_networkRequest, m_settings, sendSettings(), and ui.
|
privateslot |
Definition at line 386 of file remoteinputgui.cpp.
References RemoteInputSettings::m_apiAddress, RemoteInputSettings::m_apiPort, m_networkManager, m_networkRequest, m_settings, sendSettings(), and ui.
|
privateslot |
Definition at line 364 of file remoteinputgui.cpp.
References RemoteInputSettings::m_dataAddress, m_settings, sendSettings(), and ui.
|
privateslot |
Definition at line 338 of file remoteinputgui.cpp.
References RemoteInputSettings::m_dataAddress, RemoteInputSettings::m_dataPort, m_settings, sendSettings(), and ui.
|
privateslot |
Definition at line 370 of file remoteinputgui.cpp.
References RemoteInputSettings::m_dataPort, m_settings, sendSettings(), and ui.
|
privateslot |
Definition at line 407 of file remoteinputgui.cpp.
References RemoteInputSettings::m_dcBlock, m_settings, and sendSettings().
|
privateslot |
Definition at line 440 of file remoteinputgui.cpp.
References displayEventCounts(), displayEventTimer(), m_countRecovered, m_countUnrecoverable, and m_eventsTime.
|
privateslot |
Definition at line 413 of file remoteinputgui.cpp.
References RemoteInputSettings::m_iqCorrection, m_settings, and sendSettings().
|
privateslot |
Definition at line 428 of file remoteinputgui.cpp.
References RemoteInput::MsgFileRecord::create(), DeviceSampleSource::getInputMessageQueue(), m_sampleSource, MessageQueue::push(), and ui.
|
privateslot |
Definition at line 419 of file remoteinputgui.cpp.
References RemoteInput::MsgStartStop::create(), DeviceSampleSource::getInputMessageQueue(), m_doApplySettings, m_sampleSource, and MessageQueue::push().
|
privateslot |
Definition at line 646 of file remoteinputgui.cpp.
References BasicDeviceSettingsDialog::getReverseAPIAddress(), BasicDeviceSettingsDialog::getReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::getReverseAPIPort(), RemoteInputSettings::m_reverseAPIAddress, RemoteInputSettings::m_reverseAPIDeviceIndex, RemoteInputSettings::m_reverseAPIPort, m_settings, RemoteInputSettings::m_useReverseAPI, sendSettings(), BasicDeviceSettingsDialog::setReverseAPIAddress(), BasicDeviceSettingsDialog::setReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::setReverseAPIPort(), BasicDeviceSettingsDialog::setUseReverseAPI(), and BasicDeviceSettingsDialog::useReverseAPI().
Referenced by RemoteInputGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 138 of file remoteinputgui.cpp.
References displaySettings(), m_forceSettings, m_settings, RemoteInputSettings::resetToDefaults(), and sendSettings().
|
private |
Definition at line 313 of file remoteinputgui.cpp.
References m_updateTimer.
Referenced by deserialize(), on_apiAddress_returnPressed(), on_apiApplyButton_clicked(), on_apiPort_returnPressed(), on_dataAddress_returnPressed(), on_dataApplyButton_clicked(), on_dataPort_returnPressed(), on_dcOffset_toggled(), on_iqImbalance_toggled(), openDeviceSettingsDialog(), RemoteInputGui(), and resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 146 of file remoteinputgui.cpp.
References m_settings, and RemoteInputSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 174 of file remoteinputgui.cpp.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 128 of file remoteinputgui.cpp.
|
privateslot |
Definition at line 524 of file remoteinputgui.cpp.
References RemoteInput::MsgConfigureRemoteInput::create(), DeviceSampleSource::getInputMessageQueue(), m_doApplySettings, m_forceSettings, m_sampleSource, m_settings, m_updateTimer, and MessageQueue::push().
Referenced by RemoteInputGui().
|
private |
Definition at line 283 of file remoteinputgui.cpp.
References arg(), blockApplySettings(), DeviceUISet::getSpectrum(), m_deviceUISet, m_streamCenterFrequency, m_streamSampleRate, GLSpectrum::setCenterFrequency(), GLSpectrum::setSampleRate(), and ui.
Referenced by handleInputMessages().
|
privateslot |
Definition at line 537 of file remoteinputgui.cpp.
References DeviceAPI::errorMessage(), RemoteInput::isStreaming(), DeviceUISet::m_deviceAPI, m_deviceUISet, m_lastEngineState, m_sampleSource, DeviceAPI::state(), DeviceAPI::StError, DeviceAPI::StIdle, DeviceAPI::StNotStarted, DeviceAPI::StRunning, and ui.
Referenced by RemoteInputGui().
|
private |
Definition at line 467 of file remoteinputgui.cpp.
Referenced by handleMessage().
|
private |
Definition at line 471 of file remoteinputgui.cpp.
References arg(), displayEventCounts(), displayEventTimer(), m_bufferGauge, m_bufferLengthInSecs, m_countRecovered, m_countUnrecoverable, m_framesDecodingStatus, m_maxNbRecovery, m_minNbBlocks, m_nbFECBlocks, m_nbOriginalBlocks, m_sampleBits, m_startingTimeStampms, and ui.
Referenced by handleMessage().
|
private |
Definition at line 64 of file remoteinputgui.h.
Referenced by handleMessage().
|
private |
Definition at line 93 of file remoteinputgui.h.
|
private |
Definition at line 76 of file remoteinputgui.h.
Referenced by handleMessage().
|
private |
Definition at line 82 of file remoteinputgui.h.
Referenced by handleMessage().
|
private |
Definition at line 83 of file remoteinputgui.h.
Referenced by handleMessage().
|
private |
Definition at line 84 of file remoteinputgui.h.
Referenced by handleMessage().
|
private |
Definition at line 78 of file remoteinputgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 77 of file remoteinputgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 97 of file remoteinputgui.h.
Referenced by displayEventCounts(), on_eventCountsReset_clicked(), and updateWithStreamTime().
|
private |
Definition at line 96 of file remoteinputgui.h.
Referenced by displayEventCounts(), on_eventCountsReset_clicked(), and updateWithStreamTime().
|
private |
Definition at line 94 of file remoteinputgui.h.
|
private |
Definition at line 61 of file remoteinputgui.h.
Referenced by RemoteInputGui(), updateSampleRateAndFrequency(), and updateStatus().
|
private |
Definition at line 100 of file remoteinputgui.h.
Referenced by blockApplySettings(), on_startStop_toggled(), and updateHardware().
|
private |
Definition at line 98 of file remoteinputgui.h.
Referenced by displayEventTimer(), on_eventCountsReset_clicked(), and RemoteInputGui().
|
private |
Definition at line 101 of file remoteinputgui.h.
Referenced by deserialize(), RemoteInputGui(), resetToDefaults(), and updateHardware().
|
private |
Definition at line 75 of file remoteinputgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 70 of file remoteinputgui.h.
Referenced by handleInputMessages(), and RemoteInputGui().
|
private |
Definition at line 69 of file remoteinputgui.h.
Referenced by updateStatus().
|
private |
Definition at line 81 of file remoteinputgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 79 of file remoteinputgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 80 of file remoteinputgui.h.
Referenced by handleMessage().
|
private |
Definition at line 86 of file remoteinputgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 85 of file remoteinputgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 107 of file remoteinputgui.h.
Referenced by on_apiAddress_returnPressed(), on_apiApplyButton_clicked(), on_apiPort_returnPressed(), RemoteInputGui(), and ~RemoteInputGui().
|
private |
Definition at line 108 of file remoteinputgui.h.
Referenced by on_apiAddress_returnPressed(), on_apiApplyButton_clicked(), and on_apiPort_returnPressed().
|
private |
Definition at line 104 of file remoteinputgui.h.
Referenced by RemoteInputGui().
|
private |
Definition at line 105 of file remoteinputgui.h.
Referenced by RemoteInputGui().
|
private |
Definition at line 87 of file remoteinputgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 88 of file remoteinputgui.h.
Referenced by handleMessage().
|
private |
Definition at line 90 of file remoteinputgui.h.
|
private |
Definition at line 63 of file remoteinputgui.h.
Referenced by handleInputMessages(), on_record_toggled(), on_startStop_toggled(), RemoteInputGui(), updateHardware(), and updateStatus().
|
private |
current settings
Definition at line 62 of file remoteinputgui.h.
Referenced by deserialize(), displaySettings(), handleMessage(), on_apiAddress_returnPressed(), on_apiApplyButton_clicked(), on_apiPort_returnPressed(), on_dataAddress_returnPressed(), on_dataApplyButton_clicked(), on_dataPort_returnPressed(), on_dcOffset_toggled(), on_iqImbalance_toggled(), openDeviceSettingsDialog(), resetToDefaults(), serialize(), and updateHardware().
|
private |
Definition at line 74 of file remoteinputgui.h.
Referenced by handleMessage(), RemoteInputGui(), and updateWithStreamTime().
|
private |
Definition at line 68 of file remoteinputgui.h.
Referenced by RemoteInputGui().
|
private |
Center frequency of received stream.
Definition at line 66 of file remoteinputgui.h.
Referenced by displaySettings(), getCenterFrequency(), handleInputMessages(), and updateSampleRateAndFrequency().
|
private |
Sample rate of received stream.
Definition at line 65 of file remoteinputgui.h.
Referenced by displaySettings(), handleInputMessages(), and updateSampleRateAndFrequency().
|
private |
Definition at line 91 of file remoteinputgui.h.
|
private |
Definition at line 102 of file remoteinputgui.h.
|
private |
Definition at line 67 of file remoteinputgui.h.
Referenced by RemoteInputGui(), sendSettings(), and updateHardware().
|
private |
Definition at line 59 of file remoteinputgui.h.
Referenced by analyzeApiReply(), displayEventCounts(), displayEventTimer(), displaySettings(), handleMessage(), networkManagerFinished(), on_apiAddress_returnPressed(), on_apiApplyButton_clicked(), on_apiPort_returnPressed(), on_dataAddress_returnPressed(), on_dataApplyButton_clicked(), on_dataPort_returnPressed(), on_record_toggled(), RemoteInputGui(), updateSampleRateAndFrequency(), updateStatus(), updateWithStreamTime(), and ~RemoteInputGui().