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.
SWGInstanceSummaryResponse.h
Go to the documentation of this file.
1 
13 /*
14  * SWGInstanceSummaryResponse.h
15  *
16  * Summarized information about this SDRangel instance
17  */
18 
19 #ifndef SWGInstanceSummaryResponse_H_
20 #define SWGInstanceSummaryResponse_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include "SWGDeviceSetList.h"
26 #include "SWGLoggingInfo.h"
27 #include <QString>
28 
29 #include "SWGObject.h"
30 #include "export.h"
31 
32 namespace SWGSDRangel {
33 
35 public:
37  SWGInstanceSummaryResponse(QString* json);
38  virtual ~SWGInstanceSummaryResponse();
39  void init();
40  void cleanup();
41 
42  virtual QString asJson () override;
43  virtual QJsonObject* asJsonObject() override;
44  virtual void fromJsonObject(QJsonObject &json) override;
45  virtual SWGInstanceSummaryResponse* fromJson(QString &jsonString) override;
46 
47  QString* getVersion();
48  void setVersion(QString* version);
49 
50  QString* getQtVersion();
51  void setQtVersion(QString* qt_version);
52 
53  qint32 getDspRxBits();
54  void setDspRxBits(qint32 dsp_rx_bits);
55 
56  qint32 getDspTxBits();
57  void setDspTxBits(qint32 dsp_tx_bits);
58 
59  qint32 getPid();
60  void setPid(qint32 pid);
61 
62  QString* getAppname();
63  void setAppname(QString* appname);
64 
65  QString* getArchitecture();
66  void setArchitecture(QString* architecture);
67 
68  QString* getOs();
69  void setOs(QString* os);
70 
71  SWGLoggingInfo* getLogging();
72  void setLogging(SWGLoggingInfo* logging);
73 
74  SWGDeviceSetList* getDevicesetlist();
75  void setDevicesetlist(SWGDeviceSetList* devicesetlist);
76 
77 
78  virtual bool isSet() override;
79 
80 private:
81  QString* version;
83 
84  QString* qt_version;
86 
87  qint32 dsp_rx_bits;
89 
90  qint32 dsp_tx_bits;
92 
93  qint32 pid;
95 
96  QString* appname;
98 
99  QString* architecture;
101 
102  QString* os;
104 
107 
110 
111 };
112 
113 }
114 
115 #endif /* SWGInstanceSummaryResponse_H_ */
#define SWG_API
Definition: export.h:124