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.
SWGXtrxInputReport.h
Go to the documentation of this file.
1 
13 /*
14  * SWGXtrxInputReport.h
15  *
16  * XTRX
17  */
18 
19 #ifndef SWGXtrxInputReport_H_
20 #define SWGXtrxInputReport_H_
21 
22 #include <QJsonObject>
23 
24 
25 
26 #include "SWGObject.h"
27 #include "export.h"
28 
29 namespace SWGSDRangel {
30 
32 public:
34  SWGXtrxInputReport(QString* json);
35  virtual ~SWGXtrxInputReport();
36  void init();
37  void cleanup();
38 
39  virtual QString asJson () override;
40  virtual QJsonObject* asJsonObject() override;
41  virtual void fromJsonObject(QJsonObject &json) override;
42  virtual SWGXtrxInputReport* fromJson(QString &jsonString) override;
43 
44  qint32 getSuccess();
45  void setSuccess(qint32 success);
46 
47  qint32 getFifoSize();
48  void setFifoSize(qint32 fifo_size);
49 
50  qint32 getFifoFill();
51  void setFifoFill(qint32 fifo_fill);
52 
53  float getTemperature();
54  void setTemperature(float temperature);
55 
56  qint32 getGpsLock();
57  void setGpsLock(qint32 gps_lock);
58 
59 
60  virtual bool isSet() override;
61 
62 private:
63  qint32 success;
65 
66  qint32 fifo_size;
68 
69  qint32 fifo_fill;
71 
72  float temperature;
74 
75  qint32 gps_lock;
77 
78 };
79 
80 }
81 
82 #endif /* SWGXtrxInputReport_H_ */
#define SWG_API
Definition: export.h:124