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.
SWGSSBModReport.h
Go to the documentation of this file.
1 
13 /*
14  * SWGSSBModReport.h
15  *
16  * SSBMod
17  */
18 
19 #ifndef SWGSSBModReport_H_
20 #define SWGSSBModReport_H_
21 
22 #include <QJsonObject>
23 
24 
25 
26 #include "SWGObject.h"
27 #include "export.h"
28 
29 namespace SWGSDRangel {
30 
32 public:
34  SWGSSBModReport(QString* json);
35  virtual ~SWGSSBModReport();
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 SWGSSBModReport* fromJson(QString &jsonString) override;
43 
44  float getChannelPowerDb();
45  void setChannelPowerDb(float channel_power_db);
46 
47  qint32 getAudioSampleRate();
48  void setAudioSampleRate(qint32 audio_sample_rate);
49 
50  qint32 getChannelSampleRate();
51  void setChannelSampleRate(qint32 channel_sample_rate);
52 
53 
54  virtual bool isSet() override;
55 
56 private:
59 
62 
65 
66 };
67 
68 }
69 
70 #endif /* SWGSSBModReport_H_ */
#define SWG_API
Definition: export.h:124