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.
SWGFCDProPlusSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGFCDProPlusSettings.h
15  *
16  * FCDProPlus
17  */
18 
19 #ifndef SWGFCDProPlusSettings_H_
20 #define SWGFCDProPlusSettings_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  SWGFCDProPlusSettings(QString* json);
36  virtual ~SWGFCDProPlusSettings();
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 SWGFCDProPlusSettings* fromJson(QString &jsonString) override;
44 
45  qint64 getCenterFrequency();
46  void setCenterFrequency(qint64 center_frequency);
47 
48  qint32 getLog2Decim();
49  void setLog2Decim(qint32 log2_decim);
50 
51  qint32 getFcPos();
52  void setFcPos(qint32 fc_pos);
53 
54  qint32 getRangeLow();
55  void setRangeLow(qint32 range_low);
56 
57  qint32 getLnaGain();
58  void setLnaGain(qint32 lna_gain);
59 
60  qint32 getMixGain();
61  void setMixGain(qint32 mix_gain);
62 
63  qint32 getBiasT();
64  void setBiasT(qint32 bias_t);
65 
66  qint32 getIfGain();
67  void setIfGain(qint32 if_gain);
68 
69  qint32 getIfFilterIndex();
70  void setIfFilterIndex(qint32 if_filter_index);
71 
72  qint32 getRfFilterIndex();
73  void setRfFilterIndex(qint32 rf_filter_index);
74 
75  qint32 getLOppmTenths();
76  void setLOppmTenths(qint32 l_oppm_tenths);
77 
78  qint32 getDcBlock();
79  void setDcBlock(qint32 dc_block);
80 
81  qint32 getIqImbalance();
82  void setIqImbalance(qint32 iq_imbalance);
83 
84  qint32 getTransverterMode();
85  void setTransverterMode(qint32 transverter_mode);
86 
87  qint64 getTransverterDeltaFrequency();
88  void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
89 
90  QString* getFileRecordName();
91  void setFileRecordName(QString* file_record_name);
92 
93  qint32 getUseReverseApi();
94  void setUseReverseApi(qint32 use_reverse_api);
95 
96  QString* getReverseApiAddress();
97  void setReverseApiAddress(QString* reverse_api_address);
98 
99  qint32 getReverseApiPort();
100  void setReverseApiPort(qint32 reverse_api_port);
101 
102  qint32 getReverseApiDeviceIndex();
103  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
104 
105 
106  virtual bool isSet() override;
107 
108 private:
111 
112  qint32 log2_decim;
114 
115  qint32 fc_pos;
117 
118  qint32 range_low;
120 
121  qint32 lna_gain;
123 
124  qint32 mix_gain;
126 
127  qint32 bias_t;
129 
130  qint32 if_gain;
132 
135 
138 
141 
142  qint32 dc_block;
144 
145  qint32 iq_imbalance;
147 
150 
153 
156 
159 
162 
165 
168 
169 };
170 
171 }
172 
173 #endif /* SWGFCDProPlusSettings_H_ */
#define SWG_API
Definition: export.h:124