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.
SWGPlutoSdrInputSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGPlutoSdrInputSettings.h
15  *
16  * PlutoSDR
17  */
18 
19 #ifndef SWGPlutoSdrInputSettings_H_
20 #define SWGPlutoSdrInputSettings_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  SWGPlutoSdrInputSettings(QString* json);
36  virtual ~SWGPlutoSdrInputSettings();
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 SWGPlutoSdrInputSettings* fromJson(QString &jsonString) override;
44 
45  qint64 getCenterFrequency();
46  void setCenterFrequency(qint64 center_frequency);
47 
48  qint32 getDevSampleRate();
49  void setDevSampleRate(qint32 dev_sample_rate);
50 
51  qint32 getLOppmTenths();
52  void setLOppmTenths(qint32 l_oppm_tenths);
53 
54  qint32 getLpfFirEnable();
55  void setLpfFirEnable(qint32 lpf_fir_enable);
56 
57  qint32 getLpfFirbw();
58  void setLpfFirbw(qint32 lpf_firbw);
59 
60  qint32 getLpfFiRlog2Decim();
61  void setLpfFiRlog2Decim(qint32 lpf_fi_rlog2_decim);
62 
63  qint32 getLpfFirGain();
64  void setLpfFirGain(qint32 lpf_fir_gain);
65 
66  qint32 getFcPos();
67  void setFcPos(qint32 fc_pos);
68 
69  qint32 getDcBlock();
70  void setDcBlock(qint32 dc_block);
71 
72  qint32 getIqCorrection();
73  void setIqCorrection(qint32 iq_correction);
74 
75  qint32 getHwBbdcBlock();
76  void setHwBbdcBlock(qint32 hw_bbdc_block);
77 
78  qint32 getHwRfdcBlock();
79  void setHwRfdcBlock(qint32 hw_rfdc_block);
80 
81  qint32 getHwIqCorrection();
82  void setHwIqCorrection(qint32 hw_iq_correction);
83 
84  qint32 getLog2Decim();
85  void setLog2Decim(qint32 log2_decim);
86 
87  qint32 getLpfBw();
88  void setLpfBw(qint32 lpf_bw);
89 
90  qint32 getGain();
91  void setGain(qint32 gain);
92 
93  qint32 getAntennaPath();
94  void setAntennaPath(qint32 antenna_path);
95 
96  qint32 getGainMode();
97  void setGainMode(qint32 gain_mode);
98 
99  qint32 getTransverterMode();
100  void setTransverterMode(qint32 transverter_mode);
101 
102  qint64 getTransverterDeltaFrequency();
103  void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
104 
105  QString* getFileRecordName();
106  void setFileRecordName(QString* file_record_name);
107 
108  qint32 getUseReverseApi();
109  void setUseReverseApi(qint32 use_reverse_api);
110 
111  QString* getReverseApiAddress();
112  void setReverseApiAddress(QString* reverse_api_address);
113 
114  qint32 getReverseApiPort();
115  void setReverseApiPort(qint32 reverse_api_port);
116 
117  qint32 getReverseApiDeviceIndex();
118  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
119 
120 
121  virtual bool isSet() override;
122 
123 private:
126 
129 
132 
135 
136  qint32 lpf_firbw;
138 
141 
142  qint32 lpf_fir_gain;
144 
145  qint32 fc_pos;
147 
148  qint32 dc_block;
150 
153 
156 
159 
162 
163  qint32 log2_decim;
165 
166  qint32 lpf_bw;
168 
169  qint32 gain;
171 
172  qint32 antenna_path;
174 
175  qint32 gain_mode;
177 
180 
183 
186 
189 
192 
195 
198 
199 };
200 
201 }
202 
203 #endif /* SWGPlutoSdrInputSettings_H_ */
#define SWG_API
Definition: export.h:124