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.
Public Member Functions | Private Attributes | List of all members
SWGSDRangel::SWGDeviceReport Class Reference

#include <SWGDeviceReport.h>

+ Inheritance diagram for SWGSDRangel::SWGDeviceReport:
+ Collaboration diagram for SWGSDRangel::SWGDeviceReport:

Public Member Functions

 SWGDeviceReport ()
 
 SWGDeviceReport (QString *json)
 
virtual ~SWGDeviceReport ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGDeviceReportfromJson (QString &jsonString) override
 
QString * getDeviceHwType ()
 
void setDeviceHwType (QString *device_hw_type)
 
qint32 getDirection ()
 
void setDirection (qint32 direction)
 
SWGAirspyReportgetAirspyReport ()
 
void setAirspyReport (SWGAirspyReport *airspy_report)
 
SWGAirspyHFReportgetAirspyHfReport ()
 
void setAirspyHfReport (SWGAirspyHFReport *airspy_hf_report)
 
SWGBladeRF2InputReportgetBladeRf2InputReport ()
 
void setBladeRf2InputReport (SWGBladeRF2InputReport *blade_rf2_input_report)
 
SWGBladeRF2OutputReportgetBladeRf2OutputReport ()
 
void setBladeRf2OutputReport (SWGBladeRF2OutputReport *blade_rf2_output_report)
 
SWGFileInputReportgetFileInputReport ()
 
void setFileInputReport (SWGFileInputReport *file_input_report)
 
SWGLimeSdrInputReportgetLimeSdrInputReport ()
 
void setLimeSdrInputReport (SWGLimeSdrInputReport *lime_sdr_input_report)
 
SWGKiwiSDRReportgetKiwiSdrReport ()
 
void setKiwiSdrReport (SWGKiwiSDRReport *kiwi_sdr_report)
 
SWGLimeSdrOutputReportgetLimeSdrOutputReport ()
 
void setLimeSdrOutputReport (SWGLimeSdrOutputReport *lime_sdr_output_report)
 
SWGLocalInputReportgetLocalInputReport ()
 
void setLocalInputReport (SWGLocalInputReport *local_input_report)
 
SWGLocalOutputReportgetLocalOutputReport ()
 
void setLocalOutputReport (SWGLocalOutputReport *local_output_report)
 
SWGPerseusReportgetPerseusReport ()
 
void setPerseusReport (SWGPerseusReport *perseus_report)
 
SWGPlutoSdrInputReportgetPlutoSdrInputReport ()
 
void setPlutoSdrInputReport (SWGPlutoSdrInputReport *pluto_sdr_input_report)
 
SWGPlutoSdrOutputReportgetPlutoSdrOutputReport ()
 
void setPlutoSdrOutputReport (SWGPlutoSdrOutputReport *pluto_sdr_output_report)
 
SWGRtlSdrReportgetRtlSdrReport ()
 
void setRtlSdrReport (SWGRtlSdrReport *rtl_sdr_report)
 
SWGRemoteOutputReportgetRemoteOutputReport ()
 
void setRemoteOutputReport (SWGRemoteOutputReport *remote_output_report)
 
SWGRemoteInputReportgetRemoteInputReport ()
 
void setRemoteInputReport (SWGRemoteInputReport *remote_input_report)
 
SWGSDRPlayReportgetSdrPlayReport ()
 
void setSdrPlayReport (SWGSDRPlayReport *sdr_play_report)
 
SWGSoapySDRReportgetSoapySdrInputReport ()
 
void setSoapySdrInputReport (SWGSoapySDRReport *soapy_sdr_input_report)
 
SWGSoapySDRReportgetSoapySdrOutputReport ()
 
void setSoapySdrOutputReport (SWGSoapySDRReport *soapy_sdr_output_report)
 
SWGXtrxInputReportgetXtrxInputReport ()
 
void setXtrxInputReport (SWGXtrxInputReport *xtrx_input_report)
 
SWGXtrxOutputReportgetXtrxOutputReport ()
 
void setXtrxOutputReport (SWGXtrxOutputReport *xtrx_output_report)
 
virtual bool isSet () override
 
- Public Member Functions inherited from SWGSDRangel::SWGObject
virtual ~SWGObject ()
 

Private Attributes

QString * device_hw_type
 
bool m_device_hw_type_isSet
 
qint32 direction
 
bool m_direction_isSet
 
SWGAirspyReportairspy_report
 
bool m_airspy_report_isSet
 
SWGAirspyHFReportairspy_hf_report
 
bool m_airspy_hf_report_isSet
 
SWGBladeRF2InputReportblade_rf2_input_report
 
bool m_blade_rf2_input_report_isSet
 
SWGBladeRF2OutputReportblade_rf2_output_report
 
bool m_blade_rf2_output_report_isSet
 
SWGFileInputReportfile_input_report
 
bool m_file_input_report_isSet
 
SWGLimeSdrInputReportlime_sdr_input_report
 
bool m_lime_sdr_input_report_isSet
 
SWGKiwiSDRReportkiwi_sdr_report
 
bool m_kiwi_sdr_report_isSet
 
SWGLimeSdrOutputReportlime_sdr_output_report
 
bool m_lime_sdr_output_report_isSet
 
SWGLocalInputReportlocal_input_report
 
bool m_local_input_report_isSet
 
SWGLocalOutputReportlocal_output_report
 
bool m_local_output_report_isSet
 
SWGPerseusReportperseus_report
 
bool m_perseus_report_isSet
 
SWGPlutoSdrInputReportpluto_sdr_input_report
 
bool m_pluto_sdr_input_report_isSet
 
SWGPlutoSdrOutputReportpluto_sdr_output_report
 
bool m_pluto_sdr_output_report_isSet
 
SWGRtlSdrReportrtl_sdr_report
 
bool m_rtl_sdr_report_isSet
 
SWGRemoteOutputReportremote_output_report
 
bool m_remote_output_report_isSet
 
SWGRemoteInputReportremote_input_report
 
bool m_remote_input_report_isSet
 
SWGSDRPlayReportsdr_play_report
 
bool m_sdr_play_report_isSet
 
SWGSoapySDRReportsoapy_sdr_input_report
 
bool m_soapy_sdr_input_report_isSet
 
SWGSoapySDRReportsoapy_sdr_output_report
 
bool m_soapy_sdr_output_report_isSet
 
SWGXtrxInputReportxtrx_input_report
 
bool m_xtrx_input_report_isSet
 
SWGXtrxOutputReportxtrx_output_report
 
bool m_xtrx_output_report_isSet
 

Detailed Description

Definition at line 52 of file SWGDeviceReport.h.

Constructor & Destructor Documentation

◆ SWGDeviceReport() [1/2]

SWGSDRangel::SWGDeviceReport::SWGDeviceReport ( )

Definition at line 30 of file SWGDeviceReport.cpp.

References airspy_hf_report, airspy_report, blade_rf2_input_report, blade_rf2_output_report, device_hw_type, direction, file_input_report, kiwi_sdr_report, lime_sdr_input_report, lime_sdr_output_report, local_input_report, local_output_report, m_airspy_hf_report_isSet, m_airspy_report_isSet, m_blade_rf2_input_report_isSet, m_blade_rf2_output_report_isSet, m_device_hw_type_isSet, m_direction_isSet, m_file_input_report_isSet, m_kiwi_sdr_report_isSet, m_lime_sdr_input_report_isSet, m_lime_sdr_output_report_isSet, m_local_input_report_isSet, m_local_output_report_isSet, m_perseus_report_isSet, m_pluto_sdr_input_report_isSet, m_pluto_sdr_output_report_isSet, m_remote_input_report_isSet, m_remote_output_report_isSet, m_rtl_sdr_report_isSet, m_sdr_play_report_isSet, m_soapy_sdr_input_report_isSet, m_soapy_sdr_output_report_isSet, m_xtrx_input_report_isSet, m_xtrx_output_report_isSet, perseus_report, pluto_sdr_input_report, pluto_sdr_output_report, remote_input_report, remote_output_report, rtl_sdr_report, sdr_play_report, soapy_sdr_input_report, soapy_sdr_output_report, xtrx_input_report, and xtrx_output_report.

