19 #ifndef SWGAirspyHFSettings_H_ 20 #define SWGAirspyHFSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint64 getCenterFrequency();
46 void setCenterFrequency(qint64 center_frequency);
48 qint32 getLOppmTenths();
49 void setLOppmTenths(qint32 l_oppm_tenths);
51 qint32 getDevSampleRateIndex();
52 void setDevSampleRateIndex(qint32 dev_sample_rate_index);
54 qint32 getLog2Decim();
55 void setLog2Decim(qint32 log2_decim);
57 qint32 getTransverterMode();
58 void setTransverterMode(qint32 transverter_mode);
60 qint64 getTransverterDeltaFrequency();
61 void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
63 qint32 getBandIndex();
64 void setBandIndex(qint32 band_index);
66 QString* getFileRecordName();
67 void setFileRecordName(QString* file_record_name);
69 qint32 getUseReverseApi();
70 void setUseReverseApi(qint32 use_reverse_api);
72 QString* getReverseApiAddress();
73 void setReverseApiAddress(QString* reverse_api_address);
75 qint32 getReverseApiPort();
76 void setReverseApiPort(qint32 reverse_api_port);
78 qint32 getReverseApiDeviceIndex();
79 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
82 void setUseAgc(qint32 use_agc);
85 void setAgcHigh(qint32 agc_high);
88 void setUseDsp(qint32 use_dsp);
91 void setUseLna(qint32 use_lna);
93 qint32 getAttenuatorSteps();
94 void setAttenuatorSteps(qint32 attenuator_steps);
97 void setDcBlock(qint32 dc_block);
99 qint32 getIqCorrection();
100 void setIqCorrection(qint32 iq_correction);
103 virtual bool isSet()
override;
QString * reverse_api_address
bool m_reverse_api_address_isSet
bool m_reverse_api_port_isSet
bool m_reverse_api_device_index_isSet
bool m_use_reverse_api_isSet
bool m_attenuator_steps_isSet
qint32 dev_sample_rate_index
bool m_transverter_delta_frequency_isSet
QString * file_record_name
bool m_file_record_name_isSet
bool m_l_oppm_tenths_isSet
qint64 transverter_delta_frequency
bool m_center_frequency_isSet
bool m_transverter_mode_isSet
qint32 reverse_api_device_index
bool m_iq_correction_isSet
bool m_dev_sample_rate_index_isSet