18 #ifndef PLUGINS_SAMPLESINK_SOAPYSDROUTPUT_SOAPYSDROUTPUTGUI_H_ 19 #define PLUGINS_SAMPLESINK_SOAPYSDROUTPUT_SOAPYSDROUTPUTGUI_H_ 50 virtual void destroy();
52 void setName(
const QString& name);
53 QString getName()
const;
55 void resetToDefaults();
56 virtual qint64 getCenterFrequency()
const;
57 virtual void setCenterFrequency(qint64 centerFrequency);
58 virtual QByteArray serialize()
const;
59 virtual bool deserialize(
const QByteArray& data);
61 virtual bool handleMessage(
const Message& message);
64 void createRangesControl(
66 const SoapySDR::RangeList& rangeList,
69 void createAntennasControl(
const std::vector<std::string>& antennaList);
70 void createTunableElementsControl(
const std::vector<DeviceSoapySDRParams::FrequencySetting>& tunableElementsList);
71 void createGlobalGainControl();
72 void createIndividualGainsControl(
const std::vector<DeviceSoapySDRParams::GainSetting>& individualGainsList);
73 void createCorrectionsControl();
74 void createArgumentsControl(
const SoapySDR::ArgInfoList& argInfoList,
bool deviceArguments);
76 Ui::SoapySDROutputGui*
ui;
105 void displaySettings();
106 void displayTunableElementsControlSettings();
107 void displayIndividualGainsControlSettings();
108 void displayCorrectionsSettings();
109 void displayStreamArgsSettings();
110 void displayDeviceArgsSettings();
112 void updateSampleRateAndFrequency();
113 void updateFrequencyLimits();
114 void setCenterFrequencySetting(
uint64_t kHzValue);
117 void handleInputMessages();
119 void antennasChanged();
120 void sampleRateChanged(
double sampleRate);
121 void bandwidthChanged(
double bandwidth);
122 void tunableElementChanged(QString name,
double value);
123 void globalGainChanged(
double gain);
124 void autoGainChanged(
bool set);
125 void individualGainChanged(QString name,
double value);
126 void autoDCCorrectionChanged(
bool set);
127 void autoIQCorrectionChanged(
bool set);
128 void dcCorrectionModuleChanged(
double value);
129 void dcCorrectionArgumentChanged(
double value);
130 void iqCorrectionModuleChanged(
double value);
131 void iqCorrectionArgumentChanged(
double value);
132 void streamArgChanged(QString itemName, QVariant value);
133 void deviceArgChanged(QString itemName, QVariant value);
135 void on_centerFrequency_changed(quint64 value);
136 void on_LOppm_valueChanged(
int value);
137 void on_interp_currentIndexChanged(
int index);
138 void on_transverter_clicked();
139 void on_startStop_toggled(
bool checked);
140 void updateHardware();
142 void openDeviceSettingsDialog(
const QPoint& p);
MessageQueue m_inputMessageQueue
std::vector< DynamicArgSettingGUI * > m_deviceArgsGUIs
SoapySDROutput * m_sampleSink
std::vector< DynamicItemSettingGUI * > m_tunableElementsGUIs
std::vector< DynamicItemSettingGUI * > m_individualGainsGUIs
DeviceUISet * m_deviceUISet
virtual MessageQueue * getInputMessageQueue()
SoapySDROutputSettings m_settings
Ui::SoapySDROutputGui * ui
StringRangeGUI * m_antennas
ItemSettingGUI * m_sampleRateGUI
quint64 m_deviceCenterFrequency
Center frequency in device.
QCheckBox * m_autoDCCorrection
void blockApplySettings(bool block)
std::vector< DynamicArgSettingGUI * > m_streamArgsGUIs
ComplexFactorGUI * m_iqCorrectionGUI
ItemSettingGUI * m_bandwidthGUI
QCheckBox * m_autoIQCorrection
IntervalSliderGUI * m_gainSliderGUI
ComplexFactorGUI * m_dcCorrectionGUI
unsigned __int64 uint64_t