30  {
31  device_hw_type = nullptr;
32  m_device_hw_type_isSet = false;
33  direction = 0;
34  m_direction_isSet = false;
35  airspy_report = nullptr;
36  m_airspy_report_isSet = false;
37  airspy_hf_report = nullptr;
39  blade_rf2_input_report = nullptr;
41  blade_rf2_output_report = nullptr;
43  file_input_report = nullptr;
45  lime_sdr_input_report = nullptr;
47  kiwi_sdr_report = nullptr;
49  lime_sdr_output_report = nullptr;
51  local_input_report = nullptr;
53  local_output_report = nullptr;
55  perseus_report = nullptr;
56  m_perseus_report_isSet = false;
57  pluto_sdr_input_report = nullptr;
59  pluto_sdr_output_report = nullptr;
61  rtl_sdr_report = nullptr;
62  m_rtl_sdr_report_isSet = false;
63  remote_output_report = nullptr;
65  remote_input_report = nullptr;
67  sdr_play_report = nullptr;
69  soapy_sdr_input_report = nullptr;
71  soapy_sdr_output_report = nullptr;
73  xtrx_input_report = nullptr;
75  xtrx_output_report = nullptr;
77 }
SWGAirspyReport * airspy_report
SWGLocalOutputReport * local_output_report
SWGRemoteInputReport * remote_input_report
SWGBladeRF2InputReport * blade_rf2_input_report
SWGXtrxInputReport * xtrx_input_report
SWGPerseusReport * perseus_report
SWGLimeSdrInputReport * lime_sdr_input_report
SWGXtrxOutputReport * xtrx_output_report
SWGLimeSdrOutputReport * lime_sdr_output_report
SWGRemoteOutputReport * remote_output_report
SWGSDRPlayReport * sdr_play_report
SWGBladeRF2OutputReport * blade_rf2_output_report
SWGPlutoSdrOutputReport * pluto_sdr_output_report
SWGLocalInputReport * local_input_report
SWGKiwiSDRReport * kiwi_sdr_report
SWGSoapySDRReport * soapy_sdr_input_report
SWGSoapySDRReport * soapy_sdr_output_report
SWGFileInputReport * file_input_report
SWGPlutoSdrInputReport * pluto_sdr_input_report
SWGRtlSdrReport * rtl_sdr_report
SWGAirspyHFReport * airspy_hf_report

◆ SWGDeviceReport() [2/2]

SWGSDRangel::SWGDeviceReport::SWGDeviceReport ( QString *  json)

Definition at line 25 of file SWGDeviceReport.cpp.

References fromJson(), and init().

25  {
26  init();
27  this->fromJson(*json);
28 }
virtual SWGDeviceReport * fromJson(QString &jsonString) override
+ Here is the call graph for this function:

◆ ~SWGDeviceReport()

SWGSDRangel::SWGDeviceReport::~SWGDeviceReport ( )
virtual

Definition at line 79 of file SWGDeviceReport.cpp.

References cleanup().

79  {
80  this->cleanup();
81 }
+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGDeviceReport::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 264 of file SWGDeviceReport.cpp.

References asJsonObject().

Referenced by WebAPIRequestMapper::devicesetDeviceReportService().

