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 <localinputgui.h>
Public Member Functions | |
LocalInputGui (DeviceUISet *deviceUISet, QWidget *parent=0) | |
virtual | ~LocalInputGui () |
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_dcOffset_toggled (bool checked) |
void | on_iqImbalance_toggled (bool checked) |
void | on_startStop_toggled (bool checked) |
void | on_record_toggled (bool checked) |
void | updateHardware () |
void | updateStatus () |
void | openDeviceSettingsDialog (const QPoint &p) |
Private Member Functions | |
void | blockApplySettings (bool block) |
void | displaySettings () |
void | displayTime () |
void | sendSettings () |
void | updateSampleRateAndFrequency () |
Definition at line 39 of file localinputgui.h.
|
explicit |
Definition at line 47 of file localinputgui.cpp.
References 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, openDeviceSettingsDialog(), sendSettings(), LocalInput::setMessageQueueToGUI(), ui, updateHardware(), and updateStatus().
|
virtual |
Definition at line 109 of file localinputgui.cpp.
References m_networkManager, and ui.
|
private |
Definition at line 116 of file localinputgui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), handleMessage(), and updateSampleRateAndFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 149 of file localinputgui.cpp.
References LocalInputSettings::deserialize(), displaySettings(), m_forceSettings, m_settings, and sendSettings().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 121 of file localinputgui.cpp.
|
private |
Definition at line 259 of file localinputgui.cpp.
References arg(), blockApplySettings(), LocalInputSettings::m_dcBlock, LocalInputSettings::m_iqCorrection, m_settings, m_streamCenterFrequency, m_streamSampleRate, and ui.
Referenced by deserialize(), handleMessage(), LocalInputGui(), and resetToDefaults().
|
private |
|
virtual |
Implements PluginInstanceGUI.
Definition at line 167 of file localinputgui.cpp.
References m_streamCenterFrequency.
|
inlinevirtual |
|
virtual |
Implements PluginInstanceGUI.
Definition at line 131 of file localinputgui.cpp.
|
privateslot |
Definition at line 212 of file localinputgui.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 LocalInputGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 177 of file localinputgui.cpp.
References blockApplySettings(), displaySettings(), LocalInput::MsgReportSampleRateAndFrequency::getCenterFrequency(), LocalInput::MsgReportSampleRateAndFrequency::getSampleRate(), LocalInput::MsgConfigureLocalInput::getSettings(), LocalInput::MsgStartStop::getStartStop(), m_settings, m_streamCenterFrequency, m_streamSampleRate, Message::match(), ui, and updateSampleRateAndFrequency().
Referenced by handleInputMessages().
|
privateslot |
Definition at line 279 of file localinputgui.cpp.
References LocalInputSettings::m_dcBlock, m_settings, and sendSettings().
|
privateslot |
Definition at line 285 of file localinputgui.cpp.
References LocalInputSettings::m_iqCorrection, m_settings, and sendSettings().
|
privateslot |
Definition at line 300 of file localinputgui.cpp.
References LocalInput::MsgFileRecord::create(), DeviceSampleSource::getInputMessageQueue(), m_sampleSource, MessageQueue::push(), and ui.
|
privateslot |
Definition at line 291 of file localinputgui.cpp.
References LocalInput::MsgStartStop::create(), DeviceSampleSource::getInputMessageQueue(), m_doApplySettings, m_sampleSource, and MessageQueue::push().
|
privateslot |
Definition at line 354 of file localinputgui.cpp.
References BasicDeviceSettingsDialog::getReverseAPIAddress(), BasicDeviceSettingsDialog::getReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::getReverseAPIPort(), LocalInputSettings::m_reverseAPIAddress, LocalInputSettings::m_reverseAPIDeviceIndex, LocalInputSettings::m_reverseAPIPort, m_settings, LocalInputSettings::m_useReverseAPI, sendSettings(), BasicDeviceSettingsDialog::setReverseAPIAddress(), BasicDeviceSettingsDialog::setReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::setReverseAPIPort(), BasicDeviceSettingsDialog::setUseReverseAPI(), and BasicDeviceSettingsDialog::useReverseAPI().
Referenced by LocalInputGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 136 of file localinputgui.cpp.
References displaySettings(), m_forceSettings, m_settings, LocalInputSettings::resetToDefaults(), and sendSettings().
|
private |
Definition at line 273 of file localinputgui.cpp.
References m_updateTimer.
Referenced by deserialize(), LocalInputGui(), on_dcOffset_toggled(), on_iqImbalance_toggled(), openDeviceSettingsDialog(), and resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 144 of file localinputgui.cpp.
References m_settings, and LocalInputSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 172 of file localinputgui.cpp.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 126 of file localinputgui.cpp.
|
privateslot |
Definition at line 312 of file localinputgui.cpp.
References LocalInput::MsgConfigureLocalInput::create(), DeviceSampleSource::getInputMessageQueue(), m_doApplySettings, m_forceSettings, m_sampleSource, m_settings, m_updateTimer, and MessageQueue::push().
Referenced by LocalInputGui().
|
private |
Definition at line 248 of file localinputgui.cpp.
References arg(), blockApplySettings(), DeviceUISet::getSpectrum(), m_deviceUISet, m_streamCenterFrequency, m_streamSampleRate, GLSpectrum::setCenterFrequency(), GLSpectrum::setSampleRate(), and ui.
Referenced by handleInputMessages(), and handleMessage().
|
privateslot |
Definition at line 325 of file localinputgui.cpp.
References DeviceAPI::errorMessage(), DeviceUISet::m_deviceAPI, m_deviceUISet, m_lastEngineState, DeviceAPI::state(), DeviceAPI::StError, DeviceAPI::StIdle, DeviceAPI::StNotStarted, DeviceAPI::StRunning, and ui.
Referenced by LocalInputGui().
|
private |
Definition at line 64 of file localinputgui.h.
|
private |
Definition at line 93 of file localinputgui.h.
|
private |
Definition at line 76 of file localinputgui.h.
|
private |
Definition at line 82 of file localinputgui.h.
|
private |
Definition at line 83 of file localinputgui.h.
|
private |
Definition at line 84 of file localinputgui.h.
|
private |
Definition at line 78 of file localinputgui.h.
|
private |
Definition at line 77 of file localinputgui.h.
|
private |
Definition at line 97 of file localinputgui.h.
|
private |
Definition at line 96 of file localinputgui.h.
|
private |
Definition at line 94 of file localinputgui.h.
|
private |
Definition at line 61 of file localinputgui.h.
Referenced by LocalInputGui(), updateSampleRateAndFrequency(), and updateStatus().
|
private |
Definition at line 100 of file localinputgui.h.
Referenced by blockApplySettings(), on_startStop_toggled(), and updateHardware().
|
private |
Definition at line 98 of file localinputgui.h.
Referenced by LocalInputGui().
|
private |
Definition at line 101 of file localinputgui.h.
Referenced by deserialize(), LocalInputGui(), resetToDefaults(), and updateHardware().
|
private |
Definition at line 75 of file localinputgui.h.
|
private |
Definition at line 70 of file localinputgui.h.
Referenced by handleInputMessages(), and LocalInputGui().
|
private |
Definition at line 69 of file localinputgui.h.
Referenced by updateStatus().
|
private |
Definition at line 81 of file localinputgui.h.
|
private |
Definition at line 79 of file localinputgui.h.
|
private |
Definition at line 80 of file localinputgui.h.
|
private |
Definition at line 86 of file localinputgui.h.
|
private |
Definition at line 85 of file localinputgui.h.
|
private |
Definition at line 107 of file localinputgui.h.
Referenced by LocalInputGui(), and ~LocalInputGui().
|
private |
Definition at line 108 of file localinputgui.h.
|
private |
Definition at line 104 of file localinputgui.h.
Referenced by LocalInputGui().
|
private |
Definition at line 105 of file localinputgui.h.
Referenced by LocalInputGui().
|
private |
Definition at line 87 of file localinputgui.h.
|
private |
Definition at line 88 of file localinputgui.h.
|
private |
Definition at line 90 of file localinputgui.h.
|
private |
Definition at line 63 of file localinputgui.h.
Referenced by handleInputMessages(), LocalInputGui(), on_record_toggled(), on_startStop_toggled(), and updateHardware().
|
private |
current settings
Definition at line 62 of file localinputgui.h.
Referenced by deserialize(), displaySettings(), handleMessage(), on_dcOffset_toggled(), on_iqImbalance_toggled(), openDeviceSettingsDialog(), resetToDefaults(), serialize(), and updateHardware().
|
private |
Definition at line 74 of file localinputgui.h.
Referenced by LocalInputGui().
|
private |
Definition at line 68 of file localinputgui.h.
Referenced by LocalInputGui().
|
private |
Center frequency of received stream.
Definition at line 66 of file localinputgui.h.
Referenced by displaySettings(), getCenterFrequency(), handleInputMessages(), handleMessage(), and updateSampleRateAndFrequency().
|
private |
Sample rate of received stream.
Definition at line 65 of file localinputgui.h.
Referenced by displaySettings(), handleInputMessages(), handleMessage(), and updateSampleRateAndFrequency().
|
private |
Definition at line 91 of file localinputgui.h.
|
private |
Definition at line 102 of file localinputgui.h.
|
private |
Definition at line 67 of file localinputgui.h.
Referenced by LocalInputGui(), sendSettings(), and updateHardware().
|
private |
Definition at line 59 of file localinputgui.h.
Referenced by displaySettings(), handleMessage(), LocalInputGui(), on_record_toggled(), updateSampleRateAndFrequency(), updateStatus(), and ~LocalInputGui().