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 <fcdprogui.h>
Public Member Functions | |
FCDProGui (DeviceUISet *deviceUISet, QWidget *parent=0) | |
virtual | ~FCDProGui () |
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 Member Functions | |
void | blockApplySettings (bool block) |
void | displaySettings () |
void | sendSettings () |
void | updateSampleRateAndFrequency () |
void | updateFrequencyLimits () |
Private Attributes | |
Ui::FCDProGui * | ui |
DeviceUISet * | m_deviceUISet |
bool | m_doApplySettings |
bool | m_forceSettings |
FCDProSettings | 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 36 of file fcdprogui.h.
|
explicit |
Definition at line 34 of file fcdprogui.cpp.
References FCDProConstants::bands, FCDProConstants::bias_currents, displaySettings(), FCDProConstants::fcdpro_band_nb_values(), FCDProConstants::fcdpro_bias_current_nb_values(), FCDProConstants::fcdpro_if_filter_nb_values(), FCDProConstants::fcdpro_if_gain1_nb_values(), FCDProConstants::fcdpro_if_gain2_nb_values(), FCDProConstants::fcdpro_if_gain3_nb_values(), FCDProConstants::fcdpro_if_gain4_nb_values(), FCDProConstants::fcdpro_if_gain5_nb_values(), FCDProConstants::fcdpro_if_gain6_nb_values(), FCDProConstants::fcdpro_if_gain_mode_nb_values(), FCDProConstants::fcdpro_if_rc_filter_nb_values(), FCDProConstants::fcdpro_lna_enhance_nb_values(), FCDProConstants::fcdpro_lna_gain_nb_values(), FCDProConstants::fcdpro_mixer_filter_nb_values(), FCDProConstants::fcdpro_mixer_gain_nb_values(), FCDProConstants::fcdpro_rf_filter_nb_values(), DeviceAPI::getSampleSource(), ColorMapper::GrayGold, handleInputMessages(), i, FCDProConstants::if_filters, FCDProConstants::if_gain_modes, FCDProConstants::if_gains1, FCDProConstants::if_gains2, FCDProConstants::if_gains3, FCDProConstants::if_gains4, FCDProConstants::if_gains5, FCDProConstants::if_gains6, FCDProConstants::if_rc_filters, FCDProConstants::lna_enhances, FCDProConstants::lna_gains, DeviceUISet::m_deviceAPI, m_deviceUISet, m_inputMessageQueue, m_sampleSource, m_statusTimer, m_updateTimer, FCDProConstants::mixer_filters, FCDProConstants::mixer_gains, openDeviceSettingsDialog(), FCDProConstants::rf_filters, DeviceSampleSource::setMessageQueueToGUI(), ui, updateFrequencyLimits(), updateHardware(), and updateStatus().
|
virtual |
Definition at line 158 of file fcdprogui.cpp.
References ui.
|
inlineprivate |
Definition at line 71 of file fcdprogui.h.
Referenced by handleMessage().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 202 of file fcdprogui.cpp.
References FCDProSettings::deserialize(), displaySettings(), m_forceSettings, m_settings, resetToDefaults(), and sendSettings().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 163 of file fcdprogui.cpp.
|
private |
Definition at line 294 of file fcdprogui.cpp.
References arg(), FCDProSettings::m_bandIndex, FCDProSettings::m_biasCurrentIndex, FCDProSettings::m_centerFrequency, FCDProSettings::m_dcBlock, FCDProSettings::m_fcPos, FCDProSettings::m_gain1Index, FCDProSettings::m_gain2Index, FCDProSettings::m_gain3Index, FCDProSettings::m_gain4Index, FCDProSettings::m_gain5Index, FCDProSettings::m_gain6Index, FCDProSettings::m_ifFilterIndex, FCDProSettings::m_iqCorrection, FCDProSettings::m_lnaEnhanceIndex, FCDProSettings::m_lnaGainIndex, FCDProSettings::m_log2Decim, FCDProSettings::m_LOppmTenths, FCDProSettings::m_mixerFilterIndex, FCDProSettings::m_mixerGainIndex, FCDProSettings::m_modeIndex, FCDProSettings::m_rcFilterIndex, FCDProSettings::m_rfFilterIndex, m_settings, FCDProSettings::m_transverterDeltaFrequency, FCDProSettings::m_transverterMode, ui, and updateFrequencyLimits().
Referenced by deserialize(), FCDProGui(), handleMessage(), on_ppm_valueChanged(), on_setDefaults_clicked(), resetToDefaults(), and setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 185 of file fcdprogui.cpp.
References FCDProSettings::m_centerFrequency, and m_settings.
|
inlinevirtual |
|
virtual |
Implements PluginInstanceGUI.
Definition at line 173 of file fcdprogui.cpp.
|
privateslot |
Definition at line 244 of file fcdprogui.cpp.
References DSPSignalNotification::getCenterFrequency(), Message::getIdentifier(), DSPSignalNotification::getSampleRate(), handleMessage(), m_deviceCenterFrequency, m_inputMessageQueue, m_sampleRate, Message::match(), MessageQueue::pop(), and updateSampleRateAndFrequency().
Referenced by FCDProGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 218 of file fcdprogui.cpp.
References blockApplySettings(), displaySettings(), FCDProInput::MsgConfigureFCDPro::getSettings(), FCDProInput::MsgStartStop::getStartStop(), m_settings, Message::match(), and ui.
Referenced by handleInputMessages().
|
privateslot |
Definition at line 374 of file fcdprogui.cpp.
References FCDProSettings::m_bandIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 392 of file fcdprogui.cpp.
References FCDProSettings::m_biasCurrentIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 331 of file fcdprogui.cpp.
References FCDProSettings::m_centerFrequency, m_settings, and sendSettings().
|
privateslot |
Definition at line 344 of file fcdprogui.cpp.
References FCDProSettings::m_dcBlock, m_settings, and sendSettings().
|
privateslot |
Definition at line 452 of file fcdprogui.cpp.
References FCDProSettings::m_log2Decim, m_settings, and sendSettings().
|
privateslot |
Definition at line 462 of file fcdprogui.cpp.
References FCDProSettings::FC_POS_CENTER, FCDProSettings::FC_POS_INFRA, FCDProSettings::FC_POS_SUPRA, FCDProSettings::m_fcPos, m_settings, and sendSettings().
|
privateslot |
Definition at line 404 of file fcdprogui.cpp.
References FCDProSettings::m_gain1Index, m_settings, and sendSettings().
|
privateslot |
Definition at line 416 of file fcdprogui.cpp.
References FCDProSettings::m_gain2Index, m_settings, and sendSettings().
|
privateslot |
Definition at line 422 of file fcdprogui.cpp.
References FCDProSettings::m_gain3Index, m_settings, and sendSettings().
|
privateslot |
Definition at line 428 of file fcdprogui.cpp.
References FCDProSettings::m_gain4Index, m_settings, and sendSettings().
|
privateslot |
Definition at line 440 of file fcdprogui.cpp.
References FCDProSettings::m_gain5Index, m_settings, and sendSettings().
|
privateslot |
Definition at line 446 of file fcdprogui.cpp.
References FCDProSettings::m_gain6Index, m_settings, and sendSettings().
|
privateslot |
Definition at line 434 of file fcdprogui.cpp.
References FCDProSettings::m_ifFilterIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 350 of file fcdprogui.cpp.
References FCDProSettings::m_iqCorrection, m_settings, and sendSettings().
|
privateslot |
Definition at line 368 of file fcdprogui.cpp.
References FCDProSettings::m_lnaEnhanceIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 356 of file fcdprogui.cpp.
References FCDProSettings::m_lnaGainIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 386 of file fcdprogui.cpp.
References FCDProSettings::m_mixerFilterIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 380 of file fcdprogui.cpp.
References FCDProSettings::m_mixerGainIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 398 of file fcdprogui.cpp.
References FCDProSettings::m_modeIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 337 of file fcdprogui.cpp.
References displaySettings(), FCDProSettings::m_LOppmTenths, m_settings, and sendSettings().
|
privateslot |
Definition at line 410 of file fcdprogui.cpp.
References FCDProSettings::m_rcFilterIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 507 of file fcdprogui.cpp.
References FCDProInput::MsgFileRecord::create(), DeviceSampleSource::getInputMessageQueue(), m_sampleSource, MessageQueue::push(), and ui.
|
privateslot |
Definition at line 362 of file fcdprogui.cpp.
References FCDProSettings::m_rfFilterIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 476 of file fcdprogui.cpp.
References displaySettings(), FCDProSettings::m_biasCurrentIndex, FCDProSettings::m_gain1Index, FCDProSettings::m_gain2Index, FCDProSettings::m_gain3Index, FCDProSettings::m_gain4Index, FCDProSettings::m_gain5Index, FCDProSettings::m_gain6Index, FCDProSettings::m_ifFilterIndex, FCDProSettings::m_lnaEnhanceIndex, FCDProSettings::m_lnaGainIndex, FCDProSettings::m_mixerFilterIndex, FCDProSettings::m_mixerGainIndex, FCDProSettings::m_modeIndex, FCDProSettings::m_rcFilterIndex, m_settings, and sendSettings().
|
privateslot |
Definition at line 498 of file fcdprogui.cpp.
References FCDProInput::MsgStartStop::create(), DeviceSampleSource::getInputMessageQueue(), m_doApplySettings, m_sampleSource, and MessageQueue::push().
|
privateslot |
Definition at line 519 of file fcdprogui.cpp.
References FCDProSettings::m_centerFrequency, m_settings, FCDProSettings::m_transverterDeltaFrequency, FCDProSettings::m_transverterMode, sendSettings(), ui, and updateFrequencyLimits().
|
privateslot |
Definition at line 566 of file fcdprogui.cpp.
References BasicDeviceSettingsDialog::getReverseAPIAddress(), BasicDeviceSettingsDialog::getReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::getReverseAPIPort(), FCDProSettings::m_reverseAPIAddress, FCDProSettings::m_reverseAPIDeviceIndex, FCDProSettings::m_reverseAPIPort, m_settings, FCDProSettings::m_useReverseAPI, sendSettings(), BasicDeviceSettingsDialog::setReverseAPIAddress(), BasicDeviceSettingsDialog::setReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::setReverseAPIPort(), BasicDeviceSettingsDialog::setUseReverseAPI(), and BasicDeviceSettingsDialog::useReverseAPI().
Referenced by FCDProGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 178 of file fcdprogui.cpp.
References displaySettings(), m_settings, FCDProSettings::resetToDefaults(), and sendSettings().
Referenced by deserialize().
|
private |
Definition at line 325 of file fcdprogui.cpp.
References m_updateTimer.
Referenced by deserialize(), on_band_currentIndexChanged(), on_bias_currentIndexChanged(), on_centerFrequency_changed(), on_dcOffset_toggled(), on_decim_currentIndexChanged(), on_fcPos_currentIndexChanged(), on_gain1_currentIndexChanged(), on_gain2_currentIndexChanged(), on_gain3_currentIndexChanged(), on_gain4_currentIndexChanged(), on_gain5_currentIndexChanged(), on_gain6_currentIndexChanged(), on_ifFilter_currentIndexChanged(), on_iqImbalance_toggled(), on_lnaEnhance_currentIndexChanged(), on_lnaGain_currentIndexChanged(), on_mixFilter_currentIndexChanged(), on_mixGain_currentIndexChanged(), on_mode_currentIndexChanged(), on_ppm_valueChanged(), on_rcFilter_currentIndexChanged(), on_rfFilter_currentIndexChanged(), on_setDefaults_clicked(), on_transverter_clicked(), openDeviceSettingsDialog(), resetToDefaults(), and setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 197 of file fcdprogui.cpp.
References m_settings, and FCDProSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 190 of file fcdprogui.cpp.
References displaySettings(), FCDProSettings::m_centerFrequency, m_settings, and sendSettings().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 168 of file fcdprogui.cpp.
|
private |
Definition at line 279 of file fcdprogui.cpp.
References m_settings, FCDProSettings::m_transverterDeltaFrequency, FCDProSettings::m_transverterMode, and ui.
Referenced by displaySettings(), FCDProGui(), and on_transverter_clicked().
|
privateslot |
Definition at line 558 of file fcdprogui.cpp.
References FCDProInput::MsgConfigureFCDPro::create(), DeviceSampleSource::getInputMessageQueue(), m_forceSettings, m_sampleSource, m_settings, m_updateTimer, and MessageQueue::push().
Referenced by FCDProGui().
|
private |
Definition at line 272 of file fcdprogui.cpp.
References arg(), DeviceUISet::getSpectrum(), m_deviceCenterFrequency, m_deviceUISet, m_sampleRate, GLSpectrum::setCenterFrequency(), GLSpectrum::setSampleRate(), and ui.
Referenced by handleInputMessages().
|
privateslot |
Definition at line 529 of file fcdprogui.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 FCDProGui().
|
private |
Center frequency in device.
Definition at line 67 of file fcdprogui.h.
Referenced by handleInputMessages(), and updateSampleRateAndFrequency().
|
private |
Definition at line 58 of file fcdprogui.h.
Referenced by FCDProGui(), updateSampleRateAndFrequency(), and updateStatus().
|
private |
Definition at line 59 of file fcdprogui.h.
Referenced by on_startStop_toggled().
|
private |
Definition at line 60 of file fcdprogui.h.
Referenced by deserialize(), and updateHardware().
|
private |
Definition at line 64 of file fcdprogui.h.
|
private |
Definition at line 69 of file fcdprogui.h.
Referenced by FCDProGui(), and handleInputMessages().
|
private |
Definition at line 68 of file fcdprogui.h.
Referenced by updateStatus().
|
private |
Definition at line 66 of file fcdprogui.h.
Referenced by handleInputMessages(), and updateSampleRateAndFrequency().
|
private |
Definition at line 65 of file fcdprogui.h.
Referenced by FCDProGui(), on_record_toggled(), on_startStop_toggled(), and updateHardware().
|
private |
Definition at line 61 of file fcdprogui.h.
Referenced by deserialize(), displaySettings(), getCenterFrequency(), handleMessage(), on_band_currentIndexChanged(), on_bias_currentIndexChanged(), on_centerFrequency_changed(), on_dcOffset_toggled(), on_decim_currentIndexChanged(), on_fcPos_currentIndexChanged(), on_gain1_currentIndexChanged(), on_gain2_currentIndexChanged(), on_gain3_currentIndexChanged(), on_gain4_currentIndexChanged(), on_gain5_currentIndexChanged(), on_gain6_currentIndexChanged(), on_ifFilter_currentIndexChanged(), on_iqImbalance_toggled(), on_lnaEnhance_currentIndexChanged(), on_lnaGain_currentIndexChanged(), on_mixFilter_currentIndexChanged(), on_mixGain_currentIndexChanged(), on_mode_currentIndexChanged(), on_ppm_valueChanged(), on_rcFilter_currentIndexChanged(), on_rfFilter_currentIndexChanged(), on_setDefaults_clicked(), on_transverter_clicked(), openDeviceSettingsDialog(), resetToDefaults(), serialize(), setCenterFrequency(), updateFrequencyLimits(), and updateHardware().
|
private |
Definition at line 63 of file fcdprogui.h.
Referenced by FCDProGui().
|
private |
Definition at line 62 of file fcdprogui.h.
Referenced by FCDProGui(), sendSettings(), and updateHardware().
|
private |
Definition at line 56 of file fcdprogui.h.
Referenced by displaySettings(), FCDProGui(), handleMessage(), on_record_toggled(), on_transverter_clicked(), updateFrequencyLimits(), updateSampleRateAndFrequency(), updateStatus(), and ~FCDProGui().