SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
SWGFCDProSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGFCDProSettings.h
15  *
16  * FCDPro
17  */
18 
19 #ifndef SWGFCDProSettings_H_
20 #define SWGFCDProSettings_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include <QString>
26 
27 #include "SWGObject.h"
28 #include "export.h"
29 
30 namespace SWGSDRangel {
31 
33 public:
35  SWGFCDProSettings(QString* json);
36  virtual ~SWGFCDProSettings();
37  void init();
38  void cleanup();
39 
40  virtual QString asJson () override;
41  virtual QJsonObject* asJsonObject() override;
42  virtual void fromJsonObject(QJsonObject &json) override;
43  virtual SWGFCDProSettings* fromJson(QString &jsonString) override;
44 
45  qint64 getCenterFrequency();
46  void setCenterFrequency(qint64 center_frequency);
47 
48  qint32 getLOppmTenths();
49  void setLOppmTenths(qint32 l_oppm_tenths);
50 
51  qint32 getLnaGainIndex();
52  void setLnaGainIndex(qint32 lna_gain_index);
53 
54  qint32 getRfFilterIndex();
55  void setRfFilterIndex(qint32 rf_filter_index);
56 
57  qint32 getLnaEnhanceIndex();
58  void setLnaEnhanceIndex(qint32 lna_enhance_index);
59 
60  qint32 getBandIndex();
61  void setBandIndex(qint32 band_index);
62 
63  qint32 getMixerGainIndex();
64  void setMixerGainIndex(qint32 mixer_gain_index);
65 
66  qint32 getMixerFilterIndex();
67  void setMixerFilterIndex(qint32 mixer_filter_index);
68 
69  qint32 getBiasCurrentIndex();
70  void setBiasCurrentIndex(qint32 bias_current_index);
71 
72  qint32 getModeIndex();
73  void setModeIndex(qint32 mode_index);
74 
75  qint32 getGain1Index();
76  void setGain1Index(qint32 gain1_index);
77 
78  qint32 getRcFilterIndex();
79  void setRcFilterIndex(qint32 rc_filter_index);
80 
81  qint32 getGain2Index();
82  void setGain2Index(qint32 gain2_index);
83 
84  qint32 getGain3Index();
85  void setGain3Index(qint32 gain3_index);
86 
87  qint32 getGain4Index();
88  void setGain4Index(qint32 gain4_index);
89 
90  qint32 getIfFilterIndex();
91  void setIfFilterIndex(qint32 if_filter_index);
92 
93  qint32 getGain5Index();
94  void setGain5Index(qint32 gain5_index);
95 
96  qint32 getGain6Index();
97  void setGain6Index(qint32 gain6_index);
98 
99  qint32 getLog2Decim();
100  void setLog2Decim(qint32 log2_decim);
101 
102  qint32 getFcPos();
103  void setFcPos(qint32 fc_pos);
104 
105  qint32 getDcBlock();
106  void setDcBlock(qint32 dc_block);
107 
108  qint32 getIqCorrection();
109  void setIqCorrection(qint32 iq_correction);
110 
111  qint32 getTransverterMode();
112  void setTransverterMode(qint32 transverter_mode);
113 
114  qint64 getTransverterDeltaFrequency();
115  void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
116 
117  QString* getFileRecordName();
118  void setFileRecordName(QString* file_record_name);
119 
120  qint32 getUseReverseApi();
121  void setUseReverseApi(qint32 use_reverse_api);
122 
123  QString* getReverseApiAddress();
124  void setReverseApiAddress(QString* reverse_api_address);
125 
126  qint32 getReverseApiPort();
127  void setReverseApiPort(qint32 reverse_api_port);
128 
129  qint32 getReverseApiDeviceIndex();
130  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
131 
132 
133  virtual bool isSet() override;
134 
135 private:
138 
141 
144 
147 
150 
151  qint32 band_index;
153 
156 
159 
162 
163  qint32 mode_index;
165 
166  qint32 gain1_index;
168 
171 
172  qint32 gain2_index;
174 
175  qint32 gain3_index;
177 
178  qint32 gain4_index;
180 
183 
184  qint32 gain5_index;
186 
187  qint32 gain6_index;
189 
190  qint32 log2_decim;
192 
193  qint32 fc_pos;
195 
196  qint32 dc_block;
198 
201 
204 
207 
210 
213 
216 
219 
222 
223 };
224 
225 }
226 
227 #endif /* SWGFCDProSettings_H_ */
#define SWG_API
Definition: export.h:124