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::SWGDeviceSettings Class Reference

#include <SWGDeviceSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGDeviceSettings:
+ Collaboration diagram for SWGSDRangel::SWGDeviceSettings:

Public Member Functions

 SWGDeviceSettings ()
 
 SWGDeviceSettings (QString *json)
 
virtual ~SWGDeviceSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGDeviceSettingsfromJson (QString &jsonString) override
 
QString * getDeviceHwType ()
 
void setDeviceHwType (QString *device_hw_type)
 
qint32 getDirection ()
 
void setDirection (qint32 direction)
 
qint32 getOriginatorIndex ()
 
void setOriginatorIndex (qint32 originator_index)
 
SWGAirspySettingsgetAirspySettings ()
 
void setAirspySettings (SWGAirspySettings *airspy_settings)
 
SWGAirspyHFSettingsgetAirspyHfSettings ()
 
void setAirspyHfSettings (SWGAirspyHFSettings *airspy_hf_settings)
 
SWGBladeRF1InputSettingsgetBladeRf1InputSettings ()
 
void setBladeRf1InputSettings (SWGBladeRF1InputSettings *blade_rf1_input_settings)
 
SWGBladeRF2InputSettingsgetBladeRf2InputSettings ()
 
void setBladeRf2InputSettings (SWGBladeRF2InputSettings *blade_rf2_input_settings)
 
SWGBladeRF1OutputSettingsgetBladeRf1OutputSettings ()
 
void setBladeRf1OutputSettings (SWGBladeRF1OutputSettings *blade_rf1_output_settings)
 
SWGBladeRF2OutputSettingsgetBladeRf2OutputSettings ()
 
void setBladeRf2OutputSettings (SWGBladeRF2OutputSettings *blade_rf2_output_settings)
 
SWGFCDProSettingsgetFcdProSettings ()
 
void setFcdProSettings (SWGFCDProSettings *fcd_pro_settings)
 
SWGFCDProPlusSettingsgetFcdProPlusSettings ()
 
void setFcdProPlusSettings (SWGFCDProPlusSettings *fcd_pro_plus_settings)
 
SWGFileInputSettingsgetFileInputSettings ()
 
void setFileInputSettings (SWGFileInputSettings *file_input_settings)
 
SWGHackRFInputSettingsgetHackRfInputSettings ()
 
void setHackRfInputSettings (SWGHackRFInputSettings *hack_rf_input_settings)
 
SWGHackRFOutputSettingsgetHackRfOutputSettings ()
 
void setHackRfOutputSettings (SWGHackRFOutputSettings *hack_rf_output_settings)
 
SWGKiwiSDRSettingsgetKiwiSdrSettings ()
 
void setKiwiSdrSettings (SWGKiwiSDRSettings *kiwi_sdr_settings)
 
SWGLimeSdrInputSettingsgetLimeSdrInputSettings ()
 
void setLimeSdrInputSettings (SWGLimeSdrInputSettings *lime_sdr_input_settings)
 
SWGLimeSdrOutputSettingsgetLimeSdrOutputSettings ()
 
void setLimeSdrOutputSettings (SWGLimeSdrOutputSettings *lime_sdr_output_settings)
 
SWGLocalInputSettingsgetLocalInputSettings ()
 
void setLocalInputSettings (SWGLocalInputSettings *local_input_settings)
 
SWGLocalOutputSettingsgetLocalOutputSettings ()
 
void setLocalOutputSettings (SWGLocalOutputSettings *local_output_settings)
 
SWGPerseusSettingsgetPerseusSettings ()
 
void setPerseusSettings (SWGPerseusSettings *perseus_settings)
 
SWGPlutoSdrInputSettingsgetPlutoSdrInputSettings ()
 
void setPlutoSdrInputSettings (SWGPlutoSdrInputSettings *pluto_sdr_input_settings)
 
SWGPlutoSdrOutputSettingsgetPlutoSdrOutputSettings ()
 
void setPlutoSdrOutputSettings (SWGPlutoSdrOutputSettings *pluto_sdr_output_settings)
 
SWGRtlSdrSettingsgetRtlSdrSettings ()
 
void setRtlSdrSettings (SWGRtlSdrSettings *rtl_sdr_settings)
 
SWGRemoteOutputSettingsgetRemoteOutputSettings ()
 
void setRemoteOutputSettings (SWGRemoteOutputSettings *remote_output_settings)
 
SWGRemoteInputSettingsgetRemoteInputSettings ()
 
void setRemoteInputSettings (SWGRemoteInputSettings *remote_input_settings)
 
SWGSDRPlaySettingsgetSdrPlaySettings ()
 
void setSdrPlaySettings (SWGSDRPlaySettings *sdr_play_settings)
 
SWGSoapySDRInputSettingsgetSoapySdrInputSettings ()
 
void setSoapySdrInputSettings (SWGSoapySDRInputSettings *soapy_sdr_input_settings)
 
SWGSoapySDROutputSettingsgetSoapySdrOutputSettings ()
 
void setSoapySdrOutputSettings (SWGSoapySDROutputSettings *soapy_sdr_output_settings)
 
SWGTestSourceSettingsgetTestSourceSettings ()
 
void setTestSourceSettings (SWGTestSourceSettings *test_source_settings)
 
SWGTestMISettingsgetTestMiSettings ()
 
void setTestMiSettings (SWGTestMISettings *test_mi_settings)
 
SWGXtrxInputSettingsgetXtrxInputSettings ()
 
void setXtrxInputSettings (SWGXtrxInputSettings *xtrx_input_settings)
 
SWGXtrxOutputSettingsgetXtrxOutputSettings ()
 
void setXtrxOutputSettings (SWGXtrxOutputSettings *xtrx_output_settings)
 
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
 
qint32 originator_index
 
bool m_originator_index_isSet
 
SWGAirspySettingsairspy_settings
 
bool m_airspy_settings_isSet
 
SWGAirspyHFSettingsairspy_hf_settings
 
bool m_airspy_hf_settings_isSet
 
SWGBladeRF1InputSettingsblade_rf1_input_settings
 
bool m_blade_rf1_input_settings_isSet
 
SWGBladeRF2InputSettingsblade_rf2_input_settings
 
bool m_blade_rf2_input_settings_isSet
 
SWGBladeRF1OutputSettingsblade_rf1_output_settings
 
bool m_blade_rf1_output_settings_isSet
 
SWGBladeRF2OutputSettingsblade_rf2_output_settings
 
bool m_blade_rf2_output_settings_isSet
 
SWGFCDProSettingsfcd_pro_settings
 
bool m_fcd_pro_settings_isSet
 
SWGFCDProPlusSettingsfcd_pro_plus_settings
 
bool m_fcd_pro_plus_settings_isSet
 
SWGFileInputSettingsfile_input_settings
 
bool m_file_input_settings_isSet
 
SWGHackRFInputSettingshack_rf_input_settings
 
bool m_hack_rf_input_settings_isSet
 
SWGHackRFOutputSettingshack_rf_output_settings
 
bool m_hack_rf_output_settings_isSet
 
SWGKiwiSDRSettingskiwi_sdr_settings
 
bool m_kiwi_sdr_settings_isSet
 
SWGLimeSdrInputSettingslime_sdr_input_settings
 
bool m_lime_sdr_input_settings_isSet
 
SWGLimeSdrOutputSettingslime_sdr_output_settings
 
bool m_lime_sdr_output_settings_isSet
 
SWGLocalInputSettingslocal_input_settings
 
bool m_local_input_settings_isSet
 
SWGLocalOutputSettingslocal_output_settings
 
bool m_local_output_settings_isSet
 
SWGPerseusSettingsperseus_settings
 
bool m_perseus_settings_isSet
 
SWGPlutoSdrInputSettingspluto_sdr_input_settings
 
bool m_pluto_sdr_input_settings_isSet
 
SWGPlutoSdrOutputSettingspluto_sdr_output_settings
 
bool m_pluto_sdr_output_settings_isSet
 
SWGRtlSdrSettingsrtl_sdr_settings
 
bool m_rtl_sdr_settings_isSet
 
SWGRemoteOutputSettingsremote_output_settings
 
bool m_remote_output_settings_isSet
 
SWGRemoteInputSettingsremote_input_settings
 
bool m_remote_input_settings_isSet
 
SWGSDRPlaySettingssdr_play_settings
 
bool m_sdr_play_settings_isSet
 
SWGSoapySDRInputSettingssoapy_sdr_input_settings
 
bool m_soapy_sdr_input_settings_isSet
 
SWGSoapySDROutputSettingssoapy_sdr_output_settings
 
bool m_soapy_sdr_output_settings_isSet
 
SWGTestSourceSettingstest_source_settings
 
bool m_test_source_settings_isSet
 
SWGTestMISettingstest_mi_settings
 
bool m_test_mi_settings_isSet
 
SWGXtrxInputSettingsxtrx_input_settings
 
bool m_xtrx_input_settings_isSet
 
SWGXtrxOutputSettingsxtrx_output_settings
 
bool m_xtrx_output_settings_isSet
 

Detailed Description

Definition at line 61 of file SWGDeviceSettings.h.

Constructor & Destructor Documentation

◆ SWGDeviceSettings() [1/2]

SWGSDRangel::SWGDeviceSettings::SWGDeviceSettings ( )

Definition at line 30 of file SWGDeviceSettings.cpp.

References airspy_hf_settings, airspy_settings, blade_rf1_input_settings, blade_rf1_output_settings, blade_rf2_input_settings, blade_rf2_output_settings, device_hw_type, direction, fcd_pro_plus_settings, fcd_pro_settings, file_input_settings, hack_rf_input_settings, hack_rf_output_settings, kiwi_sdr_settings, lime_sdr_input_settings, lime_sdr_output_settings, local_input_settings, local_output_settings, m_airspy_hf_settings_isSet, m_airspy_settings_isSet, m_blade_rf1_input_settings_isSet, m_blade_rf1_output_settings_isSet, m_blade_rf2_input_settings_isSet, m_blade_rf2_output_settings_isSet, m_device_hw_type_isSet, m_direction_isSet, m_fcd_pro_plus_settings_isSet, m_fcd_pro_settings_isSet, m_file_input_settings_isSet, m_hack_rf_input_settings_isSet, m_hack_rf_output_settings_isSet, m_kiwi_sdr_settings_isSet, m_lime_sdr_input_settings_isSet, m_lime_sdr_output_settings_isSet, m_local_input_settings_isSet, m_local_output_settings_isSet, m_originator_index_isSet, m_perseus_settings_isSet, m_pluto_sdr_input_settings_isSet, m_pluto_sdr_output_settings_isSet, m_remote_input_settings_isSet, m_remote_output_settings_isSet, m_rtl_sdr_settings_isSet, m_sdr_play_settings_isSet, m_soapy_sdr_input_settings_isSet, m_soapy_sdr_output_settings_isSet, m_test_mi_settings_isSet, m_test_source_settings_isSet, m_xtrx_input_settings_isSet, m_xtrx_output_settings_isSet, originator_index, perseus_settings, pluto_sdr_input_settings, pluto_sdr_output_settings, remote_input_settings, remote_output_settings, rtl_sdr_settings, sdr_play_settings, soapy_sdr_input_settings, soapy_sdr_output_settings, test_mi_settings, test_source_settings, xtrx_input_settings, and xtrx_output_settings.

