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.
SWGAirspyReport.h
Go to the documentation of this file.
1 
13 /*
14  * SWGAirspyReport.h
15  *
16  * Airspy
17  */
18 
19 #ifndef SWGAirspyReport_H_
20 #define SWGAirspyReport_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include "SWGSampleRate.h"
26 #include <QList>
27 
28 #include "SWGObject.h"
29 #include "export.h"
30 
31 namespace SWGSDRangel {
32 
34 public:
36  SWGAirspyReport(QString* json);
37  virtual ~SWGAirspyReport();
38  void init();
39  void cleanup();
40 
41  virtual QString asJson () override;
42  virtual QJsonObject* asJsonObject() override;
43  virtual void fromJsonObject(QJsonObject &json) override;
44  virtual SWGAirspyReport* fromJson(QString &jsonString) override;
45 
46  QList<SWGSampleRate*>* getSampleRates();
47  void setSampleRates(QList<SWGSampleRate*>* sample_rates);
48 
49 
50  virtual bool isSet() override;
51 
52 private:
53  QList<SWGSampleRate*>* sample_rates;
55 
56 };
57 
58 }
59 
60 #endif /* SWGAirspyReport_H_ */
#define SWG_API
Definition: export.h:124
QList< SWGSampleRate * > * sample_rates