19 #ifndef SWGAirspySettings_H_ 20 #define SWGAirspySettings_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);
55 void setLnaGain(qint32 lna_gain);
57 qint32 getMixerGain();
58 void setMixerGain(qint32 mixer_gain);
61 void setVgaGain(qint32 vga_gain);
64 void setLnaAgc(qint32 lna_agc);
67 void setMixerAgc(qint32 mixer_agc);
69 qint32 getLog2Decim();
70 void setLog2Decim(qint32 log2_decim);
73 void setFcPos(qint32 fc_pos);
76 void setBiasT(qint32 bias_t);
79 void setDcBlock(qint32 dc_block);
81 qint32 getIqCorrection();
82 void setIqCorrection(qint32 iq_correction);
84 qint32 getTransverterMode();
85 void setTransverterMode(qint32 transverter_mode);
87 qint64 getTransverterDeltaFrequency();
88 void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
90 QString* getFileRecordName();
91 void setFileRecordName(QString* file_record_name);
93 qint32 getUseReverseApi();
94 void setUseReverseApi(qint32 use_reverse_api);
96 QString* getReverseApiAddress();
97 void setReverseApiAddress(QString* reverse_api_address);
99 qint32 getReverseApiPort();
100 void setReverseApiPort(qint32 reverse_api_port);
102 qint32 getReverseApiDeviceIndex();
103 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
106 virtual bool isSet()
override;
bool m_dev_sample_rate_index_isSet
qint32 reverse_api_device_index
qint64 transverter_delta_frequency
bool m_l_oppm_tenths_isSet
bool m_reverse_api_address_isSet
bool m_file_record_name_isSet
bool m_iq_correction_isSet
bool m_use_reverse_api_isSet
bool m_reverse_api_port_isSet
bool m_transverter_mode_isSet
bool m_center_frequency_isSet
QString * file_record_name
bool m_transverter_delta_frequency_isSet
QString * reverse_api_address
bool m_reverse_api_device_index_isSet
qint32 dev_sample_rate_index