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 <fcdproplusgui.h>
Public Member Functions | |
FCDProPlusGui (DeviceUISet *deviceUISet, QWidget *parent=0) | |
virtual | ~FCDProPlusGui () |
virtual void | destroy () |
void | setName (const QString &name) |
QString | getName () const |
void | resetToDefaults () |
virtual qint64 | getCenterFrequency () const |
virtual void | setCenterFrequency (qint64 centerFrequency) |
QByteArray | serialize () const |
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 | handleInputMessages () |
void | on_centerFrequency_changed (quint64 value) |
void | on_decim_currentIndexChanged (int index) |
void | on_fcPos_currentIndexChanged (int index) |
void | on_dcOffset_toggled (bool checked) |
void | on_iqImbalance_toggled (bool checked) |
void | on_checkBoxG_stateChanged (int state) |
void | on_checkBoxB_stateChanged (int state) |
void | on_mixGain_stateChanged (int state) |
void | on_ifGain_valueChanged (int value) |
void | on_filterRF_currentIndexChanged (int index) |
void | on_filterIF_currentIndexChanged (int index) |
void | on_ppm_valueChanged (int value) |
void | on_startStop_toggled (bool checked) |
void | on_record_toggled (bool checked) |
void | on_transverter_clicked () |
void | updateHardware () |
void | updateStatus () |
void | openDeviceSettingsDialog (const QPoint &p) |
Private Member Functions | |
void | blockApplySettings (bool block) |
void | displaySettings () |
void | sendSettings () |
void | updateSampleRateAndFrequency () |
void | updateFrequencyLimits () |
Private Attributes | |
Ui::FCDProPlusGui * | ui |
DeviceUISet * | m_deviceUISet |
bool | m_doApplySettings |
bool | m_forceSettings |
FCDProPlusSettings | m_settings |
QTimer | m_updateTimer |
QTimer | m_statusTimer |
std::vector< int > | m_gains |
DeviceSampleSource * | m_sampleSource |
int | m_sampleRate |
quint64 | m_deviceCenterFrequency |
Center frequency in device. More... | |
int | m_lastEngineState |
MessageQueue | m_inputMessageQueue |
Definition at line 35 of file fcdproplusgui.h.
|
explicit |
Definition at line 35 of file fcdproplusgui.cpp.
References displaySettings(), FCDProPlusConstants::fcdproplus_if_filter_nb_values(), FCDProPlusConstants::fcdproplus_rf_filter_nb_values(), DeviceAPI::getSampleSource(), ColorMapper::GrayGold, handleInputMessages(), i, FCDProPlusConstants::if_filters, DeviceUISet::m_deviceAPI, m_deviceUISet, m_inputMessageQueue, m_sampleSource, m_statusTimer, m_updateTimer, openDeviceSettingsDialog(), FCDProPlusConstants::rf_filters, DeviceSampleSource::setMessageQueueToGUI(), ui, updateFrequencyLimits(), updateHardware(), and updateStatus().
|
virtual |
Definition at line 76 of file fcdproplusgui.cpp.
References ui.
|
inlineprivate |
Definition at line 70 of file fcdproplusgui.h.
Referenced by handleMessage().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 120 of file fcdproplusgui.cpp.
References FCDProPlusSettings::deserialize(), displaySettings(), m_forceSettings, m_settings, resetToDefaults(), and sendSettings().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 81 of file fcdproplusgui.cpp.
|
private |
Definition at line 210 of file fcdproplusgui.cpp.
References arg(), FCDProPlusSettings::m_biasT, FCDProPlusSettings::m_centerFrequency, FCDProPlusSettings::m_dcBlock, FCDProPlusSettings::m_fcPos, FCDProPlusSettings::m_ifFilterIndex, FCDProPlusSettings::m_ifGain, FCDProPlusSettings::m_iqImbalance, FCDProPlusSettings::m_lnaGain, FCDProPlusSettings::m_log2Decim, FCDProPlusSettings::m_LOppmTenths, FCDProPlusSettings::m_mixGain, FCDProPlusSettings::m_rfFilterIndex, m_settings, FCDProPlusSettings::m_transverterDeltaFrequency, FCDProPlusSettings::m_transverterMode, ui, and updateFrequencyLimits().
Referenced by deserialize(), FCDProPlusGui(), handleMessage(), on_ifGain_valueChanged(), on_ppm_valueChanged(), resetToDefaults(), and setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 103 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_centerFrequency, and m_settings.
|
inlinevirtual |
|
virtual |
Implements PluginInstanceGUI.
Definition at line 91 of file fcdproplusgui.cpp.
|
privateslot |
Definition at line 162 of file fcdproplusgui.cpp.
References DSPSignalNotification::getCenterFrequency(), DSPSignalNotification::getSampleRate(), handleMessage(), m_deviceCenterFrequency, m_inputMessageQueue, m_sampleRate, Message::match(), MessageQueue::pop(), and updateSampleRateAndFrequency().
Referenced by FCDProPlusGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 136 of file fcdproplusgui.cpp.
References blockApplySettings(), displaySettings(), FCDProPlusInput::MsgConfigureFCDProPlus::getSettings(), FCDProPlusInput::MsgStartStop::getStartStop(), m_settings, Message::match(), and ui.
Referenced by handleInputMessages().
|
privateslot |
Definition at line 237 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_centerFrequency, m_settings, and sendSettings().
|
privateslot |
Definition at line 322 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_biasT, m_settings, and sendSettings().
|
privateslot |
Definition at line 316 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_lnaGain, m_settings, and sendSettings().
|
privateslot |
Definition at line 267 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_dcBlock, m_settings, and sendSettings().
|
privateslot |
Definition at line 243 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_log2Decim, m_settings, and sendSettings().
|
privateslot |
Definition at line 253 of file fcdproplusgui.cpp.
References FCDProPlusSettings::FC_POS_CENTER, FCDProPlusSettings::FC_POS_INFRA, FCDProPlusSettings::FC_POS_SUPRA, FCDProPlusSettings::m_fcPos, m_settings, and sendSettings().
|
privateslot |
Definition at line 334 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_ifFilterIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 340 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_rfFilterIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 346 of file fcdproplusgui.cpp.
References displaySettings(), FCDProPlusSettings::m_ifGain, m_settings, and sendSettings().
|
privateslot |
Definition at line 273 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_iqImbalance, m_settings, and sendSettings().
|
privateslot |
Definition at line 328 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_mixGain, m_settings, and sendSettings().
|
privateslot |
Definition at line 353 of file fcdproplusgui.cpp.
References displaySettings(), FCDProPlusSettings::m_LOppmTenths, m_settings, and sendSettings().
|
privateslot |
Definition at line 366 of file fcdproplusgui.cpp.
References FCDProPlusInput::MsgFileRecord::create(), DeviceSampleSource::getInputMessageQueue(), m_sampleSource, MessageQueue::push(), and ui.
|
privateslot |
Definition at line 360 of file fcdproplusgui.cpp.
References FCDProPlusInput::MsgStartStop::create(), DeviceSampleSource::getInputMessageQueue(), m_sampleSource, and MessageQueue::push().
|
privateslot |
Definition at line 378 of file fcdproplusgui.cpp.
References FCDProPlusSettings::m_centerFrequency, m_settings, FCDProPlusSettings::m_transverterDeltaFrequency, FCDProPlusSettings::m_transverterMode, sendSettings(), ui, and updateFrequencyLimits().
|
privateslot |
Definition at line 388 of file fcdproplusgui.cpp.
References BasicDeviceSettingsDialog::getReverseAPIAddress(), BasicDeviceSettingsDialog::getReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::getReverseAPIPort(), FCDProPlusSettings::m_reverseAPIAddress, FCDProPlusSettings::m_reverseAPIDeviceIndex, FCDProPlusSettings::m_reverseAPIPort, m_settings, FCDProPlusSettings::m_useReverseAPI, sendSettings(), BasicDeviceSettingsDialog::setReverseAPIAddress(), BasicDeviceSettingsDialog::setReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::setReverseAPIPort(), BasicDeviceSettingsDialog::setUseReverseAPI(), and BasicDeviceSettingsDialog::useReverseAPI().
Referenced by FCDProPlusGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 96 of file fcdproplusgui.cpp.
References displaySettings(), m_settings, FCDProPlusSettings::resetToDefaults(), and sendSettings().
Referenced by deserialize().
|
private |
Definition at line 231 of file fcdproplusgui.cpp.
References m_updateTimer.
Referenced by deserialize(), on_centerFrequency_changed(), on_checkBoxB_stateChanged(), on_checkBoxG_stateChanged(), on_dcOffset_toggled(), on_decim_currentIndexChanged(), on_fcPos_currentIndexChanged(), on_filterIF_currentIndexChanged(), on_filterRF_currentIndexChanged(), on_ifGain_valueChanged(), on_iqImbalance_toggled(), on_mixGain_stateChanged(), on_ppm_valueChanged(), on_transverter_clicked(), openDeviceSettingsDialog(), resetToDefaults(), and setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 115 of file fcdproplusgui.cpp.
References m_settings, and FCDProPlusSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 108 of file fcdproplusgui.cpp.
References displaySettings(), FCDProPlusSettings::m_centerFrequency, m_settings, and sendSettings().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 86 of file fcdproplusgui.cpp.
|
private |
Definition at line 195 of file fcdproplusgui.cpp.
References m_settings, FCDProPlusSettings::m_transverterDeltaFrequency, FCDProPlusSettings::m_transverterMode, and ui.
Referenced by displaySettings(), FCDProPlusGui(), and on_transverter_clicked().
|
privateslot |
Definition at line 279 of file fcdproplusgui.cpp.
References FCDProPlusInput::MsgConfigureFCDProPlus::create(), DeviceSampleSource::getInputMessageQueue(), m_forceSettings, m_sampleSource, m_settings, m_updateTimer, and MessageQueue::push().
Referenced by FCDProPlusGui().
|
private |
Definition at line 188 of file fcdproplusgui.cpp.
References arg(), DeviceUISet::getSpectrum(), m_deviceCenterFrequency, m_deviceUISet, m_sampleRate, GLSpectrum::setCenterFrequency(), GLSpectrum::setSampleRate(), and ui.
Referenced by handleInputMessages().
|
privateslot |
Definition at line 287 of file fcdproplusgui.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 FCDProPlusGui().
|
private |
Center frequency in device.
Definition at line 66 of file fcdproplusgui.h.
Referenced by handleInputMessages(), and updateSampleRateAndFrequency().
|
private |
Definition at line 57 of file fcdproplusgui.h.
Referenced by FCDProPlusGui(), updateSampleRateAndFrequency(), and updateStatus().
|
private |
Definition at line 58 of file fcdproplusgui.h.
|
private |
Definition at line 59 of file fcdproplusgui.h.
Referenced by deserialize(), and updateHardware().
|
private |
Definition at line 63 of file fcdproplusgui.h.
|
private |
Definition at line 68 of file fcdproplusgui.h.
Referenced by FCDProPlusGui(), and handleInputMessages().
|
private |
Definition at line 67 of file fcdproplusgui.h.
Referenced by updateStatus().
|
private |
Definition at line 65 of file fcdproplusgui.h.
Referenced by handleInputMessages(), and updateSampleRateAndFrequency().
|
private |
Definition at line 64 of file fcdproplusgui.h.
Referenced by FCDProPlusGui(), on_record_toggled(), on_startStop_toggled(), and updateHardware().
|
private |
Definition at line 60 of file fcdproplusgui.h.
Referenced by deserialize(), displaySettings(), getCenterFrequency(), handleMessage(), on_centerFrequency_changed(), on_checkBoxB_stateChanged(), on_checkBoxG_stateChanged(), on_dcOffset_toggled(), on_decim_currentIndexChanged(), on_fcPos_currentIndexChanged(), on_filterIF_currentIndexChanged(), on_filterRF_currentIndexChanged(), on_ifGain_valueChanged(), on_iqImbalance_toggled(), on_mixGain_stateChanged(), on_ppm_valueChanged(), on_transverter_clicked(), openDeviceSettingsDialog(), resetToDefaults(), serialize(), setCenterFrequency(), updateFrequencyLimits(), and updateHardware().
|
private |
Definition at line 62 of file fcdproplusgui.h.
Referenced by FCDProPlusGui().
|
private |
Definition at line 61 of file fcdproplusgui.h.
Referenced by FCDProPlusGui(), sendSettings(), and updateHardware().
|
private |
Definition at line 55 of file fcdproplusgui.h.
Referenced by displaySettings(), FCDProPlusGui(), handleMessage(), on_record_toggled(), on_transverter_clicked(), updateFrequencyLimits(), updateSampleRateAndFrequency(), updateStatus(), and ~FCDProPlusGui().