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 <plutosdroutputgui.h>
Public Member Functions | |
PlutoSDROutputGUI (DeviceUISet *deviceUISet, QWidget *parent=0) | |
virtual | ~PlutoSDROutputGUI () |
virtual void | destroy () |
virtual void | setName (const QString &name) |
virtual QString | getName () const |
virtual void | resetToDefaults () |
virtual qint64 | getCenterFrequency () const |
virtual void | setCenterFrequency (qint64 centerFrequency) |
virtual QByteArray | serialize () const |
virtual bool | deserialize (const QByteArray &data) |
virtual MessageQueue * | getInputMessageQueue () |
virtual bool | handleMessage (const Message &message) |
Public Member Functions inherited from PluginInstanceGUI | |
PluginInstanceGUI () | |
virtual | ~PluginInstanceGUI () |
Private Slots | |
void | on_startStop_toggled (bool checked) |
void | on_centerFrequency_changed (quint64 value) |
void | on_loPPM_valueChanged (int value) |
void | on_swInterp_currentIndexChanged (int index) |
void | on_sampleRate_changed (quint64 value) |
void | on_lpf_changed (quint64 value) |
void | on_lpFIREnable_toggled (bool checked) |
void | on_lpFIR_changed (quint64 value) |
void | on_lpFIRInterpolation_currentIndexChanged (int index) |
void | on_lpFIRGain_currentIndexChanged (int index) |
void | on_att_valueChanged (int value) |
void | on_antenna_currentIndexChanged (int index) |
void | on_transverter_clicked () |
void | on_sampleRateMode_toggled (bool checked) |
void | updateHardware () |
void | updateStatus () |
void | handleInputMessages () |
void | openDeviceSettingsDialog (const QPoint &p) |
Private Member Functions | |
void | displaySettings () |
void | displaySampleRate () |
void | sendSettings (bool forceSettings=false) |
void | blockApplySettings (bool block) |
void | updateSampleRateAndFrequency () |
void | setFIRBWLimits () |
void | setSampleRateLimits () |
void | updateFrequencyLimits () |
Private Attributes | |
Ui::PlutoSDROutputGUI * | ui |
DeviceUISet * | m_deviceUISet |
PlutoSDROutputSettings | m_settings |
bool | m_sampleRateMode |
true: device, false: base band sample rate update mode More... | |
bool | m_forceSettings |
QTimer | m_updateTimer |
QTimer | m_statusTimer |
DeviceSampleSink * | m_sampleSink |
int | m_sampleRate |
quint64 | m_deviceCenterFrequency |
Center frequency in device. More... | |
int | m_lastEngineState |
bool | m_doApplySettings |
uint32_t | m_statusCounter |
MessageQueue | m_inputMessageQueue |
Definition at line 38 of file plutosdroutputgui.h.
|
explicit |
Definition at line 34 of file plutosdroutputgui.cpp.
References blockApplySettings(), displaySettings(), DeviceAPI::getSampleSink(), ColorMapper::GrayGold, ColorMapper::GrayGreenYellow, ColorMapper::GrayYellow, handleInputMessages(), DeviceUISet::m_deviceAPI, m_deviceUISet, m_inputMessageQueue, m_sampleSink, m_statusTimer, m_updateTimer, openDeviceSettingsDialog(), DevicePlutoSDR::srHighLimitFreq, DevicePlutoSDR::srLowLimitFreq, ui, updateFrequencyLimits(), updateHardware(), and updateStatus().
|
virtual |
|
private |
Definition at line 368 of file plutosdroutputgui.cpp.
References m_doApplySettings.
Referenced by deserialize(), handleMessage(), and PlutoSDROutputGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 125 of file plutosdroutputgui.cpp.
References blockApplySettings(), PlutoSDROutputSettings::deserialize(), displaySettings(), m_settings, resetToDefaults(), and sendSettings().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 88 of file plutosdroutputgui.cpp.
|
private |
Definition at line 290 of file plutosdroutputgui.cpp.
References arg(), PlutoSDROutputSettings::m_devSampleRate, PlutoSDROutputSettings::m_log2Interp, m_sampleRateMode, m_settings, DevicePlutoSDR::srHighLimitFreq, DevicePlutoSDR::srLowLimitFreq, and ui.
Referenced by displaySettings(), on_sampleRateMode_toggled(), on_swInterp_currentIndexChanged(), and updateSampleRateAndFrequency().
|
private |
Definition at line 319 of file plutosdroutputgui.cpp.
References arg(), displaySampleRate(), PlutoSDROutputSettings::m_antennaPath, PlutoSDROutputSettings::m_att, PlutoSDROutputSettings::m_centerFrequency, PlutoSDROutputSettings::m_log2Interp, PlutoSDROutputSettings::m_LOppmTenths, PlutoSDROutputSettings::m_lpfBW, PlutoSDROutputSettings::m_lpfFIRBW, PlutoSDROutputSettings::m_lpfFIREnable, PlutoSDROutputSettings::m_lpfFIRGain, PlutoSDROutputSettings::m_lpfFIRlog2Interp, m_settings, PlutoSDROutputSettings::m_transverterDeltaFrequency, PlutoSDROutputSettings::m_transverterMode, setFIRBWLimits(), setSampleRateLimits(), ui, and updateFrequencyLimits().
Referenced by deserialize(), handleMessage(), PlutoSDROutputGUI(), and setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 108 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_centerFrequency, and m_settings.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 53 of file plutosdroutputgui.h.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 98 of file plutosdroutputgui.cpp.
|
privateslot |
Definition at line 464 of file plutosdroutputgui.cpp.
References DSPSignalNotification::getCenterFrequency(), Message::getIdentifier(), DSPSignalNotification::getSampleRate(), handleMessage(), m_deviceCenterFrequency, m_inputMessageQueue, m_sampleRate, Message::match(), MessageQueue::pop(), setFIRBWLimits(), and updateSampleRateAndFrequency().
Referenced by PlutoSDROutputGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 142 of file plutosdroutputgui.cpp.
References blockApplySettings(), displaySettings(), DevicePlutoSDRShared::MsgCrossReportToBuddy::getDevSampleRate(), DevicePlutoSDRShared::MsgCrossReportToBuddy::getLoPPMTenths(), DevicePlutoSDRShared::MsgCrossReportToBuddy::getLpfFirbw(), DevicePlutoSDRShared::MsgCrossReportToBuddy::getLpfFiRlog2IntDec(), PlutoSDROutput::MsgConfigurePlutoSDR::getSettings(), PlutoSDROutput::MsgStartStop::getStartStop(), DevicePlutoSDRShared::MsgCrossReportToBuddy::isLpfFirEnable(), PlutoSDROutputSettings::m_devSampleRate, PlutoSDROutputSettings::m_LOppmTenths, PlutoSDROutputSettings::m_lpfFIRBW, PlutoSDROutputSettings::m_lpfFIREnable, PlutoSDROutputSettings::m_lpfFIRlog2Interp, m_settings, Message::match(), and ui.
Referenced by handleInputMessages().
|
privateslot |
Definition at line 268 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_antennaPath, m_settings, PlutoSDROutputSettings::RFPATH_END, and sendSettings().
|
privateslot |
Definition at line 261 of file plutosdroutputgui.cpp.
References arg(), PlutoSDROutputSettings::m_att, m_settings, sendSettings(), and ui.
|
privateslot |
Definition at line 191 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_centerFrequency, m_settings, and sendSettings().
|
privateslot |
Definition at line 197 of file plutosdroutputgui.cpp.
References arg(), PlutoSDROutputSettings::m_LOppmTenths, m_settings, sendSettings(), and ui.
|
privateslot |
Definition at line 228 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_lpfBW, m_settings, and sendSettings().
|
privateslot |
Definition at line 242 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_lpfFIRBW, m_settings, and sendSettings().
|
privateslot |
Definition at line 234 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_lpfFIREnable, m_settings, sendSettings(), and ui.
|
privateslot |
Definition at line 255 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_lpfFIRGain, m_settings, and sendSettings().
|
privateslot |
Definition at line 248 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_lpfFIRlog2Interp, m_settings, sendSettings(), and setSampleRateLimits().
|
privateslot |
Definition at line 217 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_devSampleRate, PlutoSDROutputSettings::m_log2Interp, m_sampleRateMode, m_settings, and sendSettings().
|
privateslot |
Definition at line 284 of file plutosdroutputgui.cpp.
References displaySampleRate(), and m_sampleRateMode.
|
privateslot |
Definition at line 182 of file plutosdroutputgui.cpp.
References PlutoSDROutput::MsgStartStop::create(), DeviceSampleSink::getInputMessageQueue(), m_doApplySettings, m_sampleSink, and MessageQueue::push().
|
privateslot |
Definition at line 204 of file plutosdroutputgui.cpp.
References displaySampleRate(), PlutoSDROutputSettings::m_devSampleRate, PlutoSDROutputSettings::m_log2Interp, m_sampleRateMode, m_settings, sendSettings(), and ui.
|
privateslot |
Definition at line 274 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_centerFrequency, m_settings, PlutoSDROutputSettings::m_transverterDeltaFrequency, PlutoSDROutputSettings::m_transverterMode, sendSettings(), ui, and updateFrequencyLimits().
|
privateslot |
Definition at line 500 of file plutosdroutputgui.cpp.
References BasicDeviceSettingsDialog::getReverseAPIAddress(), BasicDeviceSettingsDialog::getReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::getReverseAPIPort(), PlutoSDROutputSettings::m_reverseAPIAddress, PlutoSDROutputSettings::m_reverseAPIDeviceIndex, PlutoSDROutputSettings::m_reverseAPIPort, m_settings, PlutoSDROutputSettings::m_useReverseAPI, sendSettings(), BasicDeviceSettingsDialog::setReverseAPIAddress(), BasicDeviceSettingsDialog::setReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::setReverseAPIPort(), BasicDeviceSettingsDialog::setUseReverseAPI(), and BasicDeviceSettingsDialog::useReverseAPI().
Referenced by PlutoSDROutputGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 103 of file plutosdroutputgui.cpp.
Referenced by deserialize().
|
private |
Definition at line 350 of file plutosdroutputgui.cpp.
References m_forceSettings, and m_updateTimer.
Referenced by deserialize(), on_antenna_currentIndexChanged(), on_att_valueChanged(), on_centerFrequency_changed(), on_loPPM_valueChanged(), on_lpf_changed(), on_lpFIR_changed(), on_lpFIREnable_toggled(), on_lpFIRGain_currentIndexChanged(), on_lpFIRInterpolation_currentIndexChanged(), on_sampleRate_changed(), on_swInterp_currentIndexChanged(), on_transverter_clicked(), openDeviceSettingsDialog(), and setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 120 of file plutosdroutputgui.cpp.
References m_settings, and PlutoSDROutputSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 113 of file plutosdroutputgui.cpp.
References displaySettings(), PlutoSDROutputSettings::m_centerFrequency, m_settings, and sendSettings().
|
private |
Definition at line 431 of file plutosdroutputgui.cpp.
References DevicePlutoSDR::firBWHighLimitFactor, DevicePlutoSDR::firBWLowLimitFactor, PlutoSDROutputSettings::m_lpfFIRBW, m_sampleSink, m_settings, and ui.
Referenced by displaySettings(), and handleInputMessages().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 93 of file plutosdroutputgui.cpp.
|
private |
Definition at line 439 of file plutosdroutputgui.cpp.
References PlutoSDROutputSettings::m_devSampleRate, m_settings, DevicePlutoSDR::srHighLimitFreq, DevicePlutoSDR::srLowLimitFreq, and ui.
Referenced by displaySettings(), and on_lpFIRInterpolation_currentIndexChanged().
|
private |
Definition at line 446 of file plutosdroutputgui.cpp.
References m_sampleSink, m_settings, PlutoSDROutputSettings::m_transverterDeltaFrequency, PlutoSDROutputSettings::m_transverterMode, and ui.
Referenced by displaySettings(), on_transverter_clicked(), and PlutoSDROutputGUI().
|
privateslot |
Definition at line 356 of file plutosdroutputgui.cpp.
References PlutoSDROutput::MsgConfigurePlutoSDR::create(), DeviceSampleSink::getInputMessageQueue(), m_doApplySettings, m_forceSettings, m_sampleSink, m_settings, m_updateTimer, and MessageQueue::push().
Referenced by PlutoSDROutputGUI().
|
private |
Definition at line 493 of file plutosdroutputgui.cpp.
References displaySampleRate(), DeviceUISet::getSpectrum(), m_deviceCenterFrequency, m_deviceUISet, m_sampleRate, GLSpectrum::setCenterFrequency(), and GLSpectrum::setSampleRate().
Referenced by handleInputMessages().
|
privateslot |
Definition at line 373 of file plutosdroutputgui.cpp.
References arg(), DeviceAPI::errorMessage(), DeviceAPI::isBuddyLeader(), DeviceUISet::m_deviceAPI, m_deviceUISet, m_lastEngineState, m_sampleSink, m_statusCounter, DeviceAPI::state(), DeviceAPI::StError, DeviceAPI::StIdle, DeviceAPI::StNotStarted, DeviceAPI::StRunning, and ui.
Referenced by PlutoSDROutputGUI().
|
private |
Center frequency in device.
Definition at line 66 of file plutosdroutputgui.h.
Referenced by handleInputMessages(), and updateSampleRateAndFrequency().
|
private |
Definition at line 58 of file plutosdroutputgui.h.
Referenced by PlutoSDROutputGUI(), updateSampleRateAndFrequency(), and updateStatus().
|
private |
Definition at line 68 of file plutosdroutputgui.h.
Referenced by blockApplySettings(), on_startStop_toggled(), and updateHardware().
|
private |
Definition at line 61 of file plutosdroutputgui.h.
Referenced by sendSettings(), and updateHardware().
|
private |
Definition at line 70 of file plutosdroutputgui.h.
Referenced by handleInputMessages(), and PlutoSDROutputGUI().
|
private |
Definition at line 67 of file plutosdroutputgui.h.
Referenced by updateStatus().
|
private |
Definition at line 65 of file plutosdroutputgui.h.
Referenced by handleInputMessages(), and updateSampleRateAndFrequency().
|
private |
true: device, false: base band sample rate update mode
Definition at line 60 of file plutosdroutputgui.h.
Referenced by displaySampleRate(), on_sampleRate_changed(), on_sampleRateMode_toggled(), and on_swInterp_currentIndexChanged().
|
private |
Definition at line 64 of file plutosdroutputgui.h.
Referenced by on_startStop_toggled(), PlutoSDROutputGUI(), setFIRBWLimits(), updateFrequencyLimits(), updateHardware(), and updateStatus().
|
private |
Definition at line 59 of file plutosdroutputgui.h.
Referenced by deserialize(), displaySampleRate(), displaySettings(), getCenterFrequency(), handleMessage(), on_antenna_currentIndexChanged(), on_att_valueChanged(), on_centerFrequency_changed(), on_loPPM_valueChanged(), on_lpf_changed(), on_lpFIR_changed(), on_lpFIREnable_toggled(), on_lpFIRGain_currentIndexChanged(), on_lpFIRInterpolation_currentIndexChanged(), on_sampleRate_changed(), on_swInterp_currentIndexChanged(), on_transverter_clicked(), openDeviceSettingsDialog(), serialize(), setCenterFrequency(), setFIRBWLimits(), setSampleRateLimits(), updateFrequencyLimits(), and updateHardware().
|
private |
Definition at line 69 of file plutosdroutputgui.h.
Referenced by updateStatus().
|
private |
Definition at line 63 of file plutosdroutputgui.h.
Referenced by PlutoSDROutputGUI().
|
private |
Definition at line 62 of file plutosdroutputgui.h.
Referenced by PlutoSDROutputGUI(), sendSettings(), and updateHardware().
|
private |
Definition at line 57 of file plutosdroutputgui.h.
Referenced by displaySampleRate(), displaySettings(), handleMessage(), on_att_valueChanged(), on_loPPM_valueChanged(), on_lpFIREnable_toggled(), on_swInterp_currentIndexChanged(), on_transverter_clicked(), PlutoSDROutputGUI(), setFIRBWLimits(), setSampleRateLimits(), updateFrequencyLimits(), updateStatus(), and ~PlutoSDROutputGUI().