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.
SWGDeviceSettings_2.h
Go to the documentation of this file.
1 
13 /*
14  * SWGDeviceSettings_2.h
15  *
16  * Base device settings. Only the device settings corresponding to the device specified in the deviceHwType field is or should be present.
17  */
18 
19 #ifndef SWGDeviceSettings_2_H_
20 #define SWGDeviceSettings_2_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include "SWGAirspyHFSettings.h"
26 #include "SWGAirspySettings.h"
31 #include "SWGFCDProPlusSettings.h"
32 #include "SWGFCDProSettings.h"
33 #include "SWGFileInputSettings.h"
34 #include "SWGHackRFInputSettings.h"
36 #include "SWGKiwiSDRSettings.h"
39 #include "SWGLocalInputSettings.h"
40 #include "SWGLocalOutputSettings.h"
41 #include "SWGPerseusSettings.h"
44 #include "SWGRemoteInputSettings.h"
46 #include "SWGRtlSdrSettings.h"
47 #include "SWGSDRPlaySettings.h"
50 #include "SWGTestMISettings.h"
51 #include "SWGTestSourceSettings.h"
52 #include "SWGXtrxInputSettings.h"
53 #include "SWGXtrxOutputSettings.h"
54 #include <QString>
55 
56 #include "SWGObject.h"
57 #include "export.h"
58 
59 namespace SWGSDRangel {
60 
62 public:
64  SWGDeviceSettings_2(QString* json);
65  virtual ~SWGDeviceSettings_2();
66  void init();
67  void cleanup();
68 
69  virtual QString asJson () override;
70  virtual QJsonObject* asJsonObject() override;
71  virtual void fromJsonObject(QJsonObject &json) override;
72  virtual SWGDeviceSettings_2* fromJson(QString &jsonString) override;
73 
74  QString* getDeviceHwType();
75  void setDeviceHwType(QString* device_hw_type);
76 
77  qint32 getDirection();
78  void setDirection(qint32 direction);
79 
80  qint32 getOriginatorIndex();
81  void setOriginatorIndex(qint32 originator_index);
82 
83  SWGAirspySettings* getAirspySettings();
84  void setAirspySettings(SWGAirspySettings* airspy_settings);
85 
86  SWGAirspyHFSettings* getAirspyHfSettings();
87  void setAirspyHfSettings(SWGAirspyHFSettings* airspy_hf_settings);
88 
89  SWGBladeRF1InputSettings* getBladeRf1InputSettings();
90  void setBladeRf1InputSettings(SWGBladeRF1InputSettings* blade_rf1_input_settings);
91 
92  SWGBladeRF2InputSettings* getBladeRf2InputSettings();
93  void setBladeRf2InputSettings(SWGBladeRF2InputSettings* blade_rf2_input_settings);
94 
95  SWGBladeRF1OutputSettings* getBladeRf1OutputSettings();
96  void setBladeRf1OutputSettings(SWGBladeRF1OutputSettings* blade_rf1_output_settings);
97 
98  SWGBladeRF2OutputSettings* getBladeRf2OutputSettings();
99  void setBladeRf2OutputSettings(SWGBladeRF2OutputSettings* blade_rf2_output_settings);
100 
101  SWGFCDProSettings* getFcdProSettings();
102  void setFcdProSettings(SWGFCDProSettings* fcd_pro_settings);
103 
104  SWGFCDProPlusSettings* getFcdProPlusSettings();
105  void setFcdProPlusSettings(SWGFCDProPlusSettings* fcd_pro_plus_settings);
106 
107  SWGFileInputSettings* getFileInputSettings();
108  void setFileInputSettings(SWGFileInputSettings* file_input_settings);
109 
110  SWGHackRFInputSettings* getHackRfInputSettings();
111  void setHackRfInputSettings(SWGHackRFInputSettings* hack_rf_input_settings);
112 
113  SWGHackRFOutputSettings* getHackRfOutputSettings();
114  void setHackRfOutputSettings(SWGHackRFOutputSettings* hack_rf_output_settings);
115 
116  SWGKiwiSDRSettings* getKiwiSdrSettings();
117  void setKiwiSdrSettings(SWGKiwiSDRSettings* kiwi_sdr_settings);
118 
119  SWGLimeSdrInputSettings* getLimeSdrInputSettings();
120  void setLimeSdrInputSettings(SWGLimeSdrInputSettings* lime_sdr_input_settings);
121 
122  SWGLimeSdrOutputSettings* getLimeSdrOutputSettings();
123  void setLimeSdrOutputSettings(SWGLimeSdrOutputSettings* lime_sdr_output_settings);
124 
125  SWGLocalInputSettings* getLocalInputSettings();
126  void setLocalInputSettings(SWGLocalInputSettings* local_input_settings);
127 
128  SWGLocalOutputSettings* getLocalOutputSettings();
129  void setLocalOutputSettings(SWGLocalOutputSettings* local_output_settings);
130 
131  SWGPerseusSettings* getPerseusSettings();
132  void setPerseusSettings(SWGPerseusSettings* perseus_settings);
133 
134  SWGPlutoSdrInputSettings* getPlutoSdrInputSettings();
135  void setPlutoSdrInputSettings(SWGPlutoSdrInputSettings* pluto_sdr_input_settings);
136 
137  SWGPlutoSdrOutputSettings* getPlutoSdrOutputSettings();
138  void setPlutoSdrOutputSettings(SWGPlutoSdrOutputSettings* pluto_sdr_output_settings);
139 
140  SWGRtlSdrSettings* getRtlSdrSettings();
141  void setRtlSdrSettings(SWGRtlSdrSettings* rtl_sdr_settings);
142 
143  SWGRemoteOutputSettings* getRemoteOutputSettings();
144  void setRemoteOutputSettings(SWGRemoteOutputSettings* remote_output_settings);
145 
146  SWGRemoteInputSettings* getRemoteInputSettings();
147  void setRemoteInputSettings(SWGRemoteInputSettings* remote_input_settings);
148 
149  SWGSDRPlaySettings* getSdrPlaySettings();
150  void setSdrPlaySettings(SWGSDRPlaySettings* sdr_play_settings);
151 
152  SWGSoapySDRInputSettings* getSoapySdrInputSettings();
153  void setSoapySdrInputSettings(SWGSoapySDRInputSettings* soapy_sdr_input_settings);
154 
155  SWGSoapySDROutputSettings* getSoapySdrOutputSettings();
156  void setSoapySdrOutputSettings(SWGSoapySDROutputSettings* soapy_sdr_output_settings);
157 
158  SWGTestSourceSettings* getTestSourceSettings();
159  void setTestSourceSettings(SWGTestSourceSettings* test_source_settings);
160 
161  SWGTestMISettings* getTestMiSettings();
162  void setTestMiSettings(SWGTestMISettings* test_mi_settings);
163 
164  SWGXtrxInputSettings* getXtrxInputSettings();
165  void setXtrxInputSettings(SWGXtrxInputSettings* xtrx_input_settings);
166 
167  SWGXtrxOutputSettings* getXtrxOutputSettings();
168  void setXtrxOutputSettings(SWGXtrxOutputSettings* xtrx_output_settings);
169 
170 
171  virtual bool isSet() override;
172 
173 private:
174  QString* device_hw_type;
176 
177  qint32 direction;
179 
182 
185 
188 
191 
194 
197 
200 
203 
206 
209 
212 
215 
218 
221 
224 
227 
230 
233 
236 
239 
242 
245 
248 
251 
254 
257 
260 
263 
266 
269 
270 };
271 
272 }
273 
274 #endif /* SWGDeviceSettings_2_H_ */
SWGHackRFInputSettings * hack_rf_input_settings
SWGHackRFOutputSettings * hack_rf_output_settings
SWGRemoteOutputSettings * remote_output_settings
SWGAirspyHFSettings * airspy_hf_settings
SWGBladeRF1OutputSettings * blade_rf1_output_settings
SWGFileInputSettings * file_input_settings
SWGTestSourceSettings * test_source_settings
SWGXtrxOutputSettings * xtrx_output_settings
SWGFCDProPlusSettings * fcd_pro_plus_settings
SWGBladeRF2InputSettings * blade_rf2_input_settings
SWGBladeRF1InputSettings * blade_rf1_input_settings
SWGXtrxInputSettings * xtrx_input_settings
SWGBladeRF2OutputSettings * blade_rf2_output_settings
SWGLocalInputSettings * local_input_settings
SWGSoapySDROutputSettings * soapy_sdr_output_settings
#define SWG_API
Definition: export.h:124
SWGSoapySDRInputSettings * soapy_sdr_input_settings
SWGLimeSdrInputSettings * lime_sdr_input_settings
SWGRemoteInputSettings * remote_input_settings
SWGLocalOutputSettings * local_output_settings
SWGPlutoSdrOutputSettings * pluto_sdr_output_settings
SWGLimeSdrOutputSettings * lime_sdr_output_settings
SWGPlutoSdrInputSettings * pluto_sdr_input_settings