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.
SWGAMBEDevices.h
Go to the documentation of this file.
1 
13 /*
14  * SWGAMBEDevices.h
15  *
16  * List of AMBE devices (serial or server address)
17  */
18 
19 #ifndef SWGAMBEDevices_H_
20 #define SWGAMBEDevices_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include "SWGAMBEDevice.h"
26 #include <QList>
27 
28 #include "SWGObject.h"
29 #include "export.h"
30 
31 namespace SWGSDRangel {
32 
34 public:
36  SWGAMBEDevices(QString* json);
37  virtual ~SWGAMBEDevices();
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 SWGAMBEDevices* fromJson(QString &jsonString) override;
45 
46  qint32 getNbDevices();
47  void setNbDevices(qint32 nb_devices);
48 
49  QList<SWGAMBEDevice*>* getAmbeDevices();
50  void setAmbeDevices(QList<SWGAMBEDevice*>* ambe_devices);
51 
52 
53  virtual bool isSet() override;
54 
55 private:
56  qint32 nb_devices;
58 
59  QList<SWGAMBEDevice*>* ambe_devices;
61 
62 };
63 
64 }
65 
66 #endif /* SWGAMBEDevices_H_ */
QList< SWGAMBEDevice * > * ambe_devices
#define SWG_API
Definition: export.h:124