19 #ifndef SWGTestSourceSettings_H_ 20 #define SWGTestSourceSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint32 getCenterFrequency();
46 void setCenterFrequency(qint32 center_frequency);
48 qint32 getFrequencyShift();
49 void setFrequencyShift(qint32 frequency_shift);
51 qint32 getSampleRate();
52 void setSampleRate(qint32 sample_rate);
54 qint32 getLog2Decim();
55 void setLog2Decim(qint32 log2_decim);
58 void setFcPos(qint32 fc_pos);
60 qint32 getSampleSizeIndex();
61 void setSampleSizeIndex(qint32 sample_size_index);
63 qint32 getAmplitudeBits();
64 void setAmplitudeBits(qint32 amplitude_bits);
66 qint32 getAutoCorrOptions();
67 void setAutoCorrOptions(qint32 auto_corr_options);
69 qint32 getModulation();
70 void setModulation(qint32 modulation);
72 qint32 getModulationTone();
73 void setModulationTone(qint32 modulation_tone);
75 qint32 getAmModulation();
76 void setAmModulation(qint32 am_modulation);
78 qint32 getFmDeviation();
79 void setFmDeviation(qint32 fm_deviation);
82 void setDcFactor(
float dc_factor);
85 void setIFactor(
float i_factor);
88 void setQFactor(
float q_factor);
90 float getPhaseImbalance();
91 void setPhaseImbalance(
float phase_imbalance);
93 QString* getFileRecordName();
94 void setFileRecordName(QString* file_record_name);
96 qint32 getUseReverseApi();
97 void setUseReverseApi(qint32 use_reverse_api);
99 QString* getReverseApiAddress();
100 void setReverseApiAddress(QString* reverse_api_address);
102 qint32 getReverseApiPort();
103 void setReverseApiPort(qint32 reverse_api_port);
105 qint32 getReverseApiDeviceIndex();
106 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
109 virtual bool isSet()
override;
bool m_phase_imbalance_isSet
bool m_amplitude_bits_isSet
bool m_fm_deviation_isSet
QString * file_record_name
bool m_auto_corr_options_isSet
bool m_file_record_name_isSet
bool m_center_frequency_isSet
bool m_use_reverse_api_isSet
bool m_reverse_api_device_index_isSet
bool m_am_modulation_isSet
bool m_reverse_api_address_isSet
bool m_frequency_shift_isSet
qint32 reverse_api_device_index
bool m_sample_size_index_isSet
QString * reverse_api_address
bool m_reverse_api_port_isSet
bool m_modulation_tone_isSet