19 #ifndef SWGTestMiStreamSettings_H_ 20 #define SWGTestMiStreamSettings_H_ 22 #include <QJsonObject> 39 virtual QString asJson ()
override;
40 virtual QJsonObject* asJsonObject()
override;
41 virtual void fromJsonObject(QJsonObject &json)
override;
44 qint32 getStreamIndex();
45 void setStreamIndex(qint32 stream_index);
47 qint32 getCenterFrequency();
48 void setCenterFrequency(qint32 center_frequency);
50 qint32 getFrequencyShift();
51 void setFrequencyShift(qint32 frequency_shift);
53 qint32 getSampleRate();
54 void setSampleRate(qint32 sample_rate);
56 qint32 getLog2Decim();
57 void setLog2Decim(qint32 log2_decim);
60 void setFcPos(qint32 fc_pos);
62 qint32 getSampleSizeIndex();
63 void setSampleSizeIndex(qint32 sample_size_index);
65 qint32 getAmplitudeBits();
66 void setAmplitudeBits(qint32 amplitude_bits);
68 qint32 getAutoCorrOptions();
69 void setAutoCorrOptions(qint32 auto_corr_options);
71 qint32 getModulation();
72 void setModulation(qint32 modulation);
74 qint32 getModulationTone();
75 void setModulationTone(qint32 modulation_tone);
77 qint32 getAmModulation();
78 void setAmModulation(qint32 am_modulation);
80 qint32 getFmDeviation();
81 void setFmDeviation(qint32 fm_deviation);
84 void setDcFactor(
float dc_factor);
87 void setIFactor(
float i_factor);
90 void setQFactor(
float q_factor);
92 float getPhaseImbalance();
93 void setPhaseImbalance(
float phase_imbalance);
96 virtual bool isSet()
override;
bool m_fm_deviation_isSet
bool m_center_frequency_isSet
bool m_am_modulation_isSet
bool m_phase_imbalance_isSet
bool m_modulation_tone_isSet
bool m_auto_corr_options_isSet
bool m_stream_index_isSet
bool m_amplitude_bits_isSet
bool m_sample_size_index_isSet
bool m_frequency_shift_isSet