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.
SWGSDRPlayReport.h
Go to the documentation of this file.
1 
13 /*
14  * SWGSDRPlayReport.h
15  *
16  * SDRplay1
17  */
18 
19 #ifndef SWGSDRPlayReport_H_
20 #define SWGSDRPlayReport_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include "SWGBandwidth.h"
26 #include "SWGFrequency.h"
27 #include "SWGFrequencyBand.h"
28 #include "SWGSampleRate.h"
29 #include <QList>
30 
31 #include "SWGObject.h"
32 #include "export.h"
33 
34 namespace SWGSDRangel {
35 
37 public:
39  SWGSDRPlayReport(QString* json);
40  virtual ~SWGSDRPlayReport();
41  void init();
42  void cleanup();
43 
44  virtual QString asJson () override;
45  virtual QJsonObject* asJsonObject() override;
46  virtual void fromJsonObject(QJsonObject &json) override;
47  virtual SWGSDRPlayReport* fromJson(QString &jsonString) override;
48 
49  QList<SWGSampleRate*>* getSampleRates();
50  void setSampleRates(QList<SWGSampleRate*>* sample_rates);
51 
52  QList<SWGBandwidth*>* getBandwidths();
53  void setBandwidths(QList<SWGBandwidth*>* bandwidths);
54 
55  QList<SWGFrequency*>* getIntermediateFrequencies();
56  void setIntermediateFrequencies(QList<SWGFrequency*>* intermediate_frequencies);
57 
58  QList<SWGFrequencyBand*>* getFrequencyBands();
59  void setFrequencyBands(QList<SWGFrequencyBand*>* frequency_bands);
60 
61 
62  virtual bool isSet() override;
63 
64 private:
65  QList<SWGSampleRate*>* sample_rates;
67 
68  QList<SWGBandwidth*>* bandwidths;
70 
71  QList<SWGFrequency*>* intermediate_frequencies;
73 
74  QList<SWGFrequencyBand*>* frequency_bands;
76 
77 };
78 
79 }
80 
81 #endif /* SWGSDRPlayReport_H_ */
QList< SWGFrequency * > * intermediate_frequencies
#define SWG_API
Definition: export.h:124
QList< SWGSampleRate * > * sample_rates
QList< SWGBandwidth * > * bandwidths
QList< SWGFrequencyBand * > * frequency_bands