19 #ifndef SWGSoapySDROutputSettings_H_ 20 #define SWGSoapySDROutputSettings_H_ 22 #include <QJsonObject> 43 virtual QString asJson ()
override;
44 virtual QJsonObject* asJsonObject()
override;
45 virtual void fromJsonObject(QJsonObject &json)
override;
48 qint64 getCenterFrequency();
49 void setCenterFrequency(qint64 center_frequency);
51 qint32 getLOppmTenths();
52 void setLOppmTenths(qint32 l_oppm_tenths);
54 qint32 getDevSampleRate();
55 void setDevSampleRate(qint32 dev_sample_rate);
57 qint32 getLog2Interp();
58 void setLog2Interp(qint32 log2_interp);
60 qint32 getTransverterMode();
61 void setTransverterMode(qint32 transverter_mode);
63 qint64 getTransverterDeltaFrequency();
64 void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
66 QString* getAntenna();
67 void setAntenna(QString* antenna);
69 qint32 getBandwidth();
70 void setBandwidth(qint32 bandwidth);
72 QList<SWGArgValue*>* getTunableElements();
73 void setTunableElements(QList<SWGArgValue*>* tunable_elements);
75 qint32 getGlobalGain();
76 void setGlobalGain(qint32 global_gain);
78 QList<SWGArgValue*>* getIndividualGains();
79 void setIndividualGains(QList<SWGArgValue*>* individual_gains);
82 void setAutoGain(qint32 auto_gain);
84 qint32 getAutoDcCorrection();
85 void setAutoDcCorrection(qint32 auto_dc_correction);
87 qint32 getAutoIqCorrection();
88 void setAutoIqCorrection(qint32 auto_iq_correction);
91 void setDcCorrection(
SWGComplex* dc_correction);
94 void setIqCorrection(
SWGComplex* iq_correction);
96 QList<SWGArgValue*>* getStreamArgSettings();
97 void setStreamArgSettings(QList<SWGArgValue*>* stream_arg_settings);
99 QList<SWGArgValue*>* getDeviceArgSettings();
100 void setDeviceArgSettings(QList<SWGArgValue*>* device_arg_settings);
102 qint32 getUseReverseApi();
103 void setUseReverseApi(qint32 use_reverse_api);
105 QString* getReverseApiAddress();
106 void setReverseApiAddress(QString* reverse_api_address);
108 qint32 getReverseApiPort();
109 void setReverseApiPort(qint32 reverse_api_port);
111 qint32 getReverseApiDeviceIndex();
112 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
115 virtual bool isSet()
override;
QList< SWGArgValue * > * device_arg_settings
bool m_transverter_delta_frequency_isSet
QList< SWGArgValue * > * individual_gains
bool m_transverter_mode_isSet
bool m_reverse_api_address_isSet
bool m_auto_iq_correction_isSet
QList< SWGArgValue * > * stream_arg_settings
bool m_auto_dc_correction_isSet
bool m_dev_sample_rate_isSet
bool m_stream_arg_settings_isSet
bool m_dc_correction_isSet
bool m_l_oppm_tenths_isSet
QList< SWGArgValue * > * tunable_elements
bool m_reverse_api_device_index_isSet
qint32 reverse_api_device_index
qint32 auto_iq_correction
qint64 transverter_delta_frequency
QString * reverse_api_address
bool m_iq_correction_isSet
bool m_device_arg_settings_isSet
bool m_individual_gains_isSet
bool m_use_reverse_api_isSet
bool m_reverse_api_port_isSet
SWGComplex * iq_correction
SWGComplex * dc_correction
bool m_center_frequency_isSet
bool m_tunable_elements_isSet
qint32 auto_dc_correction