19 #ifndef SWGLimeSdrInputReport_H_ 20 #define SWGLimeSdrInputReport_H_ 22 #include <QJsonObject> 39 virtual QString asJson ()
override;
40 virtual QJsonObject* asJsonObject()
override;
41 virtual void fromJsonObject(QJsonObject &json)
override;
45 void setSuccess(qint32 success);
47 qint32 getStreamActive();
48 void setStreamActive(qint32 stream_active);
51 void setFifoSize(qint32 fifo_size);
54 void setFifoFill(qint32 fifo_fill);
56 qint32 getUnderrunCount();
57 void setUnderrunCount(qint32 underrun_count);
59 qint32 getOverrunCount();
60 void setOverrunCount(qint32 overrun_count);
62 qint32 getDroppedPacketsCount();
63 void setDroppedPacketsCount(qint32 dropped_packets_count);
66 void setLinkRate(
float link_rate);
68 qint32 getHwTimestamp();
69 void setHwTimestamp(qint32 hw_timestamp);
71 float getTemperature();
72 void setTemperature(
float temperature);
75 void setGpioDir(qint32 gpio_dir);
78 void setGpioPins(qint32 gpio_pins);
81 virtual bool isSet()
override;