30  {
31  device_hw_type = nullptr;
32  m_device_hw_type_isSet = false;
33  direction = 0;
34  m_direction_isSet = false;
35  originator_index = 0;
37  airspy_settings = nullptr;
39  airspy_hf_settings = nullptr;
41  blade_rf1_input_settings = nullptr;
43  blade_rf2_input_settings = nullptr;
45  blade_rf1_output_settings = nullptr;
47  blade_rf2_output_settings = nullptr;
49  fcd_pro_settings = nullptr;
51  fcd_pro_plus_settings = nullptr;
53  file_input_settings = nullptr;
55  hack_rf_input_settings = nullptr;
57  hack_rf_output_settings = nullptr;
59  kiwi_sdr_settings = nullptr;
61  lime_sdr_input_settings = nullptr;
63  lime_sdr_output_settings = nullptr;
65  local_input_settings = nullptr;
67  local_output_settings = nullptr;
69  perseus_settings = nullptr;
71  pluto_sdr_input_settings = nullptr;
73  pluto_sdr_output_settings = nullptr;
75  rtl_sdr_settings = nullptr;
77  remote_output_settings = nullptr;
79  remote_input_settings = nullptr;
81  sdr_play_settings = nullptr;
83  soapy_sdr_input_settings = nullptr;
85  soapy_sdr_output_settings = nullptr;
87  test_source_settings = nullptr;
89  test_mi_settings = nullptr;
91  xtrx_input_settings = nullptr;
93  xtrx_output_settings = nullptr;
95 }
SWGBladeRF1OutputSettings * blade_rf1_output_settings
SWGBladeRF2InputSettings * blade_rf2_input_settings
SWGXtrxInputSettings * xtrx_input_settings
SWGTestMISettings * test_mi_settings
SWGHackRFOutputSettings * hack_rf_output_settings
SWGPlutoSdrOutputSettings * pluto_sdr_output_settings
SWGSDRPlaySettings * sdr_play_settings
SWGLocalInputSettings * local_input_settings
SWGPlutoSdrInputSettings * pluto_sdr_input_settings
SWGAirspyHFSettings * airspy_hf_settings
SWGXtrxOutputSettings * xtrx_output_settings
SWGRemoteInputSettings * remote_input_settings
SWGRemoteOutputSettings * remote_output_settings
SWGFileInputSettings * file_input_settings
SWGPerseusSettings * perseus_settings
SWGAirspySettings * airspy_settings
SWGSoapySDRInputSettings * soapy_sdr_input_settings
SWGFCDProPlusSettings * fcd_pro_plus_settings
SWGLimeSdrOutputSettings * lime_sdr_output_settings
SWGSoapySDROutputSettings * soapy_sdr_output_settings
SWGBladeRF1InputSettings * blade_rf1_input_settings
SWGRtlSdrSettings * rtl_sdr_settings
SWGBladeRF2OutputSettings * blade_rf2_output_settings
SWGLimeSdrInputSettings * lime_sdr_input_settings
SWGHackRFInputSettings * hack_rf_input_settings
SWGTestSourceSettings * test_source_settings
SWGLocalOutputSettings * local_output_settings
SWGKiwiSDRSettings * kiwi_sdr_settings
SWGFCDProSettings * fcd_pro_settings

◆ SWGDeviceSettings() [2/2]

SWGSDRangel::SWGDeviceSettings::SWGDeviceSettings ( QString *  json)

Definition at line 25 of file SWGDeviceSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGDeviceSettings()

SWGSDRangel::SWGDeviceSettings::~SWGDeviceSettings ( )
virtual

Definition at line 97 of file SWGDeviceSettings.cpp.

References cleanup().

97  {
98  this->cleanup();
99 }
+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGDeviceSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 343 of file SWGDeviceSettings.cpp.

References asJsonObject().

Referenced by SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDelete(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPost(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatch(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPut(), WebAPIRequestMapper::devicesetDeviceSettingsService(), TestSourceInput::webapiReverseSendSettings(), PlutoSDROutput::webapiReverseSendSettings(), Bladerf1Output::webapiReverseSendSettings(), HackRFOutput::webapiReverseSendSettings(), Bladerf1Input::webapiReverseSendSettings(), PerseusInput::webapiReverseSendSettings(), LocalOutput::webapiReverseSendSettings(), AirspyInput::webapiReverseSendSettings(), AirspyHFInput::webapiReverseSendSettings(), TestMI::webapiReverseSendSettings(), RTLSDRInput::webapiReverseSendSettings(), PlutoSDRInput::webapiReverseSendSettings(), FCDProPlusInput::webapiReverseSendSettings(), HackRFInput::webapiReverseSendSettings(), BladeRF2Output::webapiReverseSendSettings(), KiwiSDRInput::webapiReverseSendSettings(), LocalInput::webapiReverseSendSettings(), FCDProInput::webapiReverseSendSettings(), RemoteOutput::webapiReverseSendSettings(), SDRPlayInput::webapiReverseSendSettings(), BladeRF2Input::webapiReverseSendSettings(), SoapySDROutput::webapiReverseSendSettings(), SoapySDRInput::webapiReverseSendSettings(), XTRXOutput::webapiReverseSendSettings(), LimeSDROutput::webapiReverseSendSettings(), XTRXInput::webapiReverseSendSettings(), LimeSDRInput::webapiReverseSendSettings(), RemoteInput::webapiReverseSendSettings(), FileInput::webapiReverseSendSettings(), Bladerf1Output::webapiReverseSendStartStop(), TestSourceInput::webapiReverseSendStartStop(), PlutoSDROutput::webapiReverseSendStartStop(), HackRFOutput::webapiReverseSendStartStop(), Bladerf1Input::webapiReverseSendStartStop(), PerseusInput::webapiReverseSendStartStop(), LocalOutput::webapiReverseSendStartStop(), AirspyInput::webapiReverseSendStartStop(), TestMI::webapiReverseSendStartStop(), AirspyHFInput::webapiReverseSendStartStop(), RTLSDRInput::webapiReverseSendStartStop(), PlutoSDRInput::webapiReverseSendStartStop(), FCDProPlusInput::webapiReverseSendStartStop(), HackRFInput::webapiReverseSendStartStop(), BladeRF2Output::webapiReverseSendStartStop(), KiwiSDRInput::webapiReverseSendStartStop(), LocalInput::webapiReverseSendStartStop(), FCDProInput::webapiReverseSendStartStop(), RemoteOutput::webapiReverseSendStartStop(), SDRPlayInput::webapiReverseSendStartStop(), BladeRF2Input::webapiReverseSendStartStop(), SoapySDROutput::webapiReverseSendStartStop(), SoapySDRInput::webapiReverseSendStartStop(), XTRXOutput::webapiReverseSendStartStop(), LimeSDROutput::webapiReverseSendStartStop(), XTRXInput::webapiReverseSendStartStop(), LimeSDRInput::webapiReverseSendStartStop(), RemoteInput::webapiReverseSendStartStop(), and FileInput::webapiReverseSendStartStop().

344 {
345  QJsonObject* obj = this->asJsonObject();
346 
347  QJsonDocument doc(*obj);
348  QByteArray bytes = doc.toJson();
349  delete obj;
350  return QString(bytes);
351 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 354 of file SWGDeviceSettings.cpp.

References airspy_hf_settings, airspy_settings, blade_rf1_input_settings, blade_rf1_output_settings, blade_rf2_input_settings, blade_rf2_output_settings, device_hw_type, direction, fcd_pro_plus_settings, fcd_pro_settings, file_input_settings, hack_rf_input_settings, hack_rf_output_settings, SWGSDRangel::SWGLocalOutputSettings::isSet(), SWGSDRangel::SWGTestMISettings::isSet(), SWGSDRangel::SWGLocalInputSettings::isSet(), SWGSDRangel::SWGFileInputSettings::isSet(), SWGSDRangel::SWGKiwiSDRSettings::isSet(), SWGSDRangel::SWGRemoteInputSettings::isSet(), SWGSDRangel::SWGBladeRF1OutputSettings::isSet(), SWGSDRangel::SWGBladeRF2OutputSettings::isSet(), SWGSDRangel::SWGHackRFOutputSettings::isSet(), SWGSDRangel::SWGRemoteOutputSettings::isSet(), SWGSDRangel::SWGPerseusSettings::isSet(), SWGSDRangel::SWGXtrxOutputSettings::isSet(), SWGSDRangel::SWGPlutoSdrOutputSettings::isSet(), SWGSDRangel::SWGHackRFInputSettings::isSet(), SWGSDRangel::SWGBladeRF1InputSettings::isSet(), SWGSDRangel::SWGBladeRF2InputSettings::isSet(), SWGSDRangel::SWGAirspyHFSettings::isSet(), SWGSDRangel::SWGRtlSdrSettings::isSet(), SWGSDRangel::SWGSDRPlaySettings::isSet(), SWGSDRangel::SWGAirspySettings::isSet(), SWGSDRangel::SWGFCDProPlusSettings::isSet(), SWGSDRangel::SWGLimeSdrOutputSettings::isSet(), SWGSDRangel::SWGTestSourceSettings::isSet(), SWGSDRangel::SWGSoapySDROutputSettings::isSet(), SWGSDRangel::SWGXtrxInputSettings::isSet(), SWGSDRangel::SWGPlutoSdrInputSettings::isSet(), SWGSDRangel::SWGSoapySDRInputSettings::isSet(), SWGSDRangel::SWGLimeSdrInputSettings::isSet(), SWGSDRangel::SWGFCDProSettings::isSet(), kiwi_sdr_settings, lime_sdr_input_settings, lime_sdr_output_settings, local_input_settings, local_output_settings, m_direction_isSet, m_originator_index_isSet, originator_index, perseus_settings, pluto_sdr_input_settings, pluto_sdr_output_settings, remote_input_settings, remote_output_settings, rtl_sdr_settings, sdr_play_settings, soapy_sdr_input_settings, soapy_sdr_output_settings, test_mi_settings, test_source_settings, SWGSDRangel::toJsonValue(), xtrx_input_settings, and xtrx_output_settings.

Referenced by asJson().

354  {
355  QJsonObject* obj = new QJsonObject();
356  if(device_hw_type != nullptr && *device_hw_type != QString("")){
357  toJsonValue(QString("deviceHwType"), device_hw_type, obj, QString("QString"));
358  }
359  if(m_direction_isSet){
360  obj->insert("direction", QJsonValue(direction));
361  }
363  obj->insert("originatorIndex", QJsonValue(originator_index));
364  }
365  if((airspy_settings != nullptr) && (airspy_settings->isSet())){
366  toJsonValue(QString("airspySettings"), airspy_settings, obj, QString("SWGAirspySettings"));
367  }
368  if((airspy_hf_settings != nullptr) && (airspy_hf_settings->isSet())){
369  toJsonValue(QString("airspyHFSettings"), airspy_hf_settings, obj, QString("SWGAirspyHFSettings"));
370  }
372  toJsonValue(QString("bladeRF1InputSettings"), blade_rf1_input_settings, obj, QString("SWGBladeRF1InputSettings"));
373  }
375  toJsonValue(QString("bladeRF2InputSettings"), blade_rf2_input_settings, obj, QString("SWGBladeRF2InputSettings"));
376  }
378  toJsonValue(QString("bladeRF1OutputSettings"), blade_rf1_output_settings, obj, QString("SWGBladeRF1OutputSettings"));
379  }
381  toJsonValue(QString("bladeRF2OutputSettings"), blade_rf2_output_settings, obj, QString("SWGBladeRF2OutputSettings"));
382  }
383  if((fcd_pro_settings != nullptr) && (fcd_pro_settings->isSet())){
384  toJsonValue(QString("fcdProSettings"), fcd_pro_settings, obj, QString("SWGFCDProSettings"));
385  }
386  if((fcd_pro_plus_settings != nullptr) && (fcd_pro_plus_settings->isSet())){
387  toJsonValue(QString("fcdProPlusSettings"), fcd_pro_plus_settings, obj, QString("SWGFCDProPlusSettings"));
388  }
389  if((file_input_settings != nullptr) && (file_input_settings->isSet())){
390  toJsonValue(QString("fileInputSettings"), file_input_settings, obj, QString("SWGFileInputSettings"));
391  }
392  if((hack_rf_input_settings != nullptr) && (hack_rf_input_settings->isSet())){
393  toJsonValue(QString("hackRFInputSettings"), hack_rf_input_settings, obj, QString("SWGHackRFInputSettings"));
394  }
395  if((hack_rf_output_settings != nullptr) && (hack_rf_output_settings->isSet())){
396  toJsonValue(QString("hackRFOutputSettings"), hack_rf_output_settings, obj, QString("SWGHackRFOutputSettings"));
397  }
398  if((kiwi_sdr_settings != nullptr) && (kiwi_sdr_settings->isSet())){
399  toJsonValue(QString("kiwiSDRSettings"), kiwi_sdr_settings, obj, QString("SWGKiwiSDRSettings"));
400  }
401  if((lime_sdr_input_settings != nullptr) && (lime_sdr_input_settings->isSet())){
402  toJsonValue(QString("limeSdrInputSettings"), lime_sdr_input_settings, obj, QString("SWGLimeSdrInputSettings"));
403  }
405  toJsonValue(QString("limeSdrOutputSettings"), lime_sdr_output_settings, obj, QString("SWGLimeSdrOutputSettings"));
406  }
407  if((local_input_settings != nullptr) && (local_input_settings->isSet())){
408  toJsonValue(QString("localInputSettings"), local_input_settings, obj, QString("SWGLocalInputSettings"));
409  }
410  if((local_output_settings != nullptr) && (local_output_settings->isSet())){
411  toJsonValue(QString("localOutputSettings"), local_output_settings, obj, QString("SWGLocalOutputSettings"));
412  }
413  if((perseus_settings != nullptr) && (perseus_settings->isSet())){
414  toJsonValue(QString("perseusSettings"), perseus_settings, obj, QString("SWGPerseusSettings"));
415  }
417  toJsonValue(QString("plutoSdrInputSettings"), pluto_sdr_input_settings, obj, QString("SWGPlutoSdrInputSettings"));
418  }
420  toJsonValue(QString("plutoSdrOutputSettings"), pluto_sdr_output_settings, obj, QString("SWGPlutoSdrOutputSettings"));
421  }
422  if((rtl_sdr_settings != nullptr) && (rtl_sdr_settings->isSet())){
423  toJsonValue(QString("rtlSdrSettings"), rtl_sdr_settings, obj, QString("SWGRtlSdrSettings"));
424  }
425  if((remote_output_settings != nullptr) && (remote_output_settings->isSet())){
426  toJsonValue(QString("remoteOutputSettings"), remote_output_settings, obj, QString("SWGRemoteOutputSettings"));
427  }
428  if((remote_input_settings != nullptr) && (remote_input_settings->isSet())){
429  toJsonValue(QString("remoteInputSettings"), remote_input_settings, obj, QString("SWGRemoteInputSettings"));
430  }
431  if((sdr_play_settings != nullptr) && (sdr_play_settings->isSet())){
432  toJsonValue(QString("sdrPlaySettings"), sdr_play_settings, obj, QString("SWGSDRPlaySettings"));
433  }
435  toJsonValue(QString("soapySDRInputSettings"), soapy_sdr_input_settings, obj, QString("SWGSoapySDRInputSettings"));
436  }
438  toJsonValue(QString("soapySDROutputSettings"), soapy_sdr_output_settings, obj, QString("SWGSoapySDROutputSettings"));
439  }
440  if((test_source_settings != nullptr) && (test_source_settings->isSet())){
441  toJsonValue(QString("testSourceSettings"), test_source_settings, obj, QString("SWGTestSourceSettings"));
442  }
443  if((test_mi_settings != nullptr) && (test_mi_settings->isSet())){
444  toJsonValue(QString("testMISettings"), test_mi_settings, obj, QString("SWGTestMISettings"));
445  }
446  if((xtrx_input_settings != nullptr) && (xtrx_input_settings->isSet())){
447  toJsonValue(QString("xtrxInputSettings"), xtrx_input_settings, obj, QString("SWGXtrxInputSettings"));
448  }
449  if((xtrx_output_settings != nullptr) && (xtrx_output_settings->isSet())){
450  toJsonValue(QString("xtrxOutputSettings"), xtrx_output_settings, obj, QString("SWGXtrxOutputSettings"));
451  }
452 
453  return obj;
454 }
SWGBladeRF1OutputSettings * blade_rf1_output_settings
void toJsonValue(QString name, void *value, QJsonObject *output, QString type)
Definition: SWGHelpers.cpp:383
SWGBladeRF2InputSettings * blade_rf2_input_settings
SWGXtrxInputSettings * xtrx_input_settings
SWGTestMISettings * test_mi_settings
SWGHackRFOutputSettings * hack_rf_output_settings
SWGPlutoSdrOutputSettings * pluto_sdr_output_settings
SWGSDRPlaySettings * sdr_play_settings
SWGLocalInputSettings * local_input_settings
SWGPlutoSdrInputSettings * pluto_sdr_input_settings
SWGAirspyHFSettings * airspy_hf_settings
SWGXtrxOutputSettings * xtrx_output_settings
SWGRemoteInputSettings * remote_input_settings
SWGRemoteOutputSettings * remote_output_settings
SWGFileInputSettings * file_input_settings
SWGPerseusSettings * perseus_settings
SWGAirspySettings * airspy_settings
SWGSoapySDRInputSettings * soapy_sdr_input_settings
SWGFCDProPlusSettings * fcd_pro_plus_settings
SWGLimeSdrOutputSettings * lime_sdr_output_settings
SWGSoapySDROutputSettings * soapy_sdr_output_settings
SWGBladeRF1InputSettings * blade_rf1_input_settings
SWGRtlSdrSettings * rtl_sdr_settings
SWGBladeRF2OutputSettings * blade_rf2_output_settings
SWGLimeSdrInputSettings * lime_sdr_input_settings
SWGHackRFInputSettings * hack_rf_input_settings
SWGTestSourceSettings * test_source_settings
SWGLocalOutputSettings * local_output_settings
SWGKiwiSDRSettings * kiwi_sdr_settings
SWGFCDProSettings * fcd_pro_settings
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cleanup()

