19 #ifndef SWGHackRFOutputSettings_H_ 20 #define SWGHackRFOutputSettings_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 setVgaGain(qint32 vga_gain);
57 qint32 getLog2Interp();
58 void setLog2Interp(qint32 log2_interp);
61 void setFcPos(qint32 fc_pos);
63 qint32 getDevSampleRate();
64 void setDevSampleRate(qint32 dev_sample_rate);
67 void setBiasT(qint32 bias_t);
70 void setLnaExt(qint32 lna_ext);
72 qint32 getUseReverseApi();
73 void setUseReverseApi(qint32 use_reverse_api);
75 QString* getReverseApiAddress();
76 void setReverseApiAddress(QString* reverse_api_address);
78 qint32 getReverseApiPort();
79 void setReverseApiPort(qint32 reverse_api_port);
81 qint32 getReverseApiDeviceIndex();
82 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
85 virtual bool isSet()
override;
bool m_l_oppm_tenths_isSet
bool m_center_frequency_isSet
bool m_reverse_api_port_isSet
bool m_reverse_api_device_index_isSet
QString * reverse_api_address
bool m_use_reverse_api_isSet
bool m_reverse_api_address_isSet
bool m_dev_sample_rate_isSet
qint32 reverse_api_device_index