19 #ifndef SWGRtlSdrSettings_H_ 20 #define SWGRtlSdrSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint32 getDevSampleRate();
46 void setDevSampleRate(qint32 dev_sample_rate);
48 qint32 getLowSampleRate();
49 void setLowSampleRate(qint32 low_sample_rate);
51 qint64 getCenterFrequency();
52 void setCenterFrequency(qint64 center_frequency);
55 void setGain(qint32 gain);
57 qint32 getLoPpmCorrection();
58 void setLoPpmCorrection(qint32 lo_ppm_correction);
60 qint32 getLog2Decim();
61 void setLog2Decim(qint32 log2_decim);
64 void setFcPos(qint32 fc_pos);
67 void setDcBlock(qint32 dc_block);
69 qint32 getIqImbalance();
70 void setIqImbalance(qint32 iq_imbalance);
73 void setAgc(qint32 agc);
75 qint32 getNoModMode();
76 void setNoModMode(qint32 no_mod_mode);
78 qint32 getOffsetTuning();
79 void setOffsetTuning(qint32 offset_tuning);
81 qint32 getTransverterMode();
82 void setTransverterMode(qint32 transverter_mode);
84 qint64 getTransverterDeltaFrequency();
85 void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
87 qint32 getRfBandwidth();
88 void setRfBandwidth(qint32 rf_bandwidth);
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_isSet
bool m_file_record_name_isSet
qint32 reverse_api_device_index
bool m_iq_imbalance_isSet
bool m_use_reverse_api_isSet
QString * file_record_name
bool m_rf_bandwidth_isSet
QString * reverse_api_address
bool m_reverse_api_device_index_isSet
bool m_lo_ppm_correction_isSet
bool m_low_sample_rate_isSet
bool m_reverse_api_port_isSet
bool m_center_frequency_isSet
bool m_transverter_delta_frequency_isSet
bool m_transverter_mode_isSet
bool m_offset_tuning_isSet
bool m_reverse_api_address_isSet
qint64 transverter_delta_frequency