void SWGSDRangel::SWGDeviceSettings::cleanup ( )

Definition at line 170 of file SWGDeviceSettings.cpp.

References airspy_hf_settings, airspy_settings, blade_rf1_input_settings, blade_rf1_output_settings, blade_rf2_input_settings, blade_rf2_output_settings, device_hw_type, fcd_pro_plus_settings, fcd_pro_settings, file_input_settings, hack_rf_input_settings, hack_rf_output_settings, kiwi_sdr_settings, lime_sdr_input_settings, lime_sdr_output_settings, local_input_settings, local_output_settings, perseus_settings, pluto_sdr_input_settings, pluto_sdr_output_settings, remote_input_settings, remote_output_settings, rtl_sdr_settings, sdr_play_settings, soapy_sdr_input_settings, soapy_sdr_output_settings, test_mi_settings, test_source_settings, xtrx_input_settings, and xtrx_output_settings.

Referenced by WebAPIRequestMapper::resetDeviceSettings(), and ~SWGDeviceSettings().

170  {
171  if(device_hw_type != nullptr) {
172  delete device_hw_type;
173  }
174 
175 
176  if(airspy_settings != nullptr) {
177  delete airspy_settings;
178  }
179  if(airspy_hf_settings != nullptr) {
180  delete airspy_hf_settings;
181  }
182  if(blade_rf1_input_settings != nullptr) {
184  }
185  if(blade_rf2_input_settings != nullptr) {
187  }
188  if(blade_rf1_output_settings != nullptr) {
190  }
191  if(blade_rf2_output_settings != nullptr) {
193  }
194  if(fcd_pro_settings != nullptr) {
195  delete fcd_pro_settings;
196  }
197  if(fcd_pro_plus_settings != nullptr) {
198  delete fcd_pro_plus_settings;
199  }
200  if(file_input_settings != nullptr) {
201  delete file_input_settings;
202  }
203  if(hack_rf_input_settings != nullptr) {
204  delete hack_rf_input_settings;
205  }
206  if(hack_rf_output_settings != nullptr) {
208  }
209  if(kiwi_sdr_settings != nullptr) {
210  delete kiwi_sdr_settings;
211  }
212  if(lime_sdr_input_settings != nullptr) {
214  }
215  if(lime_sdr_output_settings != nullptr) {
217  }
218  if(local_input_settings != nullptr) {
219  delete local_input_settings;
220  }
221  if(local_output_settings != nullptr) {
222  delete local_output_settings;
223  }
224  if(perseus_settings != nullptr) {
225  delete perseus_settings;
226  }
227  if(pluto_sdr_input_settings != nullptr) {
229  }
230  if(pluto_sdr_output_settings != nullptr) {
232  }
233  if(rtl_sdr_settings != nullptr) {
234  delete rtl_sdr_settings;
235  }
236  if(remote_output_settings != nullptr) {
237  delete remote_output_settings;
238  }
239  if(remote_input_settings != nullptr) {
240  delete remote_input_settings;
241  }
242  if(sdr_play_settings != nullptr) {
243  delete sdr_play_settings;
244  }
245  if(soapy_sdr_input_settings != nullptr) {
247  }
248  if(soapy_sdr_output_settings != nullptr) {
250  }
251  if(test_source_settings != nullptr) {
252  delete test_source_settings;
253  }
254  if(test_mi_settings != nullptr) {
255  delete test_mi_settings;
256  }
257  if(xtrx_input_settings != nullptr) {
258  delete xtrx_input_settings;
259  }
260  if(xtrx_output_settings != nullptr) {
261  delete xtrx_output_settings;
262  }
263 }
SWGBladeRF1OutputSettings * blade_rf1_output_settings
SWGBladeRF2InputSettings * blade_rf2_input_settings
SWGXtrxInputSettings * xtrx_input_settings
SWGTestMISettings * test_mi_settings
SWGHackRFOutputSettings * hack_rf_output_settings
SWGPlutoSdrOutputSettings * pluto_sdr_output_settings
SWGSDRPlaySettings * sdr_play_settings
SWGLocalInputSettings * local_input_settings
SWGPlutoSdrInputSettings * pluto_sdr_input_settings
SWGAirspyHFSettings * airspy_hf_settings
SWGXtrxOutputSettings * xtrx_output_settings
SWGRemoteInputSettings * remote_input_settings
SWGRemoteOutputSettings * remote_output_settings
SWGFileInputSettings * file_input_settings
SWGPerseusSettings * perseus_settings
SWGAirspySettings * airspy_settings
SWGSoapySDRInputSettings * soapy_sdr_input_settings
SWGFCDProPlusSettings * fcd_pro_plus_settings
SWGLimeSdrOutputSettings * lime_sdr_output_settings
SWGSoapySDROutputSettings * soapy_sdr_output_settings
SWGBladeRF1InputSettings * blade_rf1_input_settings
SWGRtlSdrSettings * rtl_sdr_settings
SWGBladeRF2OutputSettings * blade_rf2_output_settings
SWGLimeSdrInputSettings * lime_sdr_input_settings
SWGHackRFInputSettings * hack_rf_input_settings
SWGTestSourceSettings * test_source_settings
SWGLocalOutputSettings * local_output_settings
SWGKiwiSDRSettings * kiwi_sdr_settings
SWGFCDProSettings * fcd_pro_settings
+ Here is the caller graph for this function:

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 266 of file SWGDeviceSettings.cpp.

