19 #ifndef SWGXtrxOutputSettings_H_ 20 #define SWGXtrxOutputSettings_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 getDevSampleRate();
49 void setDevSampleRate(qint32 dev_sample_rate);
51 qint32 getLog2HardInterp();
52 void setLog2HardInterp(qint32 log2_hard_interp);
54 qint32 getLog2SoftInterp();
55 void setLog2SoftInterp(qint32 log2_soft_interp);
58 void setLpfBw(qint32 lpf_bw);
61 void setGain(qint32 gain);
63 qint32 getNcoEnable();
64 void setNcoEnable(qint32 nco_enable);
66 qint32 getNcoFrequency();
67 void setNcoFrequency(qint32 nco_frequency);
69 qint32 getAntennaPath();
70 void setAntennaPath(qint32 antenna_path);
73 void setExtClock(qint32 ext_clock);
75 qint32 getExtClockFreq();
76 void setExtClockFreq(qint32 ext_clock_freq);
79 void setPwrmode(qint32 pwrmode);
81 qint32 getUseReverseApi();
82 void setUseReverseApi(qint32 use_reverse_api);
84 QString* getReverseApiAddress();
85 void setReverseApiAddress(QString* reverse_api_address);
87 qint32 getReverseApiPort();
88 void setReverseApiPort(qint32 reverse_api_port);
90 qint32 getReverseApiDeviceIndex();
91 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
94 virtual bool isSet()
override;
bool m_center_frequency_isSet
bool m_dev_sample_rate_isSet
bool m_log2_soft_interp_isSet
bool m_reverse_api_device_index_isSet
bool m_antenna_path_isSet
bool m_use_reverse_api_isSet
bool m_ext_clock_freq_isSet
bool m_log2_hard_interp_isSet
qint32 reverse_api_device_index
bool m_reverse_api_address_isSet
QString * reverse_api_address
bool m_nco_frequency_isSet
bool m_reverse_api_port_isSet