19 #ifndef SWGHackRFInputSettings_H_ 20 #define SWGHackRFInputSettings_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 getBandwidth();
52 void setBandwidth(qint32 bandwidth);
55 void setLnaGain(qint32 lna_gain);
58 void setVgaGain(qint32 vga_gain);
60 qint32 getLog2Decim();
61 void setLog2Decim(qint32 log2_decim);
64 void setFcPos(qint32 fc_pos);
66 qint32 getDevSampleRate();
67 void setDevSampleRate(qint32 dev_sample_rate);
70 void setBiasT(qint32 bias_t);
73 void setLnaExt(qint32 lna_ext);
76 void setDcBlock(qint32 dc_block);
78 qint32 getIqCorrection();
79 void setIqCorrection(qint32 iq_correction);
81 QString* getFileRecordName();
82 void setFileRecordName(QString* file_record_name);
84 qint32 getUseReverseApi();
85 void setUseReverseApi(qint32 use_reverse_api);
87 QString* getReverseApiAddress();
88 void setReverseApiAddress(QString* reverse_api_address);
90 qint32 getReverseApiPort();
91 void setReverseApiPort(qint32 reverse_api_port);
93 qint32 getReverseApiDeviceIndex();
94 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
97 virtual bool isSet()
override;