References fromJsonObject().

Referenced by SWGDeviceSettings().

266  {
267  QByteArray array (json.toStdString().c_str());
268  QJsonDocument doc = QJsonDocument::fromJson(array);
269  QJsonObject jsonObject = doc.object();
270  this->fromJsonObject(jsonObject);
271  return this;
272 }
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::SWGDeviceSettings::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 275 of file SWGDeviceSettings.cpp.

References airspy_hf_settings, airspy_settings, blade_rf1_input_settings, blade_rf1_output_settings, blade_rf2_input_settings, blade_rf2_output_settings, device_hw_type, direction, fcd_pro_plus_settings, fcd_pro_settings, file_input_settings, hack_rf_input_settings, hack_rf_output_settings, kiwi_sdr_settings, lime_sdr_input_settings, lime_sdr_output_settings, local_input_settings, local_output_settings, originator_index, perseus_settings, pluto_sdr_input_settings, pluto_sdr_output_settings, remote_input_settings, remote_output_settings, rtl_sdr_settings, sdr_play_settings, SWGSDRangel::setValue(), soapy_sdr_input_settings, soapy_sdr_output_settings, test_mi_settings, test_source_settings, xtrx_input_settings, and xtrx_output_settings.

Referenced by fromJson().

275  {
276  ::SWGSDRangel::setValue(&device_hw_type, pJson["deviceHwType"], "QString", "QString");
277 
278  ::SWGSDRangel::setValue(&direction, pJson["direction"], "qint32", "");
279 
280  ::SWGSDRangel::setValue(&originator_index, pJson["originatorIndex"], "qint32", "");
281 
282  ::SWGSDRangel::setValue(&airspy_settings, pJson["airspySettings"], "SWGAirspySettings", "SWGAirspySettings");
283 
284  ::SWGSDRangel::setValue(&airspy_hf_settings, pJson["airspyHFSettings"], "SWGAirspyHFSettings", "SWGAirspyHFSettings");
285 
286  ::SWGSDRangel::setValue(&blade_rf1_input_settings, pJson["bladeRF1InputSettings"], "SWGBladeRF1InputSettings", "SWGBladeRF1InputSettings");
287 
288  ::SWGSDRangel::setValue(&blade_rf2_input_settings, pJson["bladeRF2InputSettings"], "SWGBladeRF2InputSettings", "SWGBladeRF2InputSettings");
289 
290  ::SWGSDRangel::setValue(&blade_rf1_output_settings, pJson["bladeRF1OutputSettings"], "SWGBladeRF1OutputSettings", "SWGBladeRF1OutputSettings");
291 
292  ::SWGSDRangel::setValue(&blade_rf2_output_settings, pJson["bladeRF2OutputSettings"], "SWGBladeRF2OutputSettings", "SWGBladeRF2OutputSettings");
293 
294  ::SWGSDRangel::setValue(&fcd_pro_settings, pJson["fcdProSettings"], "SWGFCDProSettings", "SWGFCDProSettings");
295 
296  ::SWGSDRangel::setValue(&fcd_pro_plus_settings, pJson["fcdProPlusSettings"], "SWGFCDProPlusSettings", "SWGFCDProPlusSettings");
297 
298  ::SWGSDRangel::setValue(&file_input_settings, pJson["fileInputSettings"], "SWGFileInputSettings", "SWGFileInputSettings");
299 
300  ::SWGSDRangel::setValue(&hack_rf_input_settings, pJson["hackRFInputSettings"], "SWGHackRFInputSettings", "SWGHackRFInputSettings");
301 
302  ::SWGSDRangel::setValue(&hack_rf_output_settings, pJson["hackRFOutputSettings"], "SWGHackRFOutputSettings", "SWGHackRFOutputSettings");
303 
304  ::SWGSDRangel::setValue(&kiwi_sdr_settings, pJson["kiwiSDRSettings"], "SWGKiwiSDRSettings", "SWGKiwiSDRSettings");
305 
306  ::SWGSDRangel::setValue(&lime_sdr_input_settings, pJson["limeSdrInputSettings"], "SWGLimeSdrInputSettings", "SWGLimeSdrInputSettings");
307 
308  ::SWGSDRangel::setValue(&lime_sdr_output_settings, pJson["limeSdrOutputSettings"], "SWGLimeSdrOutputSettings", "SWGLimeSdrOutputSettings");
309 
310  ::SWGSDRangel::setValue(&local_input_settings, pJson["localInputSettings"], "SWGLocalInputSettings", "SWGLocalInputSettings");
311 
312  ::SWGSDRangel::setValue(&local_output_settings, pJson["localOutputSettings"], "SWGLocalOutputSettings", "SWGLocalOutputSettings");
313 
314  ::SWGSDRangel::setValue(&perseus_settings, pJson["perseusSettings"], "SWGPerseusSettings", "SWGPerseusSettings");
315 
316  ::SWGSDRangel::setValue(&pluto_sdr_input_settings, pJson["plutoSdrInputSettings"], "SWGPlutoSdrInputSettings", "SWGPlutoSdrInputSettings");
317 
318  ::SWGSDRangel::setValue(&pluto_sdr_output_settings, pJson["plutoSdrOutputSettings"], "SWGPlutoSdrOutputSettings", "SWGPlutoSdrOutputSettings");
319 
320  ::SWGSDRangel::setValue(&rtl_sdr_settings, pJson["rtlSdrSettings"], "SWGRtlSdrSettings", "SWGRtlSdrSettings");
321 
322  ::SWGSDRangel::setValue(&remote_output_settings, pJson["remoteOutputSettings"], "SWGRemoteOutputSettings", "SWGRemoteOutputSettings");
323 
324  ::SWGSDRangel::setValue(&remote_input_settings, pJson["remoteInputSettings"], "SWGRemoteInputSettings", "SWGRemoteInputSettings");
325 
326  ::SWGSDRangel::setValue(&sdr_play_settings, pJson["sdrPlaySettings"], "SWGSDRPlaySettings", "SWGSDRPlaySettings");
327 
328  ::SWGSDRangel::setValue(&soapy_sdr_input_settings, pJson["soapySDRInputSettings"], "SWGSoapySDRInputSettings", "SWGSoapySDRInputSettings");
329 
330  ::SWGSDRangel::setValue(&soapy_sdr_output_settings, pJson["soapySDROutputSettings"], "SWGSoapySDROutputSettings", "SWGSoapySDROutputSettings");
331 
332  ::SWGSDRangel::setValue(&test_source_settings, pJson["testSourceSettings"], "SWGTestSourceSettings", "SWGTestSourceSettings");
333 
334  ::SWGSDRangel::setValue(&test_mi_settings, pJson["testMISettings"], "SWGTestMISettings", "SWGTestMISettings");
335 
336  ::SWGSDRangel::setValue(&xtrx_input_settings, pJson["xtrxInputSettings"], "SWGXtrxInputSettings", "SWGXtrxInputSettings");
337 
338  ::SWGSDRangel::setValue(&xtrx_output_settings, pJson["xtrxOutputSettings"], "SWGXtrxOutputSettings", "SWGXtrxOutputSettings");
339 
340 }
SWGBladeRF1OutputSettings * blade_rf1_output_settings
SWGBladeRF2InputSettings * blade_rf2_input_settings
SWGXtrxInputSettings * xtrx_input_settings
SWGTestMISettings * test_mi_settings
SWGHackRFOutputSettings * hack_rf_output_settings
SWGPlutoSdrOutputSettings * pluto_sdr_output_settings
SWGSDRPlaySettings * sdr_play_settings
SWGLocalInputSettings * local_input_settings
SWGPlutoSdrInputSettings * pluto_sdr_input_settings
SWGAirspyHFSettings * airspy_hf_settings
SWGXtrxOutputSettings * xtrx_output_settings
SWGRemoteInputSettings * remote_input_settings
SWGRemoteOutputSettings * remote_output_settings
SWGFileInputSettings * file_input_settings
SWGPerseusSettings * perseus_settings
SWGAirspySettings * airspy_settings
SWGSoapySDRInputSettings * soapy_sdr_input_settings
SWGFCDProPlusSettings * fcd_pro_plus_settings
SWGLimeSdrOutputSettings * lime_sdr_output_settings
SWGSoapySDROutputSettings * soapy_sdr_output_settings
SWGBladeRF1InputSettings * blade_rf1_input_settings
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
Definition: SWGHelpers.cpp:25
SWGRtlSdrSettings * rtl_sdr_settings
SWGBladeRF2OutputSettings * blade_rf2_output_settings
SWGLimeSdrInputSettings * lime_sdr_input_settings
SWGHackRFInputSettings * hack_rf_input_settings
SWGTestSourceSettings * test_source_settings
SWGLocalOutputSettings * local_output_settings
SWGKiwiSDRSettings * kiwi_sdr_settings
SWGFCDProSettings * fcd_pro_settings
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAirspyHfSettings()

SWGAirspyHFSettings * SWGSDRangel::SWGDeviceSettings::getAirspyHfSettings ( )

◆ getAirspySettings()

SWGAirspySettings * SWGSDRangel::SWGDeviceSettings::getAirspySettings ( )

◆ getBladeRf1InputSettings()

SWGBladeRF1InputSettings * SWGSDRangel::SWGDeviceSettings::getBladeRf1InputSettings ( )

◆ getBladeRf1OutputSettings()

SWGBladeRF1OutputSettings * SWGSDRangel::SWGDeviceSettings::getBladeRf1OutputSettings ( )

◆ getBladeRf2InputSettings()

SWGBladeRF2InputSettings * SWGSDRangel::SWGDeviceSettings::getBladeRf2InputSettings ( )

◆ getBladeRf2OutputSettings()

SWGBladeRF2OutputSettings * SWGSDRangel::SWGDeviceSettings::getBladeRf2OutputSettings ( )

◆ getDeviceHwType()

QString * SWGSDRangel::SWGDeviceSettings::getDeviceHwType ( )

◆ getDirection()

qint32 SWGSDRangel::SWGDeviceSettings::getDirection ( )

Definition at line 467 of file SWGDeviceSettings.cpp.

References direction.

Referenced by WebAPIAdapterGUI::devicesetDeviceSettingsPutPatch(), WebAPIAdapterSrv::devicesetDeviceSettingsPutPatch(), and WebAPIRequestMapper::validateDeviceSettings().

467  {
468  return direction;
469 }
+ Here is the caller graph for this function:

◆ getFcdProPlusSettings()

SWGFCDProPlusSettings * SWGSDRangel::SWGDeviceSettings::getFcdProPlusSettings ( )

◆ getFcdProSettings()

SWGFCDProSettings * SWGSDRangel::SWGDeviceSettings::getFcdProSettings ( )

◆ getFileInputSettings()

SWGFileInputSettings * SWGSDRangel::SWGDeviceSettings::getFileInputSettings ( )

◆ getHackRfInputSettings()

SWGHackRFInputSettings * SWGSDRangel::SWGDeviceSettings::getHackRfInputSettings ( )

◆ getHackRfOutputSettings()

SWGHackRFOutputSettings * SWGSDRangel::SWGDeviceSettings::getHackRfOutputSettings ( )

◆ getKiwiSdrSettings()

SWGKiwiSDRSettings * SWGSDRangel::SWGDeviceSettings::getKiwiSdrSettings ( )

◆ getLimeSdrInputSettings()

SWGLimeSdrInputSettings * SWGSDRangel::SWGDeviceSettings::getLimeSdrInputSettings ( )

◆ getLimeSdrOutputSettings()

SWGLimeSdrOutputSettings * SWGSDRangel::SWGDeviceSettings::getLimeSdrOutputSettings ( )

◆ getLocalInputSettings()