265 {
266  QJsonObject* obj = this->asJsonObject();
267 
268  QJsonDocument doc(*obj);
269  QByteArray bytes = doc.toJson();
270  delete obj;
271  return QString(bytes);
272 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ asJsonObject()

QJsonObject * SWGSDRangel::SWGDeviceReport::asJsonObject ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 275 of file SWGDeviceReport.cpp.

References airspy_hf_report, airspy_report, blade_rf2_input_report, blade_rf2_output_report, device_hw_type, direction, file_input_report, SWGSDRangel::SWGKiwiSDRReport::isSet(), SWGSDRangel::SWGRtlSdrReport::isSet(), SWGSDRangel::SWGAirspyHFReport::isSet(), SWGSDRangel::SWGPerseusReport::isSet(), SWGSDRangel::SWGAirspyReport::isSet(), SWGSDRangel::SWGRemoteOutputReport::isSet(), SWGSDRangel::SWGLocalInputReport::isSet(), SWGSDRangel::SWGLocalOutputReport::isSet(), SWGSDRangel::SWGPlutoSdrOutputReport::isSet(), SWGSDRangel::SWGPlutoSdrInputReport::isSet(), SWGSDRangel::SWGBladeRF2OutputReport::isSet(), SWGSDRangel::SWGXtrxInputReport::isSet(), SWGSDRangel::SWGXtrxOutputReport::isSet(), SWGSDRangel::SWGSDRPlayReport::isSet(), SWGSDRangel::SWGRemoteInputReport::isSet(), SWGSDRangel::SWGBladeRF2InputReport::isSet(), SWGSDRangel::SWGFileInputReport::isSet(), SWGSDRangel::SWGLimeSdrInputReport::isSet(), SWGSDRangel::SWGLimeSdrOutputReport::isSet(), SWGSDRangel::SWGSoapySDRReport::isSet(), kiwi_sdr_report, lime_sdr_input_report, lime_sdr_output_report, local_input_report, local_output_report, m_direction_isSet, perseus_report, pluto_sdr_input_report, pluto_sdr_output_report, remote_input_report, remote_output_report, rtl_sdr_report, sdr_play_report, soapy_sdr_input_report, soapy_sdr_output_report, SWGSDRangel::toJsonValue(), xtrx_input_report, and xtrx_output_report.

Referenced by asJson().

275  {
276  QJsonObject* obj = new QJsonObject();
277  if(device_hw_type != nullptr && *device_hw_type != QString("")){
278  toJsonValue(QString("deviceHwType"), device_hw_type, obj, QString("QString"));
279  }
280  if(m_direction_isSet){
281  obj->insert("direction", QJsonValue(direction));
282  }
283  if((airspy_report != nullptr) && (airspy_report->isSet())){
284  toJsonValue(QString("airspyReport"), airspy_report, obj, QString("SWGAirspyReport"));
285  }
286  if((airspy_hf_report != nullptr) && (airspy_hf_report->isSet())){
287  toJsonValue(QString("airspyHFReport"), airspy_hf_report, obj, QString("SWGAirspyHFReport"));
288  }
289  if((blade_rf2_input_report != nullptr) && (blade_rf2_input_report->isSet())){
290  toJsonValue(QString("bladeRF2InputReport"), blade_rf2_input_report, obj, QString("SWGBladeRF2InputReport"));
291  }
292  if((blade_rf2_output_report != nullptr) && (blade_rf2_output_report->isSet())){
293  toJsonValue(QString("bladeRF2OutputReport"), blade_rf2_output_report, obj, QString("SWGBladeRF2OutputReport"));
294  }
295  if((file_input_report != nullptr) && (file_input_report->isSet())){
296  toJsonValue(QString("fileInputReport"), file_input_report, obj, QString("SWGFileInputReport"));
297  }
298  if((lime_sdr_input_report != nullptr) && (lime_sdr_input_report->isSet())){
299  toJsonValue(QString("limeSdrInputReport"), lime_sdr_input_report, obj, QString("SWGLimeSdrInputReport"));
300  }
301  if((kiwi_sdr_report != nullptr) && (kiwi_sdr_report->isSet())){
302  toJsonValue(QString("kiwiSDRReport"), kiwi_sdr_report, obj, QString("SWGKiwiSDRReport"));
303  }
304  if((lime_sdr_output_report != nullptr) && (lime_sdr_output_report->isSet())){
305  toJsonValue(QString("limeSdrOutputReport"), lime_sdr_output_report, obj, QString("SWGLimeSdrOutputReport"));
306  }
307  if((local_input_report != nullptr) && (local_input_report->isSet())){
308  toJsonValue(QString("localInputReport"), local_input_report, obj, QString("SWGLocalInputReport"));
309  }
310  if((local_output_report != nullptr) && (local_output_report->isSet())){
311  toJsonValue(QString("localOutputReport"), local_output_report, obj, QString("SWGLocalOutputReport"));
312  }
313  if((perseus_report != nullptr) && (perseus_report->isSet())){
314  toJsonValue(QString("perseusReport"), perseus_report, obj, QString("SWGPerseusReport"));
315  }
316  if((pluto_sdr_input_report != nullptr) && (pluto_sdr_input_report->isSet())){
317  toJsonValue(QString("plutoSdrInputReport"), pluto_sdr_input_report, obj, QString("SWGPlutoSdrInputReport"));
318  }
319  if((pluto_sdr_output_report != nullptr) && (pluto_sdr_output_report->isSet())){
320  toJsonValue(QString("plutoSdrOutputReport"), pluto_sdr_output_report, obj, QString("SWGPlutoSdrOutputReport"));
321  }
322  if((rtl_sdr_report != nullptr) && (rtl_sdr_report->isSet())){
323  toJsonValue(QString("rtlSdrReport"), rtl_sdr_report, obj, QString("SWGRtlSdrReport"));
324  }
325  if((remote_output_report != nullptr) && (remote_output_report->isSet())){
326  toJsonValue(QString("remoteOutputReport"), remote_output_report, obj, QString("SWGRemoteOutputReport"));
327  }
328  if((remote_input_report != nullptr) && (remote_input_report->isSet())){
329  toJsonValue(QString("remoteInputReport"), remote_input_report, obj, QString("SWGRemoteInputReport"));
330  }
331  if((sdr_play_report != nullptr) && (sdr_play_report->isSet())){
332  toJsonValue(QString("sdrPlayReport"), sdr_play_report, obj, QString("SWGSDRPlayReport"));
333  }
334  if((soapy_sdr_input_report != nullptr) && (soapy_sdr_input_report->isSet())){
335  toJsonValue(QString("soapySDRInputReport"), soapy_sdr_input_report, obj, QString("SWGSoapySDRReport"));
336  }
337  if((soapy_sdr_output_report != nullptr) && (soapy_sdr_output_report->isSet())){
338  toJsonValue(QString("soapySDROutputReport"), soapy_sdr_output_report, obj, QString("SWGSoapySDRReport"));
339  }
340  if((xtrx_input_report != nullptr) && (xtrx_input_report->isSet())){
341  toJsonValue(QString("xtrxInputReport"), xtrx_input_report, obj, QString("SWGXtrxInputReport"));
342  }
343  if((xtrx_output_report != nullptr) && (xtrx_output_report->isSet())){
344  toJsonValue(QString("xtrxOutputReport"), xtrx_output_report, obj, QString("SWGXtrxOutputReport"));
345  }
346 
347  return obj;
348 }
SWGAirspyReport * airspy_report
void toJsonValue(QString name, void *value, QJsonObject *output, QString type)
Definition: SWGHelpers.cpp:383
SWGLocalOutputReport * local_output_report
SWGRemoteInputReport * remote_input_report
SWGBladeRF2InputReport * blade_rf2_input_report
SWGXtrxInputReport * xtrx_input_report
virtual bool isSet() override
virtual bool isSet() override
SWGPerseusReport * perseus_report
SWGLimeSdrInputReport * lime_sdr_input_report
SWGXtrxOutputReport * xtrx_output_report
virtual bool isSet() override
virtual bool isSet() override
SWGLimeSdrOutputReport * lime_sdr_output_report
SWGRemoteOutputReport * remote_output_report
SWGSDRPlayReport * sdr_play_report
SWGBladeRF2OutputReport * blade_rf2_output_report
SWGPlutoSdrOutputReport * pluto_sdr_output_report
virtual bool isSet() override
SWGLocalInputReport * local_input_report
SWGKiwiSDRReport * kiwi_sdr_report
SWGSoapySDRReport * soapy_sdr_input_report
SWGSoapySDRReport * soapy_sdr_output_report
SWGFileInputReport * file_input_report
SWGPlutoSdrInputReport * pluto_sdr_input_report
SWGRtlSdrReport * rtl_sdr_report
SWGAirspyHFReport * airspy_hf_report
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cleanup()

void SWGSDRangel::SWGDeviceReport::cleanup ( )

Definition at line 134 of file SWGDeviceReport.cpp.

References airspy_hf_report, airspy_report, blade_rf2_input_report, blade_rf2_output_report, device_hw_type, file_input_report, kiwi_sdr_report, lime_sdr_input_report, lime_sdr_output_report, local_input_report, local_output_report, perseus_report, pluto_sdr_input_report, pluto_sdr_output_report, remote_input_report, remote_output_report, rtl_sdr_report, sdr_play_report, soapy_sdr_input_report, soapy_sdr_output_report, xtrx_input_report, and xtrx_output_report.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and ~SWGDeviceReport().

134  {
135  if(device_hw_type != nullptr) {
136  delete device_hw_type;
137  }
138 
139  if(airspy_report != nullptr) {
140  delete airspy_report;
141  }
142  if(airspy_hf_report != nullptr) {
143  delete airspy_hf_report;
144  }
145  if(blade_rf2_input_report != nullptr) {
146  delete blade_rf2_input_report;
147  }
148  if(blade_rf2_output_report != nullptr) {
150  }
151  if(file_input_report != nullptr) {
152  delete file_input_report;
153  }
154  if(lime_sdr_input_report != nullptr) {
155  delete lime_sdr_input_report;
156  }
157  if(kiwi_sdr_report != nullptr) {
158  delete kiwi_sdr_report;
159  }
160  if(lime_sdr_output_report != nullptr) {
161  delete lime_sdr_output_report;
162  }
163  if(local_input_report != nullptr) {
164  delete local_input_report;
165  }
166  if(local_output_report != nullptr) {
167  delete local_output_report;
168  }
169  if(perseus_report != nullptr) {
170  delete perseus_report;
171  }
172  if(pluto_sdr_input_report != nullptr) {
173  delete pluto_sdr_input_report;
174  }
175  if(pluto_sdr_output_report != nullptr) {
177  }
178  if(rtl_sdr_report != nullptr) {
179  delete rtl_sdr_report;
180  }
181  if(remote_output_report != nullptr) {
182  delete remote_output_report;
183  }
184  if(remote_input_report != nullptr) {
185  delete remote_input_report;
186  }
187  if(sdr_play_report != nullptr) {
188  delete sdr_play_report;
189  }
190  if(soapy_sdr_input_report != nullptr) {
191  delete soapy_sdr_input_report;
192  }
193  if(soapy_sdr_output_report != nullptr) {
195  }
196  if(xtrx_input_report != nullptr) {
197  delete xtrx_input_report;
198  }
199  if(xtrx_output_report != nullptr) {
200  delete xtrx_output_report;
201  }
202 }
SWGAirspyReport * airspy_report
SWGLocalOutputReport * local_output_report
SWGRemoteInputReport * remote_input_report
SWGBladeRF2InputReport * blade_rf2_input_report
SWGXtrxInputReport * xtrx_input_report
SWGPerseusReport * perseus_report
SWGLimeSdrInputReport * lime_sdr_input_report
SWGXtrxOutputReport * xtrx_output_report
SWGLimeSdrOutputReport * lime_sdr_output_report
SWGRemoteOutputReport * remote_output_report
SWGSDRPlayReport * sdr_play_report
SWGBladeRF2OutputReport * blade_rf2_output_report
SWGPlutoSdrOutputReport * pluto_sdr_output_report
SWGLocalInputReport * local_input_report
SWGKiwiSDRReport * kiwi_sdr_report
SWGSoapySDRReport * soapy_sdr_input_report
SWGSoapySDRReport * soapy_sdr_output_report
SWGFileInputReport * file_input_report
SWGPlutoSdrInputReport * pluto_sdr_input_report
SWGRtlSdrReport * rtl_sdr_report
SWGAirspyHFReport * airspy_hf_report
+ Here is the caller graph for this function:

◆ fromJson()

SWGDeviceReport * SWGSDRangel::SWGDeviceReport::fromJson ( QString &  jsonString)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 205 of file SWGDeviceReport.cpp.

References fromJsonObject().

Referenced by SWGDeviceReport().

205  {
206  QByteArray array (json.toStdString().c_str());
207  QJsonDocument doc = QJsonDocument::fromJson(array);
208  QJsonObject jsonObject = doc.object();
209  this->fromJsonObject(jsonObject);
210  return this;
211 }
virtual void fromJsonObject(QJsonObject &json) override
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fromJsonObject()

void SWGSDRangel::SWGDeviceReport::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 214 of file SWGDeviceReport.cpp.

References airspy_hf_report, airspy_report, blade_rf2_input_report, blade_rf2_output_report, device_hw_type, direction, file_input_report, kiwi_sdr_report, lime_sdr_input_report, lime_sdr_output_report, local_input_report, local_output_report, perseus_report, pluto_sdr_input_report, pluto_sdr_output_report, remote_input_report, remote_output_report, rtl_sdr_report, sdr_play_report, SWGSDRangel::setValue(), soapy_sdr_input_report, soapy_sdr_output_report, xtrx_input_report, and xtrx_output_report.

Referenced by fromJson().

214  {
215  ::SWGSDRangel::setValue(&device_hw_type, pJson["deviceHwType"], "QString", "QString");
216 
217  ::SWGSDRangel::setValue(&direction, pJson["direction"], "qint32", "");
218 
219  ::SWGSDRangel::setValue(&airspy_report, pJson["airspyReport"], "SWGAirspyReport", "SWGAirspyReport");
220 
221  ::SWGSDRangel::setValue(&airspy_hf_report, pJson["airspyHFReport"], "SWGAirspyHFReport", "SWGAirspyHFReport");
222 
223  ::SWGSDRangel::setValue(&blade_rf2_input_report, pJson["bladeRF2InputReport"], "SWGBladeRF2InputReport", "SWGBladeRF2InputReport");
224 
225  ::SWGSDRangel::setValue(&blade_rf2_output_report, pJson["bladeRF2OutputReport"], "SWGBladeRF2OutputReport", "SWGBladeRF2OutputReport");
226 
227  ::SWGSDRangel::setValue(&file_input_report, pJson["fileInputReport"], "SWGFileInputReport", "SWGFileInputReport");
228 
229  ::SWGSDRangel::setValue(&lime_sdr_input_report, pJson["limeSdrInputReport"], "SWGLimeSdrInputReport", "SWGLimeSdrInputReport");
230 
231  ::SWGSDRangel::setValue(&kiwi_sdr_report, pJson["kiwiSDRReport"], "SWGKiwiSDRReport", "SWGKiwiSDRReport");
232 
233  ::SWGSDRangel::setValue(&lime_sdr_output_report, pJson["limeSdrOutputReport"], "SWGLimeSdrOutputReport", "SWGLimeSdrOutputReport");
234 
235  ::SWGSDRangel::setValue(&local_input_report, pJson["localInputReport"], "SWGLocalInputReport", "SWGLocalInputReport");
236 
237  ::SWGSDRangel::setValue(&local_output_report, pJson["localOutputReport"], "SWGLocalOutputReport", "SWGLocalOutputReport");
238 
239  ::SWGSDRangel::setValue(&perseus_report, pJson["perseusReport"], "SWGPerseusReport", "SWGPerseusReport");
240 
241  ::SWGSDRangel::setValue(&pluto_sdr_input_report, pJson["plutoSdrInputReport"], "SWGPlutoSdrInputReport", "SWGPlutoSdrInputReport");
242 
243  ::SWGSDRangel::setValue(&pluto_sdr_output_report, pJson["plutoSdrOutputReport"], "SWGPlutoSdrOutputReport", "SWGPlutoSdrOutputReport");
244 
245  ::SWGSDRangel::setValue(&rtl_sdr_report, pJson["rtlSdrReport"], "SWGRtlSdrReport", "SWGRtlSdrReport");
246 
247  ::SWGSDRangel::setValue(&remote_output_report, pJson["remoteOutputReport"], "SWGRemoteOutputReport", "SWGRemoteOutputReport");
248 
249  ::SWGSDRangel::setValue(&remote_input_report, pJson["remoteInputReport"], "SWGRemoteInputReport", "SWGRemoteInputReport");
250 
251  ::SWGSDRangel::setValue(&sdr_play_report, pJson["sdrPlayReport"], "SWGSDRPlayReport", "SWGSDRPlayReport");
252 
253  ::SWGSDRangel::setValue(&soapy_sdr_input_report, pJson["soapySDRInputReport"], "SWGSoapySDRReport", "SWGSoapySDRReport");
254 
255  ::SWGSDRangel::setValue(&soapy_sdr_output_report, pJson["soapySDROutputReport"], "SWGSoapySDRReport", "SWGSoapySDRReport");
256 
257  ::SWGSDRangel::setValue(&xtrx_input_report, pJson["xtrxInputReport"], "SWGXtrxInputReport", "SWGXtrxInputReport");
258 
259  ::SWGSDRangel::setValue(&xtrx_output_report, pJson["xtrxOutputReport"], "SWGXtrxOutputReport", "SWGXtrxOutputReport");
260 
261 }
SWGAirspyReport * airspy_report
SWGLocalOutputReport * local_output_report
SWGRemoteInputReport * remote_input_report
SWGBladeRF2InputReport * blade_rf2_input_report
SWGXtrxInputReport * xtrx_input_report
SWGPerseusReport * perseus_report
SWGLimeSdrInputReport * lime_sdr_input_report
SWGXtrxOutputReport * xtrx_output_report
SWGLimeSdrOutputReport * lime_sdr_output_report
SWGRemoteOutputReport * remote_output_report
SWGSDRPlayReport * sdr_play_report
SWGBladeRF2OutputReport * blade_rf2_output_report
SWGPlutoSdrOutputReport * pluto_sdr_output_report
SWGLocalInputReport * local_input_report
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
Definition: SWGHelpers.cpp:25
SWGKiwiSDRReport * kiwi_sdr_report
SWGSoapySDRReport * soapy_sdr_input_report
SWGSoapySDRReport * soapy_sdr_output_report
SWGFileInputReport * file_input_report
SWGPlutoSdrInputReport * pluto_sdr_input_report
SWGRtlSdrReport * rtl_sdr_report
SWGAirspyHFReport * airspy_hf_report
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAirspyHfReport()

SWGAirspyHFReport * SWGSDRangel::SWGDeviceReport::getAirspyHfReport ( )

Definition at line 381 of file SWGDeviceReport.cpp.

References airspy_hf_report.

Referenced by AirspyHFInput::webapiFormatDeviceReport(), and AirspyHFInput::webapiReportGet().

381  {
382  return airspy_hf_report;
383 }
SWGAirspyHFReport * airspy_hf_report
+ Here is the caller graph for this function:

◆ getAirspyReport()

SWGAirspyReport * SWGSDRangel::SWGDeviceReport::getAirspyReport ( )

Definition at line 371 of file SWGDeviceReport.cpp.

References airspy_report.

Referenced by AirspyInput::webapiFormatDeviceReport(), and AirspyInput::webapiReportGet().

371  {
372  return airspy_report;
373 }
SWGAirspyReport * airspy_report
+ Here is the caller graph for this function:

◆ getBladeRf2InputReport()

SWGBladeRF2InputReport * SWGSDRangel::SWGDeviceReport::getBladeRf2InputReport ( )

Definition at line 391 of file SWGDeviceReport.cpp.

References blade_rf2_input_report.

Referenced by BladeRF2Input::webapiFormatDeviceReport(), and BladeRF2Input::webapiReportGet().

391  {
392  return blade_rf2_input_report;
393 }
SWGBladeRF2InputReport * blade_rf2_input_report
+ Here is the caller graph for this function:

◆ getBladeRf2OutputReport()

SWGBladeRF2OutputReport * SWGSDRangel::SWGDeviceReport::getBladeRf2OutputReport ( )

Definition at line 401 of file SWGDeviceReport.cpp.

References blade_rf2_output_report.

Referenced by BladeRF2Output::webapiFormatDeviceReport(), and BladeRF2Output::webapiReportGet().

401  {
403 }
SWGBladeRF2OutputReport * blade_rf2_output_report
+ Here is the caller graph for this function:

◆ getDeviceHwType()

QString * SWGSDRangel::SWGDeviceReport::getDeviceHwType ( )

Definition at line 351 of file SWGDeviceReport.cpp.

References device_hw_type.

351  {
352  return device_hw_type;
353 }

◆ getDirection()

qint32 SWGSDRangel::SWGDeviceReport::getDirection ( )

Definition at line 361 of file SWGDeviceReport.cpp.

References direction.

361  {
362  return direction;
363 }

◆ getFileInputReport()

SWGFileInputReport * SWGSDRangel::SWGDeviceReport::getFileInputReport ( )

Definition at line 411 of file SWGDeviceReport.cpp.

References file_input_report.

Referenced by FileInput::webapiFormatDeviceReport(), and FileInput::webapiReportGet().

411  {
412  return file_input_report;
413 }
SWGFileInputReport * file_input_report
+ Here is the caller graph for this function:

◆ getKiwiSdrReport()

SWGKiwiSDRReport * SWGSDRangel::SWGDeviceReport::getKiwiSdrReport ( )

Definition at line 431 of file SWGDeviceReport.cpp.

References kiwi_sdr_report.

Referenced by KiwiSDRInput::webapiFormatDeviceReport(), and KiwiSDRInput::webapiReportGet().

431  {
432  return kiwi_sdr_report;
433 }
SWGKiwiSDRReport * kiwi_sdr_report
+ Here is the caller graph for this function:

◆ getLimeSdrInputReport()

SWGLimeSdrInputReport * SWGSDRangel::SWGDeviceReport::getLimeSdrInputReport ( )

Definition at line 421 of file SWGDeviceReport.cpp.

References lime_sdr_input_report.

Referenced by LimeSDRInput::webapiFormatDeviceReport(), and LimeSDRInput::webapiReportGet().

421  {
422  return lime_sdr_input_report;
423 }
SWGLimeSdrInputReport * lime_sdr_input_report
+ Here is the caller graph for this function:

◆ getLimeSdrOutputReport()

SWGLimeSdrOutputReport * SWGSDRangel::SWGDeviceReport::getLimeSdrOutputReport ( )

Definition at line 441 of file SWGDeviceReport.cpp.

References lime_sdr_output_report.

Referenced by LimeSDROutput::webapiFormatDeviceReport(), and LimeSDROutput::webapiReportGet().

441  {
442  return lime_sdr_output_report;
443 }
SWGLimeSdrOutputReport * lime_sdr_output_report
+ Here is the caller graph for this function:

◆ getLocalInputReport()

SWGLocalInputReport * SWGSDRangel::SWGDeviceReport::getLocalInputReport ( )

Definition at line 451 of file SWGDeviceReport.cpp.

References local_input_report.

Referenced by LocalInput::webapiFormatDeviceReport(), and LocalInput::webapiReportGet().

451  {
452  return local_input_report;
453 }
SWGLocalInputReport * local_input_report
+ Here is the caller graph for this function:

◆ getLocalOutputReport()

SWGLocalOutputReport * SWGSDRangel::SWGDeviceReport::getLocalOutputReport ( )

Definition at line 461 of file SWGDeviceReport.cpp.

References local_output_report.

Referenced by LocalOutput::webapiFormatDeviceReport(), and LocalOutput::webapiReportGet().

461  {
462  return local_output_report;
463 }
SWGLocalOutputReport * local_output_report
+ Here is the caller graph for this function:

◆ getPerseusReport()

SWGPerseusReport * SWGSDRangel::SWGDeviceReport::getPerseusReport ( )

Definition at line 471 of file SWGDeviceReport.cpp.

References perseus_report.

Referenced by PerseusInput::webapiFormatDeviceReport(), and PerseusInput::webapiReportGet().

471  {
472  return perseus_report;
473 }
SWGPerseusReport * perseus_report
+ Here is the caller graph for this function:

◆ getPlutoSdrInputReport()

SWGPlutoSdrInputReport * SWGSDRangel::SWGDeviceReport::getPlutoSdrInputReport ( )

Definition at line 481 of file SWGDeviceReport.cpp.

References pluto_sdr_input_report.

Referenced by PlutoSDRInput::webapiFormatDeviceReport(), and PlutoSDRInput::webapiReportGet().

481  {
482  return pluto_sdr_input_report;
483 }
SWGPlutoSdrInputReport * pluto_sdr_input_report
+ Here is the caller graph for this function:

◆ getPlutoSdrOutputReport()

SWGPlutoSdrOutputReport * SWGSDRangel::SWGDeviceReport::getPlutoSdrOutputReport ( )

Definition at line 491 of file SWGDeviceReport.cpp.

References pluto_sdr_output_report.

Referenced by PlutoSDROutput::webapiFormatDeviceReport(), and PlutoSDROutput::webapiReportGet().

491  {
493 }
SWGPlutoSdrOutputReport * pluto_sdr_output_report
+ Here is the caller graph for this function:

◆ getRemoteInputReport()

SWGRemoteInputReport * SWGSDRangel::SWGDeviceReport::getRemoteInputReport ( )

Definition at line 521 of file SWGDeviceReport.cpp.

References remote_input_report.

Referenced by RemoteInput::webapiFormatDeviceReport(), and RemoteInput::webapiReportGet().

521  {
522  return remote_input_report;
523 }
SWGRemoteInputReport * remote_input_report
+ Here is the caller graph for this function:

◆ getRemoteOutputReport()

SWGRemoteOutputReport * SWGSDRangel::SWGDeviceReport::getRemoteOutputReport ( )

Definition at line 511 of file SWGDeviceReport.cpp.

References remote_output_report.

Referenced by RemoteOutput::webapiFormatDeviceReport(), and RemoteOutput::webapiReportGet().

511  {
512  return remote_output_report;
513 }
SWGRemoteOutputReport * remote_output_report
+ Here is the caller graph for this function:

◆ getRtlSdrReport()

SWGRtlSdrReport * SWGSDRangel::SWGDeviceReport::getRtlSdrReport ( )

Definition at line 501 of file SWGDeviceReport.cpp.

References rtl_sdr_report.

Referenced by RTLSDRInput::webapiFormatDeviceReport(), and RTLSDRInput::webapiReportGet().

501  {
502  return rtl_sdr_report;
503 }
SWGRtlSdrReport * rtl_sdr_report
+ Here is the caller graph for this function:

◆ getSdrPlayReport()

SWGSDRPlayReport * SWGSDRangel::SWGDeviceReport::getSdrPlayReport ( )

Definition at line 531 of file SWGDeviceReport.cpp.

References sdr_play_report.

Referenced by SDRPlayInput::webapiFormatDeviceReport(), and SDRPlayInput::webapiReportGet().

531  {
532  return sdr_play_report;
533 }
SWGSDRPlayReport * sdr_play_report
+ Here is the caller graph for this function:

◆ getSoapySdrInputReport()

SWGSoapySDRReport * SWGSDRangel::SWGDeviceReport::getSoapySdrInputReport ( )

Definition at line 541 of file SWGDeviceReport.cpp.

References soapy_sdr_input_report.

Referenced by SoapySDRInput::webapiFormatDeviceReport(), and SoapySDRInput::webapiReportGet().

541  {
542  return soapy_sdr_input_report;
543 }
SWGSoapySDRReport * soapy_sdr_input_report
+ Here is the caller graph for this function:

◆ getSoapySdrOutputReport()

SWGSoapySDRReport * SWGSDRangel::SWGDeviceReport::getSoapySdrOutputReport ( )

Definition at line 551 of file SWGDeviceReport.cpp.

References soapy_sdr_output_report.

Referenced by SoapySDROutput::webapiFormatDeviceReport(), and SoapySDROutput::webapiReportGet().

551  {
553 }
SWGSoapySDRReport * soapy_sdr_output_report
+ Here is the caller graph for this function:

◆ getXtrxInputReport()

SWGXtrxInputReport * SWGSDRangel::SWGDeviceReport::getXtrxInputReport ( )

Definition at line 561 of file SWGDeviceReport.cpp.

References xtrx_input_report.

Referenced by XTRXInput::webapiFormatDeviceReport(), and XTRXInput::webapiReportGet().

561  {
562  return xtrx_input_report;
563 }
SWGXtrxInputReport * xtrx_input_report
+ Here is the caller graph for this function:

◆ getXtrxOutputReport()

SWGXtrxOutputReport * SWGSDRangel::SWGDeviceReport::getXtrxOutputReport ( )

Definition at line 571 of file SWGDeviceReport.cpp.

References xtrx_output_report.

Referenced by XTRXOutput::webapiFormatDeviceReport(), and XTRXOutput::webapiReportGet().

571  {
572  return xtrx_output_report;
573 }
SWGXtrxOutputReport * xtrx_output_report
+ Here is the caller graph for this function:

◆ init()

void SWGSDRangel::SWGDeviceReport::init ( )

Definition at line 84 of file SWGDeviceReport.cpp.

References airspy_hf_report, airspy_report, blade_rf2_input_report, blade_rf2_output_report, device_hw_type, direction, file_input_report, kiwi_sdr_report, lime_sdr_input_report, lime_sdr_output_report, local_input_report, local_output_report, m_airspy_hf_report_isSet, m_airspy_report_isSet, m_blade_rf2_input_report_isSet, m_blade_rf2_output_report_isSet, m_device_hw_type_isSet, m_direction_isSet, m_file_input_report_isSet, m_kiwi_sdr_report_isSet, m_lime_sdr_input_report_isSet, m_lime_sdr_output_report_isSet, m_local_input_report_isSet, m_local_output_report_isSet, m_perseus_report_isSet, m_pluto_sdr_input_report_isSet, m_pluto_sdr_output_report_isSet, m_remote_input_report_isSet, m_remote_output_report_isSet, m_rtl_sdr_report_isSet, m_sdr_play_report_isSet, m_soapy_sdr_input_report_isSet, m_soapy_sdr_output_report_isSet, m_xtrx_input_report_isSet, m_xtrx_output_report_isSet, perseus_report, pluto_sdr_input_report, pluto_sdr_output_report, remote_input_report, remote_output_report, rtl_sdr_report, sdr_play_report, soapy_sdr_input_report, soapy_sdr_output_report, xtrx_input_report, and xtrx_output_report.

Referenced by SWGDeviceReport().

84  {
85  device_hw_type = new QString("");
86  m_device_hw_type_isSet = false;
87  direction = 0;
88  m_direction_isSet = false;
89  airspy_report = new SWGAirspyReport();
90  m_airspy_report_isSet = false;
91  airspy_hf_report = new SWGAirspyHFReport();
93  blade_rf2_input_report = new SWGBladeRF2InputReport();
95  blade_rf2_output_report = new SWGBladeRF2OutputReport();
97  file_input_report = new SWGFileInputReport();
99  lime_sdr_input_report = new SWGLimeSdrInputReport();
101  kiwi_sdr_report = new SWGKiwiSDRReport();
102  m_kiwi_sdr_report_isSet = false;
103  lime_sdr_output_report = new SWGLimeSdrOutputReport();
105  local_input_report = new SWGLocalInputReport();
107  local_output_report = new SWGLocalOutputReport();
109  perseus_report = new SWGPerseusReport();
110  m_perseus_report_isSet = false;
111  pluto_sdr_input_report = new SWGPlutoSdrInputReport();
113  pluto_sdr_output_report = new SWGPlutoSdrOutputReport();
115  rtl_sdr_report = new SWGRtlSdrReport();
116  m_rtl_sdr_report_isSet = false;
117  remote_output_report = new SWGRemoteOutputReport();
119  remote_input_report = new SWGRemoteInputReport();
121  sdr_play_report = new SWGSDRPlayReport();
122  m_sdr_play_report_isSet = false;
123  soapy_sdr_input_report = new SWGSoapySDRReport();
125  soapy_sdr_output_report = new SWGSoapySDRReport();
127  xtrx_input_report = new SWGXtrxInputReport();
129  xtrx_output_report = new SWGXtrxOutputReport();
131 }
SWGAirspyReport * airspy_report
SWGLocalOutputReport * local_output_report
SWGRemoteInputReport * remote_input_report
SWGBladeRF2InputReport * blade_rf2_input_report
SWGXtrxInputReport * xtrx_input_report
SWGPerseusReport * perseus_report
SWGLimeSdrInputReport * lime_sdr_input_report
SWGXtrxOutputReport * xtrx_output_report
SWGLimeSdrOutputReport * lime_sdr_output_report
SWGRemoteOutputReport * remote_output_report
SWGSDRPlayReport * sdr_play_report
SWGBladeRF2OutputReport * blade_rf2_output_report
SWGPlutoSdrOutputReport * pluto_sdr_output_report
SWGLocalInputReport * local_input_report
SWGKiwiSDRReport * kiwi_sdr_report
SWGSoapySDRReport * soapy_sdr_input_report
SWGSoapySDRReport * soapy_sdr_output_report
SWGFileInputReport * file_input_report
SWGPlutoSdrInputReport * pluto_sdr_input_report
SWGRtlSdrReport * rtl_sdr_report
SWGAirspyHFReport * airspy_hf_report
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGDeviceReport::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 582 of file SWGDeviceReport.cpp.

References airspy_hf_report, airspy_report, blade_rf2_input_report, blade_rf2_output_report, device_hw_type, file_input_report, SWGSDRangel::SWGKiwiSDRReport::isSet(), SWGSDRangel::SWGAirspyReport::isSet(), SWGSDRangel::SWGAirspyHFReport::isSet(), SWGSDRangel::SWGPerseusReport::isSet(), SWGSDRangel::SWGRtlSdrReport::isSet(), SWGSDRangel::SWGRemoteOutputReport::isSet(), SWGSDRangel::SWGLocalInputReport::isSet(), SWGSDRangel::SWGLocalOutputReport::isSet(), SWGSDRangel::SWGPlutoSdrOutputReport::isSet(), SWGSDRangel::SWGPlutoSdrInputReport::isSet(), SWGSDRangel::SWGBladeRF2OutputReport::isSet(), SWGSDRangel::SWGXtrxOutputReport::isSet(), SWGSDRangel::SWGXtrxInputReport::isSet(), SWGSDRangel::SWGSDRPlayReport::isSet(), SWGSDRangel::SWGRemoteInputReport::isSet(), SWGSDRangel::SWGBladeRF2InputReport::isSet(), SWGSDRangel::SWGFileInputReport::isSet(), SWGSDRangel::SWGLimeSdrOutputReport::isSet(), SWGSDRangel::SWGLimeSdrInputReport::isSet(), SWGSDRangel::SWGSoapySDRReport::isSet(), kiwi_sdr_report, lime_sdr_input_report, lime_sdr_output_report, local_input_report, local_output_report, m_direction_isSet, perseus_report, pluto_sdr_input_report, pluto_sdr_output_report, remote_input_report, remote_output_report, rtl_sdr_report, sdr_play_report, soapy_sdr_input_report, soapy_sdr_output_report, xtrx_input_report, and xtrx_output_report.

582  {
583  bool isObjectUpdated = false;
584  do{
585  if(device_hw_type != nullptr && *device_hw_type != QString("")){ isObjectUpdated = true; break;}
586  if(m_direction_isSet){ isObjectUpdated = true; break;}
587  if(airspy_report != nullptr && airspy_report->isSet()){ isObjectUpdated = true; break;}
588  if(airspy_hf_report != nullptr && airspy_hf_report->isSet()){ isObjectUpdated = true; break;}
589  if(blade_rf2_input_report != nullptr && blade_rf2_input_report->isSet()){ isObjectUpdated = true; break;}
590  if(blade_rf2_output_report != nullptr && blade_rf2_output_report->isSet()){ isObjectUpdated = true; break;}
591  if(file_input_report != nullptr && file_input_report->isSet()){ isObjectUpdated = true; break;}
592  if(lime_sdr_input_report != nullptr && lime_sdr_input_report->isSet()){ isObjectUpdated = true; break;}
593  if(kiwi_sdr_report != nullptr && kiwi_sdr_report->isSet()){ isObjectUpdated = true; break;}
594  if(lime_sdr_output_report != nullptr && lime_sdr_output_report->isSet()){ isObjectUpdated = true; break;}
595  if(local_input_report != nullptr && local_input_report->isSet()){ isObjectUpdated = true; break;}
596  if(local_output_report != nullptr && local_output_report->isSet()){ isObjectUpdated = true; break;}
597  if(perseus_report != nullptr && perseus_report->isSet()){ isObjectUpdated = true; break;}
598  if(pluto_sdr_input_report != nullptr && pluto_sdr_input_report->isSet()){ isObjectUpdated = true; break;}
599  if(pluto_sdr_output_report != nullptr && pluto_sdr_output_report->isSet()){ isObjectUpdated = true; break;}
600  if(rtl_sdr_report != nullptr && rtl_sdr_report->isSet()){ isObjectUpdated = true; break;}
601  if(remote_output_report != nullptr && remote_output_report->isSet()){ isObjectUpdated = true; break;}
602  if(remote_input_report != nullptr && remote_input_report->isSet()){ isObjectUpdated = true; break;}
603  if(sdr_play_report != nullptr && sdr_play_report->isSet()){ isObjectUpdated = true; break;}
604  if(soapy_sdr_input_report != nullptr && soapy_sdr_input_report->isSet()){ isObjectUpdated = true; break;}
605  if(soapy_sdr_output_report != nullptr && soapy_sdr_output_report->isSet()){ isObjectUpdated = true; break;}
606  if(xtrx_input_report != nullptr && xtrx_input_report->isSet()){ isObjectUpdated = true; break;}
607  if(xtrx_output_report != nullptr && xtrx_output_report->isSet()){ isObjectUpdated = true; break;}
608  }while(false);
609  return isObjectUpdated;
610 }
SWGAirspyReport * airspy_report
SWGLocalOutputReport * local_output_report
SWGRemoteInputReport * remote_input_report
SWGBladeRF2InputReport * blade_rf2_input_report
SWGXtrxInputReport * xtrx_input_report
virtual bool isSet() override
virtual bool isSet() override
SWGPerseusReport * perseus_report
SWGLimeSdrInputReport * lime_sdr_input_report
SWGXtrxOutputReport * xtrx_output_report
virtual bool isSet() override
virtual bool isSet() override
SWGLimeSdrOutputReport * lime_sdr_output_report
SWGRemoteOutputReport * remote_output_report
SWGSDRPlayReport * sdr_play_report
SWGBladeRF2OutputReport * blade_rf2_output_report
SWGPlutoSdrOutputReport * pluto_sdr_output_report
virtual bool isSet() override
SWGLocalInputReport * local_input_report
SWGKiwiSDRReport * kiwi_sdr_report
SWGSoapySDRReport * soapy_sdr_input_report
SWGSoapySDRReport * soapy_sdr_output_report
SWGFileInputReport * file_input_report
SWGPlutoSdrInputReport * pluto_sdr_input_report
SWGRtlSdrReport * rtl_sdr_report
SWGAirspyHFReport * airspy_hf_report
+ Here is the call graph for this function:

◆ setAirspyHfReport()

void SWGSDRangel::SWGDeviceReport::setAirspyHfReport ( SWGAirspyHFReport airspy_hf_report)

Definition at line 385 of file SWGDeviceReport.cpp.

References airspy_hf_report, and m_airspy_hf_report_isSet.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and AirspyHFInput::webapiReportGet().

385  {
387  this->m_airspy_hf_report_isSet = true;
388 }
SWGAirspyHFReport * airspy_hf_report
+ Here is the caller graph for this function:

◆ setAirspyReport()

void SWGSDRangel::SWGDeviceReport::setAirspyReport ( SWGAirspyReport airspy_report)

Definition at line 375 of file SWGDeviceReport.cpp.

References airspy_report, and m_airspy_report_isSet.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and AirspyInput::webapiReportGet().

375  {
377  this->m_airspy_report_isSet = true;
378 }
SWGAirspyReport * airspy_report
+ Here is the caller graph for this function:

◆ setBladeRf2InputReport()

void SWGSDRangel::SWGDeviceReport::setBladeRf2InputReport ( SWGBladeRF2InputReport blade_rf2_input_report)

Definition at line 395 of file SWGDeviceReport.cpp.

References blade_rf2_input_report, and m_blade_rf2_input_report_isSet.

Referenced by BladeRF2Input::webapiReportGet().

395  {
397  this->m_blade_rf2_input_report_isSet = true;
398 }
SWGBladeRF2InputReport * blade_rf2_input_report
+ Here is the caller graph for this function:

◆ setBladeRf2OutputReport()

void SWGSDRangel::SWGDeviceReport::setBladeRf2OutputReport ( SWGBladeRF2OutputReport blade_rf2_output_report)

Definition at line 405 of file SWGDeviceReport.cpp.

References blade_rf2_output_report, and m_blade_rf2_output_report_isSet.

Referenced by BladeRF2Output::webapiReportGet().

405  {
407  this->m_blade_rf2_output_report_isSet = true;
408 }
SWGBladeRF2OutputReport * blade_rf2_output_report
+ Here is the caller graph for this function:

◆ setDeviceHwType()

void SWGSDRangel::SWGDeviceReport::setDeviceHwType ( QString *  device_hw_type)

◆ setDirection()

void SWGSDRangel::SWGDeviceReport::setDirection ( qint32  direction)

Definition at line 365 of file SWGDeviceReport.cpp.

References direction, and m_direction_isSet.

Referenced by WebAPIAdapterGUI::devicesetDeviceReportGet(), and WebAPIAdapterSrv::devicesetDeviceReportGet().

365  {
366  this->direction = direction;
367  this->m_direction_isSet = true;
368 }
+ Here is the caller graph for this function:

◆ setFileInputReport()

void SWGSDRangel::SWGDeviceReport::setFileInputReport ( SWGFileInputReport file_input_report)

Definition at line 415 of file SWGDeviceReport.cpp.

References file_input_report, and m_file_input_report_isSet.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and FileInput::webapiReportGet().

415  {
417  this->m_file_input_report_isSet = true;
418 }
SWGFileInputReport * file_input_report
+ Here is the caller graph for this function:

◆ setKiwiSdrReport()

void SWGSDRangel::SWGDeviceReport::setKiwiSdrReport ( SWGKiwiSDRReport kiwi_sdr_report)

Definition at line 435 of file SWGDeviceReport.cpp.

References kiwi_sdr_report, and m_kiwi_sdr_report_isSet.

Referenced by KiwiSDRInput::webapiReportGet().

435  {
437  this->m_kiwi_sdr_report_isSet = true;
438 }
SWGKiwiSDRReport * kiwi_sdr_report
+ Here is the caller graph for this function:

◆ setLimeSdrInputReport()

void SWGSDRangel::SWGDeviceReport::setLimeSdrInputReport ( SWGLimeSdrInputReport lime_sdr_input_report)

Definition at line 425 of file SWGDeviceReport.cpp.

References lime_sdr_input_report, and m_lime_sdr_input_report_isSet.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and LimeSDRInput::webapiReportGet().

425  {
427  this->m_lime_sdr_input_report_isSet = true;
428 }
SWGLimeSdrInputReport * lime_sdr_input_report
+ Here is the caller graph for this function:

◆ setLimeSdrOutputReport()

void SWGSDRangel::SWGDeviceReport::setLimeSdrOutputReport ( SWGLimeSdrOutputReport lime_sdr_output_report)

Definition at line 445 of file SWGDeviceReport.cpp.

References lime_sdr_output_report, and m_lime_sdr_output_report_isSet.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and LimeSDROutput::webapiReportGet().

445  {
447  this->m_lime_sdr_output_report_isSet = true;
448 }
SWGLimeSdrOutputReport * lime_sdr_output_report
+ Here is the caller graph for this function:

◆ setLocalInputReport()

void SWGSDRangel::SWGDeviceReport::setLocalInputReport ( SWGLocalInputReport local_input_report)

Definition at line 455 of file SWGDeviceReport.cpp.

References local_input_report, and m_local_input_report_isSet.

Referenced by LocalInput::webapiReportGet().

455  {
457  this->m_local_input_report_isSet = true;
458 }
SWGLocalInputReport * local_input_report
+ Here is the caller graph for this function:

◆ setLocalOutputReport()

void SWGSDRangel::SWGDeviceReport::setLocalOutputReport ( SWGLocalOutputReport local_output_report)

Definition at line 465 of file SWGDeviceReport.cpp.

References local_output_report, and m_local_output_report_isSet.

Referenced by LocalOutput::webapiReportGet().

465  {
467  this->m_local_output_report_isSet = true;
468 }
SWGLocalOutputReport * local_output_report
+ Here is the caller graph for this function:

◆ setPerseusReport()

void SWGSDRangel::SWGDeviceReport::setPerseusReport ( SWGPerseusReport perseus_report)

Definition at line 475 of file SWGDeviceReport.cpp.

References m_perseus_report_isSet, and perseus_report.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and PerseusInput::webapiReportGet().

475  {
477  this->m_perseus_report_isSet = true;
478 }
SWGPerseusReport * perseus_report
+ Here is the caller graph for this function:

◆ setPlutoSdrInputReport()

void SWGSDRangel::SWGDeviceReport::setPlutoSdrInputReport ( SWGPlutoSdrInputReport pluto_sdr_input_report)

Definition at line 485 of file SWGDeviceReport.cpp.

References m_pluto_sdr_input_report_isSet, and pluto_sdr_input_report.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and PlutoSDRInput::webapiReportGet().

485  {
487  this->m_pluto_sdr_input_report_isSet = true;
488 }
SWGPlutoSdrInputReport * pluto_sdr_input_report
+ Here is the caller graph for this function:

◆ setPlutoSdrOutputReport()

void SWGSDRangel::SWGDeviceReport::setPlutoSdrOutputReport ( SWGPlutoSdrOutputReport pluto_sdr_output_report)

Definition at line 495 of file SWGDeviceReport.cpp.

References m_pluto_sdr_output_report_isSet, and pluto_sdr_output_report.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and PlutoSDROutput::webapiReportGet().

495  {
497  this->m_pluto_sdr_output_report_isSet = true;
498 }
SWGPlutoSdrOutputReport * pluto_sdr_output_report
+ Here is the caller graph for this function:

◆ setRemoteInputReport()

void SWGSDRangel::SWGDeviceReport::setRemoteInputReport ( SWGRemoteInputReport remote_input_report)

Definition at line 525 of file SWGDeviceReport.cpp.

References m_remote_input_report_isSet, and remote_input_report.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and RemoteInput::webapiReportGet().

525  {
527  this->m_remote_input_report_isSet = true;
528 }
SWGRemoteInputReport * remote_input_report
+ Here is the caller graph for this function:

◆ setRemoteOutputReport()

void SWGSDRangel::SWGDeviceReport::setRemoteOutputReport ( SWGRemoteOutputReport remote_output_report)

Definition at line 515 of file SWGDeviceReport.cpp.

References m_remote_output_report_isSet, and remote_output_report.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and RemoteOutput::webapiReportGet().

515  {
517  this->m_remote_output_report_isSet = true;
518 }
SWGRemoteOutputReport * remote_output_report
+ Here is the caller graph for this function:

◆ setRtlSdrReport()

void SWGSDRangel::SWGDeviceReport::setRtlSdrReport ( SWGRtlSdrReport rtl_sdr_report)

Definition at line 505 of file SWGDeviceReport.cpp.

References m_rtl_sdr_report_isSet, and rtl_sdr_report.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and RTLSDRInput::webapiReportGet().

505  {
507  this->m_rtl_sdr_report_isSet = true;
508 }
SWGRtlSdrReport * rtl_sdr_report
+ Here is the caller graph for this function:

◆ setSdrPlayReport()

void SWGSDRangel::SWGDeviceReport::setSdrPlayReport ( SWGSDRPlayReport sdr_play_report)

Definition at line 535 of file SWGDeviceReport.cpp.

References m_sdr_play_report_isSet, and sdr_play_report.

Referenced by WebAPIRequestMapper::resetDeviceReport(), and SDRPlayInput::webapiReportGet().

535  {
537  this->m_sdr_play_report_isSet = true;
538 }
SWGSDRPlayReport * sdr_play_report
+ Here is the caller graph for this function:

◆ setSoapySdrInputReport()

void SWGSDRangel::SWGDeviceReport::setSoapySdrInputReport ( SWGSoapySDRReport soapy_sdr_input_report)

Definition at line 545 of file SWGDeviceReport.cpp.

References m_soapy_sdr_input_report_isSet, and soapy_sdr_input_report.

Referenced by SoapySDRInput::webapiReportGet().

545  {
547  this->m_soapy_sdr_input_report_isSet = true;
548 }
SWGSoapySDRReport * soapy_sdr_input_report
+ Here is the caller graph for this function:

◆ setSoapySdrOutputReport()

void SWGSDRangel::SWGDeviceReport::setSoapySdrOutputReport ( SWGSoapySDRReport soapy_sdr_output_report)

Definition at line 555 of file SWGDeviceReport.cpp.

References m_soapy_sdr_output_report_isSet, and soapy_sdr_output_report.

Referenced by SoapySDROutput::webapiReportGet().

555  {
557  this->m_soapy_sdr_output_report_isSet = true;
558 }
SWGSoapySDRReport * soapy_sdr_output_report
+ Here is the caller graph for this function:

◆ setXtrxInputReport()

void SWGSDRangel::SWGDeviceReport::setXtrxInputReport ( SWGXtrxInputReport xtrx_input_report)

Definition at line 565 of file SWGDeviceReport.cpp.

References m_xtrx_input_report_isSet, and xtrx_input_report.

Referenced by XTRXInput::webapiReportGet().

565  {
567  this->m_xtrx_input_report_isSet = true;
568 }
SWGXtrxInputReport * xtrx_input_report
+ Here is the caller graph for this function:

◆ setXtrxOutputReport()

void SWGSDRangel::SWGDeviceReport::setXtrxOutputReport ( SWGXtrxOutputReport xtrx_output_report)

Definition at line 575 of file SWGDeviceReport.cpp.

References m_xtrx_output_report_isSet, and xtrx_output_report.

Referenced by XTRXOutput::webapiReportGet().

575  {
577  this->m_xtrx_output_report_isSet = true;
578 }
SWGXtrxOutputReport * xtrx_output_report
+ Here is the caller graph for this function:

Member Data Documentation

◆ airspy_hf_report

SWGAirspyHFReport* SWGSDRangel::SWGDeviceReport::airspy_hf_report
private

◆ airspy_report

SWGAirspyReport* SWGSDRangel::SWGDeviceReport::airspy_report
private

◆ blade_rf2_input_report

SWGBladeRF2InputReport* SWGSDRangel::SWGDeviceReport::blade_rf2_input_report
private

◆ blade_rf2_output_report

SWGBladeRF2OutputReport* SWGSDRangel::SWGDeviceReport::blade_rf2_output_report
private

◆ device_hw_type

QString* SWGSDRangel::SWGDeviceReport::device_hw_type
private

◆ direction

qint32 SWGSDRangel::SWGDeviceReport::direction
private

◆ file_input_report

SWGFileInputReport* SWGSDRangel::SWGDeviceReport::file_input_report
private

◆ kiwi_sdr_report

SWGKiwiSDRReport* SWGSDRangel::SWGDeviceReport::kiwi_sdr_report
private

◆ lime_sdr_input_report

SWGLimeSdrInputReport* SWGSDRangel::SWGDeviceReport::lime_sdr_input_report
private

◆ lime_sdr_output_report

SWGLimeSdrOutputReport* SWGSDRangel::SWGDeviceReport::lime_sdr_output_report
private

◆ local_input_report

SWGLocalInputReport* SWGSDRangel::SWGDeviceReport::local_input_report
private

◆ local_output_report

SWGLocalOutputReport* SWGSDRangel::SWGDeviceReport::local_output_report
private

◆ m_airspy_hf_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_airspy_hf_report_isSet
private

Definition at line 148 of file SWGDeviceReport.h.

Referenced by init(), setAirspyHfReport(), and SWGDeviceReport().

◆ m_airspy_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_airspy_report_isSet
private

Definition at line 145 of file SWGDeviceReport.h.

Referenced by init(), setAirspyReport(), and SWGDeviceReport().

◆ m_blade_rf2_input_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_blade_rf2_input_report_isSet
private

Definition at line 151 of file SWGDeviceReport.h.

Referenced by init(), setBladeRf2InputReport(), and SWGDeviceReport().

◆ m_blade_rf2_output_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_blade_rf2_output_report_isSet
private

Definition at line 154 of file SWGDeviceReport.h.

Referenced by init(), setBladeRf2OutputReport(), and SWGDeviceReport().

◆ m_device_hw_type_isSet

bool SWGSDRangel::SWGDeviceReport::m_device_hw_type_isSet
private

Definition at line 139 of file SWGDeviceReport.h.

Referenced by init(), setDeviceHwType(), and SWGDeviceReport().

◆ m_direction_isSet

bool SWGSDRangel::SWGDeviceReport::m_direction_isSet
private

Definition at line 142 of file SWGDeviceReport.h.

Referenced by asJsonObject(), init(), isSet(), setDirection(), and SWGDeviceReport().

◆ m_file_input_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_file_input_report_isSet
private

Definition at line 157 of file SWGDeviceReport.h.

Referenced by init(), setFileInputReport(), and SWGDeviceReport().

◆ m_kiwi_sdr_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_kiwi_sdr_report_isSet
private

Definition at line 163 of file SWGDeviceReport.h.

Referenced by init(), setKiwiSdrReport(), and SWGDeviceReport().

◆ m_lime_sdr_input_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_lime_sdr_input_report_isSet
private

Definition at line 160 of file SWGDeviceReport.h.

Referenced by init(), setLimeSdrInputReport(), and SWGDeviceReport().

◆ m_lime_sdr_output_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_lime_sdr_output_report_isSet
private

Definition at line 166 of file SWGDeviceReport.h.

Referenced by init(), setLimeSdrOutputReport(), and SWGDeviceReport().

◆ m_local_input_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_local_input_report_isSet
private

Definition at line 169 of file SWGDeviceReport.h.

Referenced by init(), setLocalInputReport(), and SWGDeviceReport().

◆ m_local_output_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_local_output_report_isSet
private

Definition at line 172 of file SWGDeviceReport.h.

Referenced by init(), setLocalOutputReport(), and SWGDeviceReport().

◆ m_perseus_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_perseus_report_isSet
private

Definition at line 175 of file SWGDeviceReport.h.

Referenced by init(), setPerseusReport(), and SWGDeviceReport().

◆ m_pluto_sdr_input_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_pluto_sdr_input_report_isSet
private

Definition at line 178 of file SWGDeviceReport.h.

Referenced by init(), setPlutoSdrInputReport(), and SWGDeviceReport().

◆ m_pluto_sdr_output_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_pluto_sdr_output_report_isSet
private

Definition at line 181 of file SWGDeviceReport.h.

Referenced by init(), setPlutoSdrOutputReport(), and SWGDeviceReport().

◆ m_remote_input_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_remote_input_report_isSet
private

Definition at line 190 of file SWGDeviceReport.h.

Referenced by init(), setRemoteInputReport(), and SWGDeviceReport().

◆ m_remote_output_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_remote_output_report_isSet
private

Definition at line 187 of file SWGDeviceReport.h.

Referenced by init(), setRemoteOutputReport(), and SWGDeviceReport().

◆ m_rtl_sdr_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_rtl_sdr_report_isSet
private

Definition at line 184 of file SWGDeviceReport.h.

Referenced by init(), setRtlSdrReport(), and SWGDeviceReport().

◆ m_sdr_play_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_sdr_play_report_isSet
private

Definition at line 193 of file SWGDeviceReport.h.

Referenced by init(), setSdrPlayReport(), and SWGDeviceReport().

◆ m_soapy_sdr_input_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_soapy_sdr_input_report_isSet
private

Definition at line 196 of file SWGDeviceReport.h.

Referenced by init(), setSoapySdrInputReport(), and SWGDeviceReport().

◆ m_soapy_sdr_output_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_soapy_sdr_output_report_isSet
private

Definition at line 199 of file SWGDeviceReport.h.

Referenced by init(), setSoapySdrOutputReport(), and SWGDeviceReport().

◆ m_xtrx_input_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_xtrx_input_report_isSet
private

Definition at line 202 of file SWGDeviceReport.h.

Referenced by init(), setXtrxInputReport(), and SWGDeviceReport().

◆ m_xtrx_output_report_isSet

bool SWGSDRangel::SWGDeviceReport::m_xtrx_output_report_isSet
private

Definition at line 205 of file SWGDeviceReport.h.

Referenced by init(), setXtrxOutputReport(), and SWGDeviceReport().

◆ perseus_report

SWGPerseusReport* SWGSDRangel::SWGDeviceReport::perseus_report
private

◆ pluto_sdr_input_report

SWGPlutoSdrInputReport* SWGSDRangel::SWGDeviceReport::pluto_sdr_input_report
private

◆ pluto_sdr_output_report

SWGPlutoSdrOutputReport* SWGSDRangel::SWGDeviceReport::pluto_sdr_output_report
private

◆ remote_input_report

SWGRemoteInputReport* SWGSDRangel::SWGDeviceReport::remote_input_report
private

◆ remote_output_report

SWGRemoteOutputReport* SWGSDRangel::SWGDeviceReport::remote_output_report
private

◆ rtl_sdr_report

SWGRtlSdrReport* SWGSDRangel::SWGDeviceReport::rtl_sdr_report
private

◆ sdr_play_report

SWGSDRPlayReport* SWGSDRangel::SWGDeviceReport::sdr_play_report
private

◆ soapy_sdr_input_report

SWGSoapySDRReport* SWGSDRangel::SWGDeviceReport::soapy_sdr_input_report
private

◆ soapy_sdr_output_report

SWGSoapySDRReport* SWGSDRangel::SWGDeviceReport::soapy_sdr_output_report
private

◆ xtrx_input_report

SWGXtrxInputReport* SWGSDRangel::SWGDeviceReport::xtrx_input_report
private

◆ xtrx_output_report

SWGXtrxOutputReport* SWGSDRangel::SWGDeviceReport::xtrx_output_report
private

The documentation for this class was generated from the following files: