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.
SWGRemoteOutputReport.h
Go to the documentation of this file.
1 
13 /*
14  * SWGRemoteOutputReport.h
15  *
16  * RemoteOutput
17  */
18 
19 #ifndef SWGRemoteOutputReport_H_
20 #define SWGRemoteOutputReport_H_
21 
22 #include <QJsonObject>
23 
24 
25 
26 #include "SWGObject.h"
27 #include "export.h"
28 
29 namespace SWGSDRangel {
30 
32 public:
34  SWGRemoteOutputReport(QString* json);
35  virtual ~SWGRemoteOutputReport();
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 SWGRemoteOutputReport* fromJson(QString &jsonString) override;
43 
44  float getBufferRwBalance();
45  void setBufferRwBalance(float buffer_rw_balance);
46 
47  qint32 getSampleCount();
48  void setSampleCount(qint32 sample_count);
49 
50 
51  virtual bool isSet() override;
52 
53 private:
56 
57  qint32 sample_count;
59 
60 };
61 
62 }
63 
64 #endif /* SWGRemoteOutputReport_H_ */
#define SWG_API
Definition: export.h:124