SWGLocalInputSettings * SWGSDRangel::SWGDeviceSettings::getLocalInputSettings ( )

◆ getLocalOutputSettings()

SWGLocalOutputSettings * SWGSDRangel::SWGDeviceSettings::getLocalOutputSettings ( )

Definition at line 637 of file SWGDeviceSettings.cpp.

References local_output_settings.

Referenced by WebAPIRequestMapper::validateDeviceSettings(), LocalOutput::webapiFormatDeviceSettings(), LocalOutput::webapiSettingsGet(), and LocalOutput::webapiSettingsPutPatch().

637  {
638  return local_output_settings;
639 }
SWGLocalOutputSettings * local_output_settings
+ Here is the caller graph for this function:

◆ getOriginatorIndex()

qint32 SWGSDRangel::SWGDeviceSettings::getOriginatorIndex ( )

Definition at line 477 of file SWGDeviceSettings.cpp.

References originator_index.

477  {
478  return originator_index;
479 }

◆ getPerseusSettings()

SWGPerseusSettings * SWGSDRangel::SWGDeviceSettings::getPerseusSettings ( )

◆ getPlutoSdrInputSettings()

SWGPlutoSdrInputSettings * SWGSDRangel::SWGDeviceSettings::getPlutoSdrInputSettings ( )

◆ getPlutoSdrOutputSettings()

SWGPlutoSdrOutputSettings * SWGSDRangel::SWGDeviceSettings::getPlutoSdrOutputSettings ( )

◆ getRemoteInputSettings()

SWGRemoteInputSettings * SWGSDRangel::SWGDeviceSettings::getRemoteInputSettings ( )

◆ getRemoteOutputSettings()

SWGRemoteOutputSettings * SWGSDRangel::SWGDeviceSettings::getRemoteOutputSettings ( )

◆ getRtlSdrSettings()

SWGRtlSdrSettings * SWGSDRangel::SWGDeviceSettings::getRtlSdrSettings ( )

◆ getSdrPlaySettings()

SWGSDRPlaySettings * SWGSDRangel::SWGDeviceSettings::getSdrPlaySettings ( )

◆ getSoapySdrInputSettings()

SWGSoapySDRInputSettings * SWGSDRangel::SWGDeviceSettings::getSoapySdrInputSettings ( )

◆ getSoapySdrOutputSettings()

SWGSoapySDROutputSettings * SWGSDRangel::SWGDeviceSettings::getSoapySdrOutputSettings ( )

◆ getTestMiSettings()

SWGTestMISettings * SWGSDRangel::SWGDeviceSettings::getTestMiSettings ( )

◆ getTestSourceSettings()

SWGTestSourceSettings * SWGSDRangel::SWGDeviceSettings::getTestSourceSettings ( )

◆ getXtrxInputSettings()

SWGXtrxInputSettings * SWGSDRangel::SWGDeviceSettings::getXtrxInputSettings ( )

◆ getXtrxOutputSettings()

SWGXtrxOutputSettings * SWGSDRangel::SWGDeviceSettings::getXtrxOutputSettings ( )

◆ init()

void SWGSDRangel::SWGDeviceSettings::init ( )

Definition at line 102 of file SWGDeviceSettings.cpp.

References airspy_hf_settings, airspy_settings, blade_rf1_input_settings, blade_rf1_output_settings, blade_rf2_input_settings, blade_rf2_output_settings, device_hw_type, direction, fcd_pro_plus_settings, fcd_pro_settings, file_input_settings, hack_rf_input_settings, hack_rf_output_settings, kiwi_sdr_settings, lime_sdr_input_settings, lime_sdr_output_settings, local_input_settings, local_output_settings, m_airspy_hf_settings_isSet, m_airspy_settings_isSet, m_blade_rf1_input_settings_isSet, m_blade_rf1_output_settings_isSet, m_blade_rf2_input_settings_isSet, m_blade_rf2_output_settings_isSet, m_device_hw_type_isSet, m_direction_isSet, m_fcd_pro_plus_settings_isSet, m_fcd_pro_settings_isSet, m_file_input_settings_isSet, m_hack_rf_input_settings_isSet, m_hack_rf_output_settings_isSet, m_kiwi_sdr_settings_isSet, m_lime_sdr_input_settings_isSet, m_lime_sdr_output_settings_isSet, m_local_input_settings_isSet, m_local_output_settings_isSet, m_originator_index_isSet, m_perseus_settings_isSet, m_pluto_sdr_input_settings_isSet, m_pluto_sdr_output_settings_isSet, m_remote_input_settings_isSet, m_remote_output_settings_isSet, m_rtl_sdr_settings_isSet, m_sdr_play_settings_isSet, m_soapy_sdr_input_settings_isSet, m_soapy_sdr_output_settings_isSet, m_test_mi_settings_isSet, m_test_source_settings_isSet, m_xtrx_input_settings_isSet, m_xtrx_output_settings_isSet, originator_index, perseus_settings, pluto_sdr_input_settings, pluto_sdr_output_settings, remote_input_settings, remote_output_settings, rtl_sdr_settings, sdr_play_settings, soapy_sdr_input_settings, soapy_sdr_output_settings, test_mi_settings, test_source_settings, xtrx_input_settings, and xtrx_output_settings.

Referenced by SWGDeviceSettings().

102  {
103  device_hw_type = new QString("");
104  m_device_hw_type_isSet = false;
105  direction = 0;
106  m_direction_isSet = false;
107  originator_index = 0;
108  m_originator_index_isSet = false;
109  airspy_settings = new SWGAirspySettings();
110  m_airspy_settings_isSet = false;
111  airspy_hf_settings = new SWGAirspyHFSettings();
113  blade_rf1_input_settings = new SWGBladeRF1InputSettings();
115  blade_rf2_input_settings = new SWGBladeRF2InputSettings();
117  blade_rf1_output_settings = new SWGBladeRF1OutputSettings();
119  blade_rf2_output_settings = new SWGBladeRF2OutputSettings();
121  fcd_pro_settings = new SWGFCDProSettings();
122  m_fcd_pro_settings_isSet = false;
123  fcd_pro_plus_settings = new SWGFCDProPlusSettings();
125  file_input_settings = new SWGFileInputSettings();
127  hack_rf_input_settings = new SWGHackRFInputSettings();
129  hack_rf_output_settings = new SWGHackRFOutputSettings();
131  kiwi_sdr_settings = new SWGKiwiSDRSettings();
133  lime_sdr_input_settings = new SWGLimeSdrInputSettings();
135  lime_sdr_output_settings = new SWGLimeSdrOutputSettings();
137  local_input_settings = new SWGLocalInputSettings();
139  local_output_settings = new SWGLocalOutputSettings();
141  perseus_settings = new SWGPerseusSettings();
142  m_perseus_settings_isSet = false;
143  pluto_sdr_input_settings = new SWGPlutoSdrInputSettings();
145  pluto_sdr_output_settings = new SWGPlutoSdrOutputSettings();
147  rtl_sdr_settings = new SWGRtlSdrSettings();
148  m_rtl_sdr_settings_isSet = false;
149  remote_output_settings = new SWGRemoteOutputSettings();
151  remote_input_settings = new SWGRemoteInputSettings();
153  sdr_play_settings = new SWGSDRPlaySettings();
155  soapy_sdr_input_settings = new SWGSoapySDRInputSettings();
157  soapy_sdr_output_settings = new SWGSoapySDROutputSettings();
159  test_source_settings = new SWGTestSourceSettings();
161  test_mi_settings = new SWGTestMISettings();
162  m_test_mi_settings_isSet = false;
163  xtrx_input_settings = new SWGXtrxInputSettings();
165  xtrx_output_settings = new SWGXtrxOutputSettings();
167 }
SWGBladeRF1OutputSettings * blade_rf1_output_settings
SWGBladeRF2InputSettings * blade_rf2_input_settings
SWGXtrxInputSettings * xtrx_input_settings
SWGTestMISettings * test_mi_settings
SWGHackRFOutputSettings * hack_rf_output_settings
SWGPlutoSdrOutputSettings * pluto_sdr_output_settings
SWGSDRPlaySettings * sdr_play_settings
SWGLocalInputSettings * local_input_settings
SWGPlutoSdrInputSettings * pluto_sdr_input_settings
SWGAirspyHFSettings * airspy_hf_settings
SWGXtrxOutputSettings * xtrx_output_settings
SWGRemoteInputSettings * remote_input_settings
SWGRemoteOutputSettings * remote_output_settings
SWGFileInputSettings * file_input_settings
SWGPerseusSettings * perseus_settings
SWGAirspySettings * airspy_settings
SWGSoapySDRInputSettings * soapy_sdr_input_settings
SWGFCDProPlusSettings * fcd_pro_plus_settings
SWGLimeSdrOutputSettings * lime_sdr_output_settings
SWGSoapySDROutputSettings * soapy_sdr_output_settings
SWGBladeRF1InputSettings * blade_rf1_input_settings
SWGRtlSdrSettings * rtl_sdr_settings
SWGBladeRF2OutputSettings * blade_rf2_output_settings
SWGLimeSdrInputSettings * lime_sdr_input_settings
SWGHackRFInputSettings * hack_rf_input_settings
SWGTestSourceSettings * test_source_settings
SWGLocalOutputSettings * local_output_settings
SWGKiwiSDRSettings * kiwi_sdr_settings
SWGFCDProSettings * fcd_pro_settings
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGDeviceSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 778 of file SWGDeviceSettings.cpp.

References airspy_hf_settings, airspy_settings, blade_rf1_input_settings, blade_rf1_output_settings, blade_rf2_input_settings, blade_rf2_output_settings, device_hw_type, fcd_pro_plus_settings, fcd_pro_settings, file_input_settings, hack_rf_input_settings, hack_rf_output_settings, SWGSDRangel::SWGLocalOutputSettings::isSet(), SWGSDRangel::SWGTestMISettings::isSet(), SWGSDRangel::SWGLocalInputSettings::isSet(), SWGSDRangel::SWGFileInputSettings::isSet(), SWGSDRangel::SWGKiwiSDRSettings::isSet(), SWGSDRangel::SWGRemoteInputSettings::isSet(), SWGSDRangel::SWGHackRFOutputSettings::isSet(), SWGSDRangel::SWGBladeRF1OutputSettings::isSet(), SWGSDRangel::SWGBladeRF2OutputSettings::isSet(), SWGSDRangel::SWGRemoteOutputSettings::isSet(), SWGSDRangel::SWGPerseusSettings::isSet(), SWGSDRangel::SWGXtrxOutputSettings::isSet(), SWGSDRangel::SWGPlutoSdrOutputSettings::isSet(), SWGSDRangel::SWGHackRFInputSettings::isSet(), SWGSDRangel::SWGBladeRF1InputSettings::isSet(), SWGSDRangel::SWGBladeRF2InputSettings::isSet(), SWGSDRangel::SWGAirspyHFSettings::isSet(), SWGSDRangel::SWGFCDProPlusSettings::isSet(), SWGSDRangel::SWGAirspySettings::isSet(), SWGSDRangel::SWGRtlSdrSettings::isSet(), SWGSDRangel::SWGSDRPlaySettings::isSet(), SWGSDRangel::SWGTestSourceSettings::isSet(), SWGSDRangel::SWGLimeSdrOutputSettings::isSet(), SWGSDRangel::SWGSoapySDROutputSettings::isSet(), SWGSDRangel::SWGXtrxInputSettings::isSet(), SWGSDRangel::SWGPlutoSdrInputSettings::isSet(), SWGSDRangel::SWGSoapySDRInputSettings::isSet(), SWGSDRangel::SWGLimeSdrInputSettings::isSet(), SWGSDRangel::SWGFCDProSettings::isSet(), kiwi_sdr_settings, lime_sdr_input_settings, lime_sdr_output_settings, local_input_settings, local_output_settings, m_direction_isSet, m_originator_index_isSet, perseus_settings, pluto_sdr_input_settings, pluto_sdr_output_settings, remote_input_settings, remote_output_settings, rtl_sdr_settings, sdr_play_settings, soapy_sdr_input_settings, soapy_sdr_output_settings, test_mi_settings, test_source_settings, xtrx_input_settings, and xtrx_output_settings.

778  {
779  bool isObjectUpdated = false;
780  do{
781  if(device_hw_type != nullptr && *device_hw_type != QString("")){ isObjectUpdated = true; break;}
782  if(m_direction_isSet){ isObjectUpdated = true; break;}
783  if(m_originator_index_isSet){ isObjectUpdated = true; break;}
784  if(airspy_settings != nullptr && airspy_settings->isSet()){ isObjectUpdated = true; break;}
785  if(airspy_hf_settings != nullptr && airspy_hf_settings->isSet()){ isObjectUpdated = true; break;}
786  if(blade_rf1_input_settings != nullptr && blade_rf1_input_settings->isSet()){ isObjectUpdated = true; break;}
787  if(blade_rf2_input_settings != nullptr && blade_rf2_input_settings->isSet()){ isObjectUpdated = true; break;}
788  if(blade_rf1_output_settings != nullptr && blade_rf1_output_settings->isSet()){ isObjectUpdated = true; break;}
789  if(blade_rf2_output_settings != nullptr && blade_rf2_output_settings->isSet()){ isObjectUpdated = true; break;}
790  if(fcd_pro_settings != nullptr && fcd_pro_settings->isSet()){ isObjectUpdated = true; break;}
791  if(fcd_pro_plus_settings != nullptr && fcd_pro_plus_settings->isSet()){ isObjectUpdated = true; break;}
792  if(file_input_settings != nullptr && file_input_settings->isSet()){ isObjectUpdated = true; break;}
793  if(hack_rf_input_settings != nullptr && hack_rf_input_settings->isSet()){ isObjectUpdated = true; break;}
794  if(hack_rf_output_settings != nullptr && hack_rf_output_settings->isSet()){ isObjectUpdated = true; break;}
795  if(kiwi_sdr_settings != nullptr && kiwi_sdr_settings->isSet()){ isObjectUpdated = true; break;}
796  if(lime_sdr_input_settings != nullptr && lime_sdr_input_settings->isSet()){ isObjectUpdated = true; break;}
797  if(lime_sdr_output_settings != nullptr && lime_sdr_output_settings->isSet()){ isObjectUpdated = true; break;}
798  if(local_input_settings != nullptr && local_input_settings->isSet()){ isObjectUpdated = true; break;}
799  if(local_output_settings != nullptr && local_output_settings->isSet()){ isObjectUpdated = true; break;}
800  if(perseus_settings != nullptr && perseus_settings->isSet()){ isObjectUpdated = true; break;}
801  if(pluto_sdr_input_settings != nullptr && pluto_sdr_input_settings->isSet()){ isObjectUpdated = true; break;}
802  if(pluto_sdr_output_settings != nullptr && pluto_sdr_output_settings->isSet()){ isObjectUpdated = true; break;}
803  if(rtl_sdr_settings != nullptr && rtl_sdr_settings->isSet()){ isObjectUpdated = true; break;}
804  if(remote_output_settings != nullptr && remote_output_settings->isSet()){ isObjectUpdated = true; break;}
805  if(remote_input_settings != nullptr && remote_input_settings->isSet()){ isObjectUpdated = true; break;}
806  if(sdr_play_settings != nullptr && sdr_play_settings->isSet()){ isObjectUpdated = true; break;}
807  if(soapy_sdr_input_settings != nullptr && soapy_sdr_input_settings->isSet()){ isObjectUpdated = true; break;}
808  if(soapy_sdr_output_settings != nullptr && soapy_sdr_output_settings->isSet()){ isObjectUpdated = true; break;}
809  if(test_source_settings != nullptr && test_source_settings->isSet()){ isObjectUpdated = true; break;}
810  if(test_mi_settings != nullptr && test_mi_settings->isSet()){ isObjectUpdated = true; break;}
811  if(xtrx_input_settings != nullptr && xtrx_input_settings->isSet()){ isObjectUpdated = true; break;}
812  if(xtrx_output_settings != nullptr && xtrx_output_settings->isSet()){ isObjectUpdated = true; break;}
813  }while(false);
814  return isObjectUpdated;
815 }
SWGBladeRF1OutputSettings * blade_rf1_output_settings
SWGBladeRF2InputSettings * blade_rf2_input_settings
SWGXtrxInputSettings * xtrx_input_settings
SWGTestMISettings * test_mi_settings
SWGHackRFOutputSettings * hack_rf_output_settings
SWGPlutoSdrOutputSettings * pluto_sdr_output_settings
SWGSDRPlaySettings * sdr_play_settings
SWGLocalInputSettings * local_input_settings
SWGPlutoSdrInputSettings * pluto_sdr_input_settings
SWGAirspyHFSettings * airspy_hf_settings
SWGXtrxOutputSettings * xtrx_output_settings
SWGRemoteInputSettings * remote_input_settings
SWGRemoteOutputSettings * remote_output_settings
SWGFileInputSettings * file_input_settings
SWGPerseusSettings * perseus_settings
SWGAirspySettings * airspy_settings
SWGSoapySDRInputSettings * soapy_sdr_input_settings
SWGFCDProPlusSettings * fcd_pro_plus_settings
SWGLimeSdrOutputSettings * lime_sdr_output_settings
SWGSoapySDROutputSettings * soapy_sdr_output_settings
SWGBladeRF1InputSettings * blade_rf1_input_settings
SWGRtlSdrSettings * rtl_sdr_settings
SWGBladeRF2OutputSettings * blade_rf2_output_settings
SWGLimeSdrInputSettings * lime_sdr_input_settings
SWGHackRFInputSettings * hack_rf_input_settings
SWGTestSourceSettings * test_source_settings
SWGLocalOutputSettings * local_output_settings
SWGKiwiSDRSettings * kiwi_sdr_settings
SWGFCDProSettings * fcd_pro_settings
+ Here is the call graph for this function:

◆ setAirspyHfSettings()

void SWGSDRangel::SWGDeviceSettings::setAirspyHfSettings ( SWGAirspyHFSettings airspy_hf_settings)

◆ setAirspySettings()

void SWGSDRangel::SWGDeviceSettings::setAirspySettings ( SWGAirspySettings airspy_settings)

◆ setBladeRf1InputSettings()

void SWGSDRangel::SWGDeviceSettings::setBladeRf1InputSettings ( SWGBladeRF1InputSettings blade_rf1_input_settings)

◆ setBladeRf1OutputSettings()

void SWGSDRangel::SWGDeviceSettings::setBladeRf1OutputSettings ( SWGBladeRF1OutputSettings blade_rf1_output_settings)

◆ setBladeRf2InputSettings()

void SWGSDRangel::SWGDeviceSettings::setBladeRf2InputSettings ( SWGBladeRF2InputSettings blade_rf2_input_settings)

◆ setBladeRf2OutputSettings()

void SWGSDRangel::SWGDeviceSettings::setBladeRf2OutputSettings ( SWGBladeRF2OutputSettings blade_rf2_output_settings)

◆ setDeviceHwType()

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

Definition at line 461 of file SWGDeviceSettings.cpp.

References device_hw_type, and m_device_hw_type_isSet.

Referenced by WebAPIAdapterGUI::devicesetDeviceSettingsGet(), WebAPIAdapterSrv::devicesetDeviceSettingsGet(), WebAPIRequestMapper::resetDeviceSettings(), WebAPIRequestMapper::validateDeviceSettings(), TestSourceInput::webapiReverseSendSettings(), PlutoSDROutput::webapiReverseSendSettings(), Bladerf1Output::webapiReverseSendSettings(), HackRFOutput::webapiReverseSendSettings(), Bladerf1Input::webapiReverseSendSettings(), PerseusInput::webapiReverseSendSettings(), LocalOutput::webapiReverseSendSettings(), AirspyInput::webapiReverseSendSettings(), AirspyHFInput::webapiReverseSendSettings(), TestMI::webapiReverseSendSettings(), RTLSDRInput::webapiReverseSendSettings(), PlutoSDRInput::webapiReverseSendSettings(), FCDProPlusInput::webapiReverseSendSettings(), HackRFInput::webapiReverseSendSettings(), BladeRF2Output::webapiReverseSendSettings(), KiwiSDRInput::webapiReverseSendSettings(), LocalInput::webapiReverseSendSettings(), FCDProInput::webapiReverseSendSettings(), RemoteOutput::webapiReverseSendSettings(), SDRPlayInput::webapiReverseSendSettings(), BladeRF2Input::webapiReverseSendSettings(), SoapySDROutput::webapiReverseSendSettings(), SoapySDRInput::webapiReverseSendSettings(), XTRXOutput::webapiReverseSendSettings(), LimeSDROutput::webapiReverseSendSettings(), XTRXInput::webapiReverseSendSettings(), LimeSDRInput::webapiReverseSendSettings(), RemoteInput::webapiReverseSendSettings(), FileInput::webapiReverseSendSettings(), Bladerf1Output::webapiReverseSendStartStop(), TestSourceInput::webapiReverseSendStartStop(), PlutoSDROutput::webapiReverseSendStartStop(), HackRFOutput::webapiReverseSendStartStop(), Bladerf1Input::webapiReverseSendStartStop(), PerseusInput::webapiReverseSendStartStop(), LocalOutput::webapiReverseSendStartStop(), AirspyInput::webapiReverseSendStartStop(), TestMI::webapiReverseSendStartStop(), AirspyHFInput::webapiReverseSendStartStop(), RTLSDRInput::webapiReverseSendStartStop(), PlutoSDRInput::webapiReverseSendStartStop(), FCDProPlusInput::webapiReverseSendStartStop(), HackRFInput::webapiReverseSendStartStop(), BladeRF2Output::webapiReverseSendStartStop(), KiwiSDRInput::webapiReverseSendStartStop(), LocalInput::webapiReverseSendStartStop(), FCDProInput::webapiReverseSendStartStop(), RemoteOutput::webapiReverseSendStartStop(), SDRPlayInput::webapiReverseSendStartStop(), BladeRF2Input::webapiReverseSendStartStop(), SoapySDROutput::webapiReverseSendStartStop(), SoapySDRInput::webapiReverseSendStartStop(), XTRXOutput::webapiReverseSendStartStop(), LimeSDROutput::webapiReverseSendStartStop(), XTRXInput::webapiReverseSendStartStop(), LimeSDRInput::webapiReverseSendStartStop(), RemoteInput::webapiReverseSendStartStop(), and FileInput::webapiReverseSendStartStop().

+ Here is the caller graph for this function:

◆ setDirection()

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

Definition at line 471 of file SWGDeviceSettings.cpp.

References direction, and m_direction_isSet.

