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 <testmigui.h>
Public Member Functions | |
TestMIGui (DeviceUISet *deviceUISet, QWidget *parent=0) | |
virtual | ~TestMIGui () |
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 | displayAmplitude () |
void | updateAmpCoarseLimit () |
void | updateAmpFineLimit () |
void | updateFrequencyShiftLimit () |
void | updateFileRecordStatus () |
Private Attributes | |
Ui::TestMIGui * | ui |
DeviceUISet * | m_deviceUISet |
TestMISettings | m_settings |
int | m_streamIndex |
Current stream index being dealt with. More... | |
int | m_spectrumStreamIndex |
Index of the stream displayed on main spectrum. More... | |
QTimer | m_updateTimer |
QTimer | m_statusTimer |
bool | m_doApplySettings |
bool | m_forceSettings |
DeviceSampleMIMO * | m_sampleMIMO |
std::size_t | m_tickCount |
std::vector< int > | m_deviceSampleRates |
std::vector< quint64 > | m_deviceCenterFrequencies |
Center frequency in device. More... | |
int | m_lastEngineState |
MessageQueue | m_inputMessageQueue |
Definition at line 36 of file testmigui.h.
|
explicit |
Definition at line 42 of file testmigui.cpp.
References arg(), displaySettings(), DeviceAPI::getSampleMIMO(), ColorMapper::GrayGold, ColorMapper::GrayGreenYellow, handleInputMessages(), DeviceUISet::m_deviceAPI, m_deviceCenterFrequencies, m_deviceSampleRates, m_deviceUISet, m_inputMessageQueue, m_sampleMIMO, m_settings, m_statusTimer, m_streamIndex, TestMISettings::m_streams, m_updateTimer, openDeviceSettingsDialog(), DeviceSampleMIMO::setMessageQueueToGUI(), ui, updateHardware(), and updateStatus().
|
virtual |
Definition at line 85 of file testmigui.cpp.
References ui.
|
inlineprivate |
Definition at line 73 of file testmigui.h.
Referenced by displaySettings(), and handleMessage().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 129 of file testmigui.cpp.
References TestMISettings::deserialize(), displaySettings(), m_forceSettings, m_settings, resetToDefaults(), and sendSettings().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 90 of file testmigui.cpp.
|
private |
Definition at line 346 of file testmigui.cpp.
References arg(), CalcDb::dbPower(), and ui.
Referenced by displaySettings(), on_amplitudeCoarse_valueChanged(), on_amplitudeFine_valueChanged(), and on_sampleSize_currentIndexChanged().
|
private |
Definition at line 432 of file testmigui.cpp.
References arg(), blockApplySettings(), displayAmplitude(), m_settings, m_streamIndex, TestMISettings::m_streams, ui, updateAmpCoarseLimit(), updateAmpFineLimit(), and updateFrequencyShiftLimit().
Referenced by deserialize(), handleMessage(), on_spectrumSource_currentIndexChanged(), on_streamIndex_currentIndexChanged(), resetToDefaults(), setCenterFrequency(), and TestMIGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 112 of file testmigui.cpp.
References m_settings, m_streamIndex, and TestMISettings::m_streams.
|
inlinevirtual |
|
virtual |
Implements PluginInstanceGUI.
Definition at line 100 of file testmigui.cpp.
|
privateslot |
Definition at line 548 of file testmigui.cpp.
References DSPMIMOSignalNotification::getCenterFrequency(), DSPMIMOSignalNotification::getIndex(), DSPMIMOSignalNotification::getSampleRate(), DSPMIMOSignalNotification::getSourceOrSink(), handleMessage(), m_deviceCenterFrequencies, m_deviceSampleRates, m_inputMessageQueue, Message::match(), MessageQueue::pop(), and updateSampleRateAndFrequency().
Referenced by TestMIGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 522 of file testmigui.cpp.
References blockApplySettings(), displaySettings(), TestMI::MsgConfigureTestSource::getSettings(), TestMI::MsgStartStop::getStartStop(), m_settings, Message::match(), and ui.
Referenced by handleInputMessages().
|
privateslot |
Definition at line 292 of file testmigui.cpp.
References arg(), m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), and ui.
|
privateslot |
Definition at line 258 of file testmigui.cpp.
References displayAmplitude(), m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), ui, and updateAmpFineLimit().
|
privateslot |
Definition at line 267 of file testmigui.cpp.
References displayAmplitude(), m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), and ui.
|
privateslot |
Definition at line 200 of file testmigui.cpp.
References TestMIStreamSettings::AutoCorrLast, m_settings, m_streamIndex, TestMISettings::m_streams, and sendSettings().
|
privateslot |
Definition at line 194 of file testmigui.cpp.
References m_settings, m_streamIndex, TestMISettings::m_streams, and sendSettings().
|
privateslot |
Definition at line 306 of file testmigui.cpp.
References arg(), m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), and ui.
|
privateslot |
Definition at line 216 of file testmigui.cpp.
References m_settings, m_streamIndex, TestMISettings::m_streams, and sendSettings().
|
privateslot |
Definition at line 226 of file testmigui.cpp.
References m_settings, m_streamIndex, TestMISettings::m_streams, and sendSettings().
|
privateslot |
Definition at line 299 of file testmigui.cpp.
References arg(), m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), and ui.
|
privateslot |
Definition at line 210 of file testmigui.cpp.
References m_settings, m_streamIndex, TestMISettings::m_streams, and sendSettings().
|
privateslot |
Definition at line 313 of file testmigui.cpp.
References arg(), m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), and ui.
|
privateslot |
Definition at line 275 of file testmigui.cpp.
References m_settings, m_streamIndex, TestMISettings::m_streams, TestMIStreamSettings::ModulationLast, and sendSettings().
|
privateslot |
Definition at line 285 of file testmigui.cpp.
References arg(), m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), and ui.
|
privateslot |
Definition at line 327 of file testmigui.cpp.
References arg(), m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), and ui.
|
privateslot |
Definition at line 320 of file testmigui.cpp.
References arg(), m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), and ui.
|
privateslot |
Definition at line 334 of file testmigui.cpp.
References TestMI::MsgFileRecord::create(), DeviceSampleMIMO::getInputMessageQueue(), m_sampleMIMO, m_streamIndex, MessageQueue::push(), and ui.
|
privateslot |
Definition at line 236 of file testmigui.cpp.
References m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), ui, and updateFrequencyShiftLimit().
|
privateslot |
Definition at line 244 of file testmigui.cpp.
References displayAmplitude(), m_settings, m_streamIndex, TestMISettings::m_streams, sendSettings(), ui, updateAmpCoarseLimit(), and updateAmpFineLimit().
|
privateslot |
Definition at line 169 of file testmigui.cpp.
References displaySettings(), DeviceUISet::m_deviceAPI, m_deviceUISet, DeviceUISet::m_spectrum, m_spectrumStreamIndex, m_streamIndex, GLSpectrum::setDisplayedStream(), DeviceAPI::setSpectrumSinkInput(), ui, updateFileRecordStatus(), and updateSampleRateAndFrequency().
|
privateslot |
Definition at line 142 of file testmigui.cpp.
References TestMI::MsgStartStop::create(), DeviceSampleMIMO::getInputMessageQueue(), m_doApplySettings, m_sampleMIMO, and MessageQueue::push().
|
privateslot |
Definition at line 151 of file testmigui.cpp.
References displaySettings(), DeviceUISet::m_deviceAPI, m_deviceUISet, DeviceUISet::m_spectrum, m_spectrumStreamIndex, m_streamIndex, GLSpectrum::setDisplayedStream(), DeviceAPI::setSpectrumSinkInput(), ui, updateFileRecordStatus(), and updateSampleRateAndFrequency().
|
privateslot |
|
privateslot |
Definition at line 588 of file testmigui.cpp.
References BasicDeviceSettingsDialog::getReverseAPIAddress(), BasicDeviceSettingsDialog::getReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::getReverseAPIPort(), TestMISettings::m_reverseAPIAddress, TestMISettings::m_reverseAPIDeviceIndex, TestMISettings::m_reverseAPIPort, m_settings, TestMISettings::m_useReverseAPI, sendSettings(), BasicDeviceSettingsDialog::setReverseAPIAddress(), BasicDeviceSettingsDialog::setReverseAPIDeviceIndex(), BasicDeviceSettingsDialog::setReverseAPIPort(), BasicDeviceSettingsDialog::setUseReverseAPI(), and BasicDeviceSettingsDialog::useReverseAPI().
Referenced by TestMIGui().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 105 of file testmigui.cpp.
References displaySettings(), m_settings, TestMISettings::resetToDefaults(), and sendSettings().
Referenced by deserialize().
|
private |
Definition at line 475 of file testmigui.cpp.
References m_updateTimer.
Referenced by deserialize(), on_amModulation_valueChanged(), on_amplitudeCoarse_valueChanged(), on_amplitudeFine_valueChanged(), on_autoCorr_currentIndexChanged(), on_centerFrequency_changed(), on_dcBias_valueChanged(), on_decimation_currentIndexChanged(), on_fcPos_currentIndexChanged(), on_fmDeviation_valueChanged(), on_frequencyShift_changed(), on_iBias_valueChanged(), on_modulation_currentIndexChanged(), on_modulationFrequency_valueChanged(), on_phaseImbalance_valueChanged(), on_qBias_valueChanged(), on_sampleRate_changed(), on_sampleSize_currentIndexChanged(), openDeviceSettingsDialog(), resetToDefaults(), and setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 124 of file testmigui.cpp.
References m_settings, and TestMISettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 117 of file testmigui.cpp.
References displaySettings(), m_settings, m_streamIndex, TestMISettings::m_streams, and sendSettings().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 95 of file testmigui.cpp.
|
private |
Definition at line 370 of file testmigui.cpp.
References ui.
Referenced by displaySettings(), and on_sampleSize_currentIndexChanged().
|
private |
Definition at line 387 of file testmigui.cpp.
References ui.
Referenced by displaySettings(), on_amplitudeCoarse_valueChanged(), and on_sampleSize_currentIndexChanged().
|
private |
Definition at line 423 of file testmigui.cpp.
References m_sampleMIMO, m_streamIndex, and ui.
Referenced by on_spectrumSource_currentIndexChanged(), and on_streamIndex_currentIndexChanged().
|
private |
Definition at line 416 of file testmigui.cpp.
References m_settings, m_streamIndex, TestMISettings::m_streams, and ui.
Referenced by displaySettings(), and on_sampleRate_changed().
|
privateslot |
Definition at line 482 of file testmigui.cpp.
References TestMI::MsgConfigureTestSource::create(), DeviceSampleMIMO::getInputMessageQueue(), m_doApplySettings, m_forceSettings, m_sampleMIMO, m_settings, m_updateTimer, and MessageQueue::push().
Referenced by TestMIGui().
|
private |
Definition at line 581 of file testmigui.cpp.
References arg(), DeviceUISet::getSpectrum(), m_deviceCenterFrequencies, m_deviceSampleRates, m_deviceUISet, m_spectrumStreamIndex, m_streamIndex, GLSpectrum::setCenterFrequency(), GLSpectrum::setSampleRate(), and ui.
Referenced by handleInputMessages(), on_spectrumSource_currentIndexChanged(), and on_streamIndex_currentIndexChanged().
|
privateslot |
Definition at line 493 of file testmigui.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 TestMIGui().
|
private |
Center frequency in device.
Definition at line 69 of file testmigui.h.
Referenced by handleInputMessages(), TestMIGui(), and updateSampleRateAndFrequency().
|
private |
Definition at line 68 of file testmigui.h.
Referenced by handleInputMessages(), TestMIGui(), and updateSampleRateAndFrequency().
|
private |
Definition at line 58 of file testmigui.h.
Referenced by on_spectrumSource_currentIndexChanged(), on_streamIndex_currentIndexChanged(), TestMIGui(), updateSampleRateAndFrequency(), and updateStatus().
|
private |
Definition at line 64 of file testmigui.h.
Referenced by on_startStop_toggled(), and updateHardware().
|
private |
Definition at line 65 of file testmigui.h.
Referenced by deserialize(), and updateHardware().
|
private |
Definition at line 71 of file testmigui.h.
Referenced by handleInputMessages(), and TestMIGui().
|
private |
Definition at line 70 of file testmigui.h.
Referenced by updateStatus().
|
private |
Definition at line 66 of file testmigui.h.
Referenced by on_record_toggled(), on_startStop_toggled(), TestMIGui(), updateFileRecordStatus(), and updateHardware().
|
private |
Definition at line 59 of file testmigui.h.
Referenced by deserialize(), displaySettings(), getCenterFrequency(), handleMessage(), on_amModulation_valueChanged(), on_amplitudeCoarse_valueChanged(), on_amplitudeFine_valueChanged(), on_autoCorr_currentIndexChanged(), on_centerFrequency_changed(), on_dcBias_valueChanged(), on_decimation_currentIndexChanged(), on_fcPos_currentIndexChanged(), on_fmDeviation_valueChanged(), on_frequencyShift_changed(), on_iBias_valueChanged(), on_modulation_currentIndexChanged(), on_modulationFrequency_valueChanged(), on_phaseImbalance_valueChanged(), on_qBias_valueChanged(), on_sampleRate_changed(), on_sampleSize_currentIndexChanged(), openDeviceSettingsDialog(), resetToDefaults(), serialize(), setCenterFrequency(), TestMIGui(), updateFrequencyShiftLimit(), and updateHardware().
|
private |
Index of the stream displayed on main spectrum.
Definition at line 61 of file testmigui.h.
Referenced by on_spectrumSource_currentIndexChanged(), on_streamIndex_currentIndexChanged(), and updateSampleRateAndFrequency().
|
private |
Definition at line 63 of file testmigui.h.
Referenced by TestMIGui().
|
private |
Current stream index being dealt with.
Definition at line 60 of file testmigui.h.
Referenced by displaySettings(), getCenterFrequency(), on_amModulation_valueChanged(), on_amplitudeCoarse_valueChanged(), on_amplitudeFine_valueChanged(), on_autoCorr_currentIndexChanged(), on_centerFrequency_changed(), on_dcBias_valueChanged(), on_decimation_currentIndexChanged(), on_fcPos_currentIndexChanged(), on_fmDeviation_valueChanged(), on_frequencyShift_changed(), on_iBias_valueChanged(), on_modulation_currentIndexChanged(), on_modulationFrequency_valueChanged(), on_phaseImbalance_valueChanged(), on_qBias_valueChanged(), on_record_toggled(), on_sampleRate_changed(), on_sampleSize_currentIndexChanged(), on_spectrumSource_currentIndexChanged(), on_streamIndex_currentIndexChanged(), setCenterFrequency(), TestMIGui(), updateFileRecordStatus(), updateFrequencyShiftLimit(), and updateSampleRateAndFrequency().
|
private |
Definition at line 67 of file testmigui.h.
|
private |
Definition at line 62 of file testmigui.h.
Referenced by sendSettings(), TestMIGui(), and updateHardware().
|
private |
Definition at line 56 of file testmigui.h.
Referenced by displayAmplitude(), displaySettings(), handleMessage(), on_amModulation_valueChanged(), on_amplitudeCoarse_valueChanged(), on_amplitudeFine_valueChanged(), on_dcBias_valueChanged(), on_fmDeviation_valueChanged(), on_iBias_valueChanged(), on_modulationFrequency_valueChanged(), on_phaseImbalance_valueChanged(), on_qBias_valueChanged(), on_record_toggled(), on_sampleRate_changed(), on_sampleSize_currentIndexChanged(), on_spectrumSource_currentIndexChanged(), on_streamIndex_currentIndexChanged(), on_streamLock_toggled(), TestMIGui(), updateAmpCoarseLimit(), updateAmpFineLimit(), updateFileRecordStatus(), updateFrequencyShiftLimit(), updateSampleRateAndFrequency(), updateStatus(), and ~TestMIGui().