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.
SWGChannelReport.h
Go to the documentation of this file.
1 
13 /*
14  * SWGChannelReport.h
15  *
16  * Base channel report. Only the channel report corresponding to the channel specified in the channelType field is or should be present.
17  */
18 
19 #ifndef SWGChannelReport_H_
20 #define SWGChannelReport_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include "SWGAMDemodReport.h"
26 #include "SWGAMModReport.h"
27 #include "SWGATVModReport.h"
28 #include "SWGBFMDemodReport.h"
29 #include "SWGDSDDemodReport.h"
30 #include "SWGFileSourceReport.h"
31 #include "SWGFreeDVDemodReport.h"
32 #include "SWGFreeDVModReport.h"
33 #include "SWGFreqTrackerReport.h"
34 #include "SWGNFMDemodReport.h"
35 #include "SWGNFMModReport.h"
36 #include "SWGRemoteSourceReport.h"
37 #include "SWGSSBDemodReport.h"
38 #include "SWGSSBModReport.h"
39 #include "SWGUDPSinkReport.h"
40 #include "SWGUDPSourceReport.h"
41 #include "SWGWFMDemodReport.h"
42 #include "SWGWFMModReport.h"
43 #include <QString>
44 
45 #include "SWGObject.h"
46 #include "export.h"
47 
48 namespace SWGSDRangel {
49 
51 public:
53  SWGChannelReport(QString* json);
54  virtual ~SWGChannelReport();
55  void init();
56  void cleanup();
57 
58  virtual QString asJson () override;
59  virtual QJsonObject* asJsonObject() override;
60  virtual void fromJsonObject(QJsonObject &json) override;
61  virtual SWGChannelReport* fromJson(QString &jsonString) override;
62 
63  QString* getChannelType();
64  void setChannelType(QString* channel_type);
65 
66  qint32 getDirection();
67  void setDirection(qint32 direction);
68 
69  SWGAMDemodReport* getAmDemodReport();
70  void setAmDemodReport(SWGAMDemodReport* am_demod_report);
71 
72  SWGAMModReport* getAmModReport();
73  void setAmModReport(SWGAMModReport* am_mod_report);
74 
75  SWGATVModReport* getAtvModReport();
76  void setAtvModReport(SWGATVModReport* atv_mod_report);
77 
78  SWGBFMDemodReport* getBfmDemodReport();
79  void setBfmDemodReport(SWGBFMDemodReport* bfm_demod_report);
80 
81  SWGDSDDemodReport* getDsdDemodReport();
82  void setDsdDemodReport(SWGDSDDemodReport* dsd_demod_report);
83 
84  SWGFileSourceReport* getFileSourceReport();
85  void setFileSourceReport(SWGFileSourceReport* file_source_report);
86 
87  SWGFreeDVDemodReport* getFreeDvDemodReport();
88  void setFreeDvDemodReport(SWGFreeDVDemodReport* free_dv_demod_report);
89 
90  SWGFreeDVModReport* getFreeDvModReport();
91  void setFreeDvModReport(SWGFreeDVModReport* free_dv_mod_report);
92 
93  SWGFreqTrackerReport* getFreqTrackerReport();
94  void setFreqTrackerReport(SWGFreqTrackerReport* freq_tracker_report);
95 
96  SWGNFMDemodReport* getNfmDemodReport();
97  void setNfmDemodReport(SWGNFMDemodReport* nfm_demod_report);
98 
99  SWGNFMModReport* getNfmModReport();
100  void setNfmModReport(SWGNFMModReport* nfm_mod_report);
101 
102  SWGSSBDemodReport* getSsbDemodReport();
103  void setSsbDemodReport(SWGSSBDemodReport* ssb_demod_report);
104 
105  SWGRemoteSourceReport* getRemoteSourceReport();
106  void setRemoteSourceReport(SWGRemoteSourceReport* remote_source_report);
107 
108  SWGSSBModReport* getSsbModReport();
109  void setSsbModReport(SWGSSBModReport* ssb_mod_report);
110 
111  SWGUDPSourceReport* getUdpSourceReport();
112  void setUdpSourceReport(SWGUDPSourceReport* udp_source_report);
113 
114  SWGUDPSinkReport* getUdpSinkReport();
115  void setUdpSinkReport(SWGUDPSinkReport* udp_sink_report);
116 
117  SWGWFMDemodReport* getWfmDemodReport();
118  void setWfmDemodReport(SWGWFMDemodReport* wfm_demod_report);
119 
120  SWGWFMModReport* getWfmModReport();
121  void setWfmModReport(SWGWFMModReport* wfm_mod_report);
122 
123 
124  virtual bool isSet() override;
125 
126 private:
127  QString* channel_type;
129 
130  qint32 direction;
132 
135 
138 
141 
144 
147 
150 
153 
156 
159 
162 
165 
168 
171 
174 
177 
180 
183 
186 
187 };
188 
189 }
190 
191 #endif /* SWGChannelReport_H_ */
SWGBFMDemodReport * bfm_demod_report
SWGUDPSourceReport * udp_source_report
SWGWFMDemodReport * wfm_demod_report
SWGUDPSinkReport * udp_sink_report
SWGSSBDemodReport * ssb_demod_report
SWGFreqTrackerReport * freq_tracker_report
SWGFileSourceReport * file_source_report
SWGFreeDVModReport * free_dv_mod_report
SWGAMDemodReport * am_demod_report
#define SWG_API
Definition: export.h:124
SWGRemoteSourceReport * remote_source_report
SWGFreeDVDemodReport * free_dv_demod_report
SWGNFMDemodReport * nfm_demod_report
SWGDSDDemodReport * dsd_demod_report