Referenced by WebAPIAdapterGUI::devicesetDeviceSettingsGet(), WebAPIAdapterSrv::devicesetDeviceSettingsGet(), WebAPIRequestMapper::validateDeviceSettings(), TestSourceInput::webapiReverseSendSettings(), Bladerf1Output::webapiReverseSendSettings(), PlutoSDROutput::webapiReverseSendSettings(), HackRFOutput::webapiReverseSendSettings(), Bladerf1Input::webapiReverseSendSettings(), PerseusInput::webapiReverseSendSettings(), LocalOutput::webapiReverseSendSettings(), AirspyInput::webapiReverseSendSettings(), AirspyHFInput::webapiReverseSendSettings(), TestMI::webapiReverseSendSettings(), RTLSDRInput::webapiReverseSendSettings(), PlutoSDRInput::webapiReverseSendSettings(), FCDProPlusInput::webapiReverseSendSettings(), HackRFInput::webapiReverseSendSettings(), BladeRF2Output::webapiReverseSendSettings(), KiwiSDRInput::webapiReverseSendSettings(), LocalInput::webapiReverseSendSettings(), FCDProInput::webapiReverseSendSettings(), RemoteOutput::webapiReverseSendSettings(), SDRPlayInput::webapiReverseSendSettings(), BladeRF2Input::webapiReverseSendSettings(), SoapySDROutput::webapiReverseSendSettings(), SoapySDRInput::webapiReverseSendSettings(), XTRXOutput::webapiReverseSendSettings(), LimeSDROutput::webapiReverseSendSettings(), XTRXInput::webapiReverseSendSettings(), LimeSDRInput::webapiReverseSendSettings(), RemoteInput::webapiReverseSendSettings(), FileInput::webapiReverseSendSettings(), Bladerf1Output::webapiReverseSendStartStop(), TestSourceInput::webapiReverseSendStartStop(), PlutoSDROutput::webapiReverseSendStartStop(), HackRFOutput::webapiReverseSendStartStop(), Bladerf1Input::webapiReverseSendStartStop(), PerseusInput::webapiReverseSendStartStop(), LocalOutput::webapiReverseSendStartStop(), AirspyInput::webapiReverseSendStartStop(), TestMI::webapiReverseSendStartStop(), AirspyHFInput::webapiReverseSendStartStop(), RTLSDRInput::webapiReverseSendStartStop(), PlutoSDRInput::webapiReverseSendStartStop(), FCDProPlusInput::webapiReverseSendStartStop(), HackRFInput::webapiReverseSendStartStop(), BladeRF2Output::webapiReverseSendStartStop(), KiwiSDRInput::webapiReverseSendStartStop(), LocalInput::webapiReverseSendStartStop(), FCDProInput::webapiReverseSendStartStop(), RemoteOutput::webapiReverseSendStartStop(), SDRPlayInput::webapiReverseSendStartStop(), BladeRF2Input::webapiReverseSendStartStop(), SoapySDROutput::webapiReverseSendStartStop(), SoapySDRInput::webapiReverseSendStartStop(), XTRXOutput::webapiReverseSendStartStop(), LimeSDROutput::webapiReverseSendStartStop(), XTRXInput::webapiReverseSendStartStop(), LimeSDRInput::webapiReverseSendStartStop(), RemoteInput::webapiReverseSendStartStop(), and FileInput::webapiReverseSendStartStop().

471  {
472  this->direction = direction;
473  this->m_direction_isSet = true;
474 }
+ Here is the caller graph for this function:

◆ setFcdProPlusSettings()

void SWGSDRangel::SWGDeviceSettings::setFcdProPlusSettings ( SWGFCDProPlusSettings fcd_pro_plus_settings)

◆ setFcdProSettings()

void SWGSDRangel::SWGDeviceSettings::setFcdProSettings ( SWGFCDProSettings fcd_pro_settings)

◆ setFileInputSettings()

void SWGSDRangel::SWGDeviceSettings::setFileInputSettings ( SWGFileInputSettings file_input_settings)

◆ setHackRfInputSettings()

void SWGSDRangel::SWGDeviceSettings::setHackRfInputSettings ( SWGHackRFInputSettings hack_rf_input_settings)

◆ setHackRfOutputSettings()

void SWGSDRangel::SWGDeviceSettings::setHackRfOutputSettings ( SWGHackRFOutputSettings hack_rf_output_settings)

◆ setKiwiSdrSettings()

void SWGSDRangel::SWGDeviceSettings::setKiwiSdrSettings ( SWGKiwiSDRSettings kiwi_sdr_settings)

Definition at line 601 of file SWGDeviceSettings.cpp.

References kiwi_sdr_settings, and m_kiwi_sdr_settings_isSet.

Referenced by WebAPIRequestMapper::validateDeviceSettings(), KiwiSDRInput::webapiReverseSendSettings(), and KiwiSDRInput::webapiSettingsGet().

601  {
603  this->m_kiwi_sdr_settings_isSet = true;
604 }
SWGKiwiSDRSettings * kiwi_sdr_settings
+ Here is the caller graph for this function:

◆ setLimeSdrInputSettings()

void SWGSDRangel::SWGDeviceSettings::setLimeSdrInputSettings ( SWGLimeSdrInputSettings lime_sdr_input_settings)

◆ setLimeSdrOutputSettings()

void SWGSDRangel::SWGDeviceSettings::setLimeSdrOutputSettings ( SWGLimeSdrOutputSettings lime_sdr_output_settings)

◆ setLocalInputSettings()

void SWGSDRangel::SWGDeviceSettings::setLocalInputSettings ( SWGLocalInputSettings local_input_settings)

◆ setLocalOutputSettings()

void SWGSDRangel::SWGDeviceSettings::setLocalOutputSettings ( SWGLocalOutputSettings local_output_settings)

◆ setOriginatorIndex()

void SWGSDRangel::SWGDeviceSettings::setOriginatorIndex ( qint32  originator_index)

Definition at line 481 of file SWGDeviceSettings.cpp.

References m_originator_index_isSet, and originator_index.

Referenced by Bladerf1Output::webapiReverseSendSettings(), PlutoSDROutput::webapiReverseSendSettings(), TestSourceInput::webapiReverseSendSettings(), HackRFOutput::webapiReverseSendSettings(), Bladerf1Input::webapiReverseSendSettings(), PerseusInput::webapiReverseSendSettings(), LocalOutput::webapiReverseSendSettings(), AirspyInput::webapiReverseSendSettings(), AirspyHFInput::webapiReverseSendSettings(), TestMI::webapiReverseSendSettings(), RTLSDRInput::webapiReverseSendSettings(), PlutoSDRInput::webapiReverseSendSettings(), FCDProPlusInput::webapiReverseSendSettings(), HackRFInput::webapiReverseSendSettings(), BladeRF2Output::webapiReverseSendSettings(), KiwiSDRInput::webapiReverseSendSettings(), LocalInput::webapiReverseSendSettings(), FCDProInput::webapiReverseSendSettings(), RemoteOutput::webapiReverseSendSettings(), SDRPlayInput::webapiReverseSendSettings(), BladeRF2Input::webapiReverseSendSettings(), SoapySDROutput::webapiReverseSendSettings(), SoapySDRInput::webapiReverseSendSettings(), XTRXOutput::webapiReverseSendSettings(), LimeSDROutput::webapiReverseSendSettings(), XTRXInput::webapiReverseSendSettings(), LimeSDRInput::webapiReverseSendSettings(), RemoteInput::webapiReverseSendSettings(), FileInput::webapiReverseSendSettings(), Bladerf1Output::webapiReverseSendStartStop(), TestSourceInput::webapiReverseSendStartStop(), PlutoSDROutput::webapiReverseSendStartStop(), HackRFOutput::webapiReverseSendStartStop(), Bladerf1Input::webapiReverseSendStartStop(), PerseusInput::webapiReverseSendStartStop(), LocalOutput::webapiReverseSendStartStop(), AirspyInput::webapiReverseSendStartStop(), TestMI::webapiReverseSendStartStop(), AirspyHFInput::webapiReverseSendStartStop(), RTLSDRInput::webapiReverseSendStartStop(), PlutoSDRInput::webapiReverseSendStartStop(), FCDProPlusInput::webapiReverseSendStartStop(), HackRFInput::webapiReverseSendStartStop(), BladeRF2Output::webapiReverseSendStartStop(), KiwiSDRInput::webapiReverseSendStartStop(), LocalInput::webapiReverseSendStartStop(), FCDProInput::webapiReverseSendStartStop(), RemoteOutput::webapiReverseSendStartStop(), SDRPlayInput::webapiReverseSendStartStop(), BladeRF2Input::webapiReverseSendStartStop(), SoapySDROutput::webapiReverseSendStartStop(), SoapySDRInput::webapiReverseSendStartStop(), XTRXOutput::webapiReverseSendStartStop(), LimeSDROutput::webapiReverseSendStartStop(), XTRXInput::webapiReverseSendStartStop(), LimeSDRInput::webapiReverseSendStartStop(), RemoteInput::webapiReverseSendStartStop(), and FileInput::webapiReverseSendStartStop().

+ Here is the caller graph for this function:

◆ setPerseusSettings()

void SWGSDRangel::SWGDeviceSettings::setPerseusSettings ( SWGPerseusSettings perseus_settings)

◆ setPlutoSdrInputSettings()

void SWGSDRangel::SWGDeviceSettings::setPlutoSdrInputSettings ( SWGPlutoSdrInputSettings pluto_sdr_input_settings)

◆ setPlutoSdrOutputSettings()

void SWGSDRangel::SWGDeviceSettings::setPlutoSdrOutputSettings ( SWGPlutoSdrOutputSettings pluto_sdr_output_settings)

◆ setRemoteInputSettings()

void SWGSDRangel::SWGDeviceSettings::setRemoteInputSettings ( SWGRemoteInputSettings remote_input_settings)

◆ setRemoteOutputSettings()

void SWGSDRangel::SWGDeviceSettings::setRemoteOutputSettings ( SWGRemoteOutputSettings remote_output_settings)

◆ setRtlSdrSettings()

void SWGSDRangel::SWGDeviceSettings::setRtlSdrSettings ( SWGRtlSdrSettings rtl_sdr_settings)

◆ setSdrPlaySettings()

void SWGSDRangel::SWGDeviceSettings::setSdrPlaySettings ( SWGSDRPlaySettings sdr_play_settings)

◆ setSoapySdrInputSettings()

void SWGSDRangel::SWGDeviceSettings::setSoapySdrInputSettings ( SWGSoapySDRInputSettings soapy_sdr_input_settings)

◆ setSoapySdrOutputSettings()

void SWGSDRangel::SWGDeviceSettings::setSoapySdrOutputSettings ( SWGSoapySDROutputSettings soapy_sdr_output_settings)

◆ setTestMiSettings()

void SWGSDRangel::SWGDeviceSettings::setTestMiSettings ( SWGTestMISettings test_mi_settings)

Definition at line 751 of file SWGDeviceSettings.cpp.

References m_test_mi_settings_isSet, and test_mi_settings.

Referenced by WebAPIRequestMapper::validateDeviceSettings(), TestMI::webapiReverseSendSettings(), and TestMI::webapiSettingsGet().

751  {
753  this->m_test_mi_settings_isSet = true;
754 }
SWGTestMISettings * test_mi_settings
+ Here is the caller graph for this function:

◆ setTestSourceSettings()

void SWGSDRangel::SWGDeviceSettings::setTestSourceSettings ( SWGTestSourceSettings test_source_settings)

◆ setXtrxInputSettings()

void SWGSDRangel::SWGDeviceSettings::setXtrxInputSettings ( SWGXtrxInputSettings xtrx_input_settings)

Definition at line 761 of file SWGDeviceSettings.cpp.

References m_xtrx_input_settings_isSet, and xtrx_input_settings.

Referenced by WebAPIRequestMapper::validateDeviceSettings(), XTRXInput::webapiReverseSendSettings(), and XTRXInput::webapiSettingsGet().

761  {
763  this->m_xtrx_input_settings_isSet = true;
764 }
SWGXtrxInputSettings * xtrx_input_settings
+ Here is the caller graph for this function:

◆ setXtrxOutputSettings()

