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.
SWGSoapySDRReport.h
Go to the documentation of this file.
1 
13 /*
14  * SWGSoapySDRReport.h
15  *
16  * SoapySDR
17  */
18 
19 #ifndef SWGSoapySDRReport_H_
20 #define SWGSoapySDRReport_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include "SWGArgInfo.h"
26 #include "SWGRangeFloat.h"
28 #include "SWGSoapySDRGainSetting.h"
29 #include <QList>
30 #include <QString>
31 
32 #include "SWGObject.h"
33 #include "export.h"
34 
35 namespace SWGSDRangel {
36 
38 public:
40  SWGSoapySDRReport(QString* json);
41  virtual ~SWGSoapySDRReport();
42  void init();
43  void cleanup();
44 
45  virtual QString asJson () override;
46  virtual QJsonObject* asJsonObject() override;
47  virtual void fromJsonObject(QJsonObject &json) override;
48  virtual SWGSoapySDRReport* fromJson(QString &jsonString) override;
49 
50  QList<SWGArgInfo*>* getDeviceSettingsArgs();
51  void setDeviceSettingsArgs(QList<SWGArgInfo*>* device_settings_args);
52 
53  QList<SWGArgInfo*>* getStreamSettingsArgs();
54  void setStreamSettingsArgs(QList<SWGArgInfo*>* stream_settings_args);
55 
56  qint32 getHasDcAutoCorrection();
57  void setHasDcAutoCorrection(qint32 has_dc_auto_correction);
58 
59  qint32 getHasDcOffsetValue();
60  void setHasDcOffsetValue(qint32 has_dc_offset_value);
61 
62  qint32 getHasIqBalanceValue();
63  void setHasIqBalanceValue(qint32 has_iq_balance_value);
64 
65  qint32 getHasFrequencyCorrectionValue();
66  void setHasFrequencyCorrectionValue(qint32 has_frequency_correction_value);
67 
68  QList<QString*>* getAntennas();
69  void setAntennas(QList<QString*>* antennas);
70 
71  qint32 getHasAgc();
72  void setHasAgc(qint32 has_agc);
73 
74  SWGRangeFloat* getGainRange();
75  void setGainRange(SWGRangeFloat* gain_range);
76 
77  QList<SWGSoapySDRGainSetting*>* getGainSettings();
78  void setGainSettings(QList<SWGSoapySDRGainSetting*>* gain_settings);
79 
80  QList<SWGSoapySDRFrequencySetting*>* getFrequencySettings();
81  void setFrequencySettings(QList<SWGSoapySDRFrequencySetting*>* frequency_settings);
82 
83  QList<SWGArgInfo*>* getFrequencySettingsArgs();
84  void setFrequencySettingsArgs(QList<SWGArgInfo*>* frequency_settings_args);
85 
86  QList<SWGRangeFloat*>* getRatesRanges();
87  void setRatesRanges(QList<SWGRangeFloat*>* rates_ranges);
88 
89  QList<SWGRangeFloat*>* getBandwidthsRanges();
90  void setBandwidthsRanges(QList<SWGRangeFloat*>* bandwidths_ranges);
91 
92 
93  virtual bool isSet() override;
94 
95 private:
96  QList<SWGArgInfo*>* device_settings_args;
98 
99  QList<SWGArgInfo*>* stream_settings_args;
101 
104 
107 
110 
113 
114  QList<QString*>* antennas;
116 
117  qint32 has_agc;
119 
122 
123  QList<SWGSoapySDRGainSetting*>* gain_settings;
125 
126  QList<SWGSoapySDRFrequencySetting*>* frequency_settings;
128 
129  QList<SWGArgInfo*>* frequency_settings_args;
131 
132  QList<SWGRangeFloat*>* rates_ranges;
134 
135  QList<SWGRangeFloat*>* bandwidths_ranges;
137 
138 };
139 
140 }
141 
142 #endif /* SWGSoapySDRReport_H_ */
QList< SWGArgInfo * > * device_settings_args
QList< SWGRangeFloat * > * rates_ranges
QList< SWGArgInfo * > * stream_settings_args
QList< SWGArgInfo * > * frequency_settings_args
#define SWG_API
Definition: export.h:124
QList< SWGSoapySDRGainSetting * > * gain_settings
QList< SWGSoapySDRFrequencySetting * > * frequency_settings
QList< SWGRangeFloat * > * bandwidths_ranges