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.
SWGDeviceSetList.h
Go to the documentation of this file.
1 
13 /*
14  * SWGDeviceSetList.h
15  *
16  * List of device sets opened in this instance
17  */
18 
19 #ifndef SWGDeviceSetList_H_
20 #define SWGDeviceSetList_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include "SWGDeviceSet.h"
26 #include <QList>
27 
28 #include "SWGObject.h"
29 #include "export.h"
30 
31 namespace SWGSDRangel {
32 
34 public:
36  SWGDeviceSetList(QString* json);
37  virtual ~SWGDeviceSetList();
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 SWGDeviceSetList* fromJson(QString &jsonString) override;
45 
46  qint32 getDevicesetcount();
47  void setDevicesetcount(qint32 devicesetcount);
48 
49  qint32 getDevicesetfocus();
50  void setDevicesetfocus(qint32 devicesetfocus);
51 
52  QList<SWGDeviceSet*>* getDeviceSets();
53  void setDeviceSets(QList<SWGDeviceSet*>* device_sets);
54 
55 
56  virtual bool isSet() override;
57 
58 private:
61 
64 
65  QList<SWGDeviceSet*>* device_sets;
67 
68 };
69 
70 }
71 
72 #endif /* SWGDeviceSetList_H_ */
QList< SWGDeviceSet * > * device_sets
#define SWG_API
Definition: export.h:124