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.
SWGAMBEDevice.h
Go to the documentation of this file.
1 
13 /*
14  * SWGAMBEDevice.h
15  *
16  * AMBE devices active in the system
17  */
18 
19 #ifndef SWGAMBEDevice_H_
20 #define SWGAMBEDevice_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include <QString>
26 
27 #include "SWGObject.h"
28 #include "export.h"
29 
30 namespace SWGSDRangel {
31 
33 public:
34  SWGAMBEDevice();
35  SWGAMBEDevice(QString* json);
36  virtual ~SWGAMBEDevice();
37  void init();
38  void cleanup();
39 
40  virtual QString asJson () override;
41  virtual QJsonObject* asJsonObject() override;
42  virtual void fromJsonObject(QJsonObject &json) override;
43  virtual SWGAMBEDevice* fromJson(QString &jsonString) override;
44 
45  QString* getDeviceRef();
46  void setDeviceRef(QString* device_ref);
47 
48  qint32 getDelete();
49  void setDelete(qint32 _delete);
50 
51 
52  virtual bool isSet() override;
53 
54 private:
55  QString* device_ref;
57 
58  qint32 _delete;
60 
61 };
62 
63 }
64 
65 #endif /* SWGAMBEDevice_H_ */
#define SWG_API
Definition: export.h:124