void SWGSDRangel::SWGDeviceSettings::setXtrxOutputSettings ( SWGXtrxOutputSettings xtrx_output_settings)

Member Data Documentation

◆ airspy_hf_settings

SWGAirspyHFSettings* SWGSDRangel::SWGDeviceSettings::airspy_hf_settings
private

◆ airspy_settings

SWGAirspySettings* SWGSDRangel::SWGDeviceSettings::airspy_settings
private

◆ blade_rf1_input_settings

SWGBladeRF1InputSettings* SWGSDRangel::SWGDeviceSettings::blade_rf1_input_settings
private

◆ blade_rf1_output_settings

SWGBladeRF1OutputSettings* SWGSDRangel::SWGDeviceSettings::blade_rf1_output_settings
private

◆ blade_rf2_input_settings

SWGBladeRF2InputSettings* SWGSDRangel::SWGDeviceSettings::blade_rf2_input_settings
private

◆ blade_rf2_output_settings

SWGBladeRF2OutputSettings* SWGSDRangel::SWGDeviceSettings::blade_rf2_output_settings
private

◆ device_hw_type

QString* SWGSDRangel::SWGDeviceSettings::device_hw_type
private

◆ direction

qint32 SWGSDRangel::SWGDeviceSettings::direction
private

◆ fcd_pro_plus_settings

SWGFCDProPlusSettings* SWGSDRangel::SWGDeviceSettings::fcd_pro_plus_settings
private

◆ fcd_pro_settings

SWGFCDProSettings* SWGSDRangel::SWGDeviceSettings::fcd_pro_settings
private

◆ file_input_settings

SWGFileInputSettings* SWGSDRangel::SWGDeviceSettings::file_input_settings
private

◆ hack_rf_input_settings

SWGHackRFInputSettings* SWGSDRangel::SWGDeviceSettings::hack_rf_input_settings
private

◆ hack_rf_output_settings

SWGHackRFOutputSettings* SWGSDRangel::SWGDeviceSettings::hack_rf_output_settings
private

◆ kiwi_sdr_settings

SWGKiwiSDRSettings* SWGSDRangel::SWGDeviceSettings::kiwi_sdr_settings
private

◆ lime_sdr_input_settings

SWGLimeSdrInputSettings* SWGSDRangel::SWGDeviceSettings::lime_sdr_input_settings
private

◆ lime_sdr_output_settings

SWGLimeSdrOutputSettings* SWGSDRangel::SWGDeviceSettings::lime_sdr_output_settings
private

◆ local_input_settings

SWGLocalInputSettings* SWGSDRangel::SWGDeviceSettings::local_input_settings
private

◆ local_output_settings

SWGLocalOutputSettings* SWGSDRangel::SWGDeviceSettings::local_output_settings
private

◆ m_airspy_hf_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_airspy_hf_settings_isSet
private

Definition at line 187 of file SWGDeviceSettings.h.

Referenced by init(), setAirspyHfSettings(), and SWGDeviceSettings().

◆ m_airspy_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_airspy_settings_isSet
private

Definition at line 184 of file SWGDeviceSettings.h.

Referenced by init(), setAirspySettings(), and SWGDeviceSettings().

◆ m_blade_rf1_input_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_blade_rf1_input_settings_isSet
private

Definition at line 190 of file SWGDeviceSettings.h.

Referenced by init(), setBladeRf1InputSettings(), and SWGDeviceSettings().

◆ m_blade_rf1_output_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_blade_rf1_output_settings_isSet
private

Definition at line 196 of file SWGDeviceSettings.h.

Referenced by init(), setBladeRf1OutputSettings(), and SWGDeviceSettings().

◆ m_blade_rf2_input_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_blade_rf2_input_settings_isSet
private

Definition at line 193 of file SWGDeviceSettings.h.

Referenced by init(), setBladeRf2InputSettings(), and SWGDeviceSettings().

◆ m_blade_rf2_output_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_blade_rf2_output_settings_isSet
private

Definition at line 199 of file SWGDeviceSettings.h.

Referenced by init(), setBladeRf2OutputSettings(), and SWGDeviceSettings().

◆ m_device_hw_type_isSet

bool SWGSDRangel::SWGDeviceSettings::m_device_hw_type_isSet
private

Definition at line 175 of file SWGDeviceSettings.h.

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

◆ m_direction_isSet

bool SWGSDRangel::SWGDeviceSettings::m_direction_isSet
private

Definition at line 178 of file SWGDeviceSettings.h.

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

◆ m_fcd_pro_plus_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_fcd_pro_plus_settings_isSet
private

Definition at line 205 of file SWGDeviceSettings.h.

Referenced by init(), setFcdProPlusSettings(), and SWGDeviceSettings().

◆ m_fcd_pro_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_fcd_pro_settings_isSet
private

Definition at line 202 of file SWGDeviceSettings.h.

Referenced by init(), setFcdProSettings(), and SWGDeviceSettings().

◆ m_file_input_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_file_input_settings_isSet
private

Definition at line 208 of file SWGDeviceSettings.h.

Referenced by init(), setFileInputSettings(), and SWGDeviceSettings().

◆ m_hack_rf_input_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_hack_rf_input_settings_isSet
private

Definition at line 211 of file SWGDeviceSettings.h.

Referenced by init(), setHackRfInputSettings(), and SWGDeviceSettings().

◆ m_hack_rf_output_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_hack_rf_output_settings_isSet
private

Definition at line 214 of file SWGDeviceSettings.h.

Referenced by init(), setHackRfOutputSettings(), and SWGDeviceSettings().

◆ m_kiwi_sdr_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_kiwi_sdr_settings_isSet
private

Definition at line 217 of file SWGDeviceSettings.h.

Referenced by init(), setKiwiSdrSettings(), and SWGDeviceSettings().

◆ m_lime_sdr_input_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_lime_sdr_input_settings_isSet
private

Definition at line 220 of file SWGDeviceSettings.h.

Referenced by init(), setLimeSdrInputSettings(), and SWGDeviceSettings().

◆ m_lime_sdr_output_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_lime_sdr_output_settings_isSet
private

Definition at line 223 of file SWGDeviceSettings.h.

Referenced by init(), setLimeSdrOutputSettings(), and SWGDeviceSettings().

◆ m_local_input_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_local_input_settings_isSet
private

Definition at line 226 of file SWGDeviceSettings.h.

Referenced by init(), setLocalInputSettings(), and SWGDeviceSettings().

◆ m_local_output_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_local_output_settings_isSet
private

Definition at line 229 of file SWGDeviceSettings.h.

Referenced by init(), setLocalOutputSettings(), and SWGDeviceSettings().

◆ m_originator_index_isSet

bool SWGSDRangel::SWGDeviceSettings::m_originator_index_isSet
private

Definition at line 181 of file SWGDeviceSettings.h.

Referenced by asJsonObject(), init(), isSet(), setOriginatorIndex(), and SWGDeviceSettings().

◆ m_perseus_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_perseus_settings_isSet
private

Definition at line 232 of file SWGDeviceSettings.h.

Referenced by init(), setPerseusSettings(), and SWGDeviceSettings().

◆ m_pluto_sdr_input_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_pluto_sdr_input_settings_isSet
private

Definition at line 235 of file SWGDeviceSettings.h.

Referenced by init(), setPlutoSdrInputSettings(), and SWGDeviceSettings().

◆ m_pluto_sdr_output_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_pluto_sdr_output_settings_isSet
private

Definition at line 238 of file SWGDeviceSettings.h.

Referenced by init(), setPlutoSdrOutputSettings(), and SWGDeviceSettings().

◆ m_remote_input_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_remote_input_settings_isSet
private

Definition at line 247 of file SWGDeviceSettings.h.

Referenced by init(), setRemoteInputSettings(), and SWGDeviceSettings().

◆ m_remote_output_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_remote_output_settings_isSet
private

Definition at line 244 of file SWGDeviceSettings.h.

Referenced by init(), setRemoteOutputSettings(), and SWGDeviceSettings().

◆ m_rtl_sdr_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_rtl_sdr_settings_isSet
private

Definition at line 241 of file SWGDeviceSettings.h.

Referenced by init(), setRtlSdrSettings(), and SWGDeviceSettings().

◆ m_sdr_play_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_sdr_play_settings_isSet
private

Definition at line 250 of file SWGDeviceSettings.h.

Referenced by init(), setSdrPlaySettings(), and SWGDeviceSettings().

◆ m_soapy_sdr_input_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_soapy_sdr_input_settings_isSet
private

Definition at line 253 of file SWGDeviceSettings.h.

Referenced by init(), setSoapySdrInputSettings(), and SWGDeviceSettings().

◆ m_soapy_sdr_output_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_soapy_sdr_output_settings_isSet
private

Definition at line 256 of file SWGDeviceSettings.h.

Referenced by init(), setSoapySdrOutputSettings(), and SWGDeviceSettings().

◆ m_test_mi_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_test_mi_settings_isSet
private

Definition at line 262 of file SWGDeviceSettings.h.

Referenced by init(), setTestMiSettings(), and SWGDeviceSettings().

◆ m_test_source_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_test_source_settings_isSet
private

Definition at line 259 of file SWGDeviceSettings.h.

Referenced by init(), setTestSourceSettings(), and SWGDeviceSettings().

◆ m_xtrx_input_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_xtrx_input_settings_isSet
private

Definition at line 265 of file SWGDeviceSettings.h.

Referenced by init(), setXtrxInputSettings(), and SWGDeviceSettings().

◆ m_xtrx_output_settings_isSet

bool SWGSDRangel::SWGDeviceSettings::m_xtrx_output_settings_isSet
private

Definition at line 268 of file SWGDeviceSettings.h.

Referenced by init(), setXtrxOutputSettings(), and SWGDeviceSettings().

◆ originator_index

qint32 SWGSDRangel::SWGDeviceSettings::originator_index
private

◆ perseus_settings

SWGPerseusSettings* SWGSDRangel::SWGDeviceSettings::perseus_settings
private

◆ pluto_sdr_input_settings

SWGPlutoSdrInputSettings* SWGSDRangel::SWGDeviceSettings::pluto_sdr_input_settings
private

◆ pluto_sdr_output_settings

SWGPlutoSdrOutputSettings* SWGSDRangel::SWGDeviceSettings::pluto_sdr_output_settings
private

◆ remote_input_settings

SWGRemoteInputSettings* SWGSDRangel::SWGDeviceSettings::remote_input_settings
private

◆ remote_output_settings

SWGRemoteOutputSettings* SWGSDRangel::SWGDeviceSettings::remote_output_settings
private

◆ rtl_sdr_settings

SWGRtlSdrSettings* SWGSDRangel::SWGDeviceSettings::rtl_sdr_settings
private

◆ sdr_play_settings

SWGSDRPlaySettings* SWGSDRangel::SWGDeviceSettings::sdr_play_settings
private

◆ soapy_sdr_input_settings

SWGSoapySDRInputSettings* SWGSDRangel::SWGDeviceSettings::soapy_sdr_input_settings
private

◆ soapy_sdr_output_settings

SWGSoapySDROutputSettings* SWGSDRangel::SWGDeviceSettings::soapy_sdr_output_settings
private

◆ test_mi_settings

SWGTestMISettings* SWGSDRangel::SWGDeviceSettings::test_mi_settings
private

◆ test_source_settings

SWGTestSourceSettings* SWGSDRangel::SWGDeviceSettings::test_source_settings
private

◆ xtrx_input_settings

SWGXtrxInputSettings* SWGSDRangel::SWGDeviceSettings::xtrx_input_settings
private

◆ xtrx_output_settings

SWGXtrxOutputSettings* SWGSDRangel::SWGDeviceSettings::xtrx_output_settings
private

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