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.
SWGBladeRF2InputReport.h
Go to the documentation of this file.
1 
13 /*
14  * SWGBladeRF2InputReport.h
15  *
16  * BladeRF2
17  */
18 
19 #ifndef SWGBladeRF2InputReport_H_
20 #define SWGBladeRF2InputReport_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include "SWGFrequencyRange.h"
26 #include "SWGNamedEnum.h"
27 #include "SWGRange.h"
28 #include <QList>
29 
30 #include "SWGObject.h"
31 #include "export.h"
32 
33 namespace SWGSDRangel {
34 
36 public:
38  SWGBladeRF2InputReport(QString* json);
39  virtual ~SWGBladeRF2InputReport();
40  void init();
41  void cleanup();
42 
43  virtual QString asJson () override;
44  virtual QJsonObject* asJsonObject() override;
45  virtual void fromJsonObject(QJsonObject &json) override;
46  virtual SWGBladeRF2InputReport* fromJson(QString &jsonString) override;
47 
48  SWGFrequencyRange* getFrequencyRange();
49  void setFrequencyRange(SWGFrequencyRange* frequency_range);
50 
51  SWGRange* getSampleRateRange();
52  void setSampleRateRange(SWGRange* sample_rate_range);
53 
54  SWGRange* getBandwidthRange();
55  void setBandwidthRange(SWGRange* bandwidth_range);
56 
57  SWGRange* getGlobalGainRange();
58  void setGlobalGainRange(SWGRange* global_gain_range);
59 
60  QList<SWGNamedEnum*>* getGainModes();
61  void setGainModes(QList<SWGNamedEnum*>* gain_modes);
62 
63 
64  virtual bool isSet() override;
65 
66 private:
69 
72 
75 
78 
79  QList<SWGNamedEnum*>* gain_modes;
81 
82 };
83 
84 }
85 
86 #endif /* SWGBladeRF2InputReport_H_ */
#define SWG_API
Definition: export.h:124