19 #ifndef SWGPerseusSettings_H_ 20 #define SWGPerseusSettings_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 getAdcDither();
58 void setAdcDither(qint32 adc_dither);
60 qint32 getAdcPreamp();
61 void setAdcPreamp(qint32 adc_preamp);
64 void setWideBand(qint32 wide_band);
66 qint32 getTransverterMode();
67 void setTransverterMode(qint32 transverter_mode);
69 qint64 getTransverterDeltaFrequency();
70 void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
72 QString* getFileRecordName();
73 void setFileRecordName(QString* file_record_name);
75 qint32 getAttenuator();
76 void setAttenuator(qint32 attenuator);
78 qint32 getUseReverseApi();
79 void setUseReverseApi(qint32 use_reverse_api);
81 QString* getReverseApiAddress();
82 void setReverseApiAddress(QString* reverse_api_address);
84 qint32 getReverseApiPort();
85 void setReverseApiPort(qint32 reverse_api_port);
87 qint32 getReverseApiDeviceIndex();
88 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
91 virtual bool isSet()
override;
bool m_file_record_name_isSet
bool m_reverse_api_port_isSet
bool m_reverse_api_device_index_isSet
bool m_transverter_mode_isSet
qint64 transverter_delta_frequency
bool m_use_reverse_api_isSet
bool m_transverter_delta_frequency_isSet
bool m_dev_sample_rate_index_isSet
qint32 dev_sample_rate_index
qint32 reverse_api_device_index
QString * file_record_name
bool m_l_oppm_tenths_isSet
bool m_reverse_api_address_isSet
bool m_center_frequency_isSet
QString * reverse_api_address