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

#include <SWGPlutoSdrOutputSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGPlutoSdrOutputSettings:
+ Collaboration diagram for SWGSDRangel::SWGPlutoSdrOutputSettings:

Public Member Functions

 SWGPlutoSdrOutputSettings ()
 
 SWGPlutoSdrOutputSettings (QString *json)
 
virtual ~SWGPlutoSdrOutputSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGPlutoSdrOutputSettingsfromJson (QString &jsonString) override
 
qint64 getCenterFrequency ()
 
void setCenterFrequency (qint64 center_frequency)
 
qint32 getDevSampleRate ()
 
void setDevSampleRate (qint32 dev_sample_rate)
 
qint32 getLOppmTenths ()
 
void setLOppmTenths (qint32 l_oppm_tenths)
 
qint32 getLpfFirEnable ()
 
void setLpfFirEnable (qint32 lpf_fir_enable)
 
qint32 getLpfFirbw ()
 
void setLpfFirbw (qint32 lpf_firbw)
 
qint32 getLpfFiRlog2Interp ()
 
void setLpfFiRlog2Interp (qint32 lpf_fi_rlog2_interp)
 
qint32 getLpfFirGain ()
 
void setLpfFirGain (qint32 lpf_fir_gain)
 
qint32 getLog2Interp ()
 
void setLog2Interp (qint32 log2_interp)
 
qint32 getLpfBw ()
 
void setLpfBw (qint32 lpf_bw)
 
qint32 getAtt ()
 
void setAtt (qint32 att)
 
qint32 getAntennaPath ()
 
void setAntennaPath (qint32 antenna_path)
 
qint32 getTransverterMode ()
 
void setTransverterMode (qint32 transverter_mode)
 
qint64 getTransverterDeltaFrequency ()
 
void setTransverterDeltaFrequency (qint64 transverter_delta_frequency)
 
qint32 getUseReverseApi ()
 
void setUseReverseApi (qint32 use_reverse_api)
 
QString * getReverseApiAddress ()
 
void setReverseApiAddress (QString *reverse_api_address)
 
qint32 getReverseApiPort ()
 
void setReverseApiPort (qint32 reverse_api_port)
 
qint32 getReverseApiDeviceIndex ()
 
void setReverseApiDeviceIndex (qint32 reverse_api_device_index)
 
virtual bool isSet () override
 
- Public Member Functions inherited from SWGSDRangel::SWGObject
virtual ~SWGObject ()
 

Private Attributes

qint64 center_frequency
 
bool m_center_frequency_isSet
 
qint32 dev_sample_rate
 
bool m_dev_sample_rate_isSet
 
qint32 l_oppm_tenths
 
bool m_l_oppm_tenths_isSet
 
qint32 lpf_fir_enable
 
bool m_lpf_fir_enable_isSet
 
qint32 lpf_firbw
 
bool m_lpf_firbw_isSet
 
qint32 lpf_fi_rlog2_interp
 
bool m_lpf_fi_rlog2_interp_isSet
 
qint32 lpf_fir_gain
 
bool m_lpf_fir_gain_isSet
 
qint32 log2_interp
 
bool m_log2_interp_isSet
 
qint32 lpf_bw
 
bool m_lpf_bw_isSet
 
qint32 att
 
bool m_att_isSet
 
qint32 antenna_path
 
bool m_antenna_path_isSet
 
qint32 transverter_mode
 
bool m_transverter_mode_isSet
 
qint64 transverter_delta_frequency
 
bool m_transverter_delta_frequency_isSet
 
qint32 use_reverse_api
 
bool m_use_reverse_api_isSet
 
QString * reverse_api_address
 
bool m_reverse_api_address_isSet
 
qint32 reverse_api_port
 
bool m_reverse_api_port_isSet
 
qint32 reverse_api_device_index
 
bool m_reverse_api_device_index_isSet
 

Detailed Description

Definition at line 32 of file SWGPlutoSdrOutputSettings.h.

Constructor & Destructor Documentation

◆ SWGPlutoSdrOutputSettings() [1/2]

SWGSDRangel::SWGPlutoSdrOutputSettings::SWGPlutoSdrOutputSettings ( )

Definition at line 30 of file SWGPlutoSdrOutputSettings.cpp.

References antenna_path, att, center_frequency, dev_sample_rate, l_oppm_tenths, log2_interp, lpf_bw, lpf_fi_rlog2_interp, lpf_fir_enable, lpf_fir_gain, lpf_firbw, m_antenna_path_isSet, m_att_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_l_oppm_tenths_isSet, m_log2_interp_isSet, m_lpf_bw_isSet, m_lpf_fi_rlog2_interp_isSet, m_lpf_fir_enable_isSet, m_lpf_fir_gain_isSet, m_lpf_firbw_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, transverter_delta_frequency, transverter_mode, and use_reverse_api.

30  {
31  center_frequency = 0L;
33  dev_sample_rate = 0;
35  l_oppm_tenths = 0;
36  m_l_oppm_tenths_isSet = false;
37  lpf_fir_enable = 0;
38  m_lpf_fir_enable_isSet = false;
39  lpf_firbw = 0;
40  m_lpf_firbw_isSet = false;
43  lpf_fir_gain = 0;
44  m_lpf_fir_gain_isSet = false;
45  log2_interp = 0;
46  m_log2_interp_isSet = false;
47  lpf_bw = 0;
48  m_lpf_bw_isSet = false;
49  att = 0;
50  m_att_isSet = false;
51  antenna_path = 0;
52  m_antenna_path_isSet = false;
53  transverter_mode = 0;
57  use_reverse_api = 0;
59  reverse_api_address = nullptr;
61  reverse_api_port = 0;
65 }

◆ SWGPlutoSdrOutputSettings() [2/2]

SWGSDRangel::SWGPlutoSdrOutputSettings::SWGPlutoSdrOutputSettings ( QString *  json)

Definition at line 25 of file SWGPlutoSdrOutputSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGPlutoSdrOutputSettings()

SWGSDRangel::SWGPlutoSdrOutputSettings::~SWGPlutoSdrOutputSettings ( )
virtual

Definition at line 67 of file SWGPlutoSdrOutputSettings.cpp.

References cleanup().

+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGPlutoSdrOutputSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 180 of file SWGPlutoSdrOutputSettings.cpp.

References asJsonObject().

181 {
182  QJsonObject* obj = this->asJsonObject();
183 
184  QJsonDocument doc(*obj);
185  QByteArray bytes = doc.toJson();
186  delete obj;
187  return QString(bytes);
188 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 191 of file SWGPlutoSdrOutputSettings.cpp.

References antenna_path, att, center_frequency, dev_sample_rate, l_oppm_tenths, log2_interp, lpf_bw, lpf_fi_rlog2_interp, lpf_fir_enable, lpf_fir_gain, lpf_firbw, m_antenna_path_isSet, m_att_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_l_oppm_tenths_isSet, m_log2_interp_isSet, m_lpf_bw_isSet, m_lpf_fi_rlog2_interp_isSet, m_lpf_fir_enable_isSet, m_lpf_fir_gain_isSet, m_lpf_firbw_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::toJsonValue(), transverter_delta_frequency, transverter_mode, and use_reverse_api.

Referenced by asJson().

191  {
192  QJsonObject* obj = new QJsonObject();
194  obj->insert("centerFrequency", QJsonValue(center_frequency));
195  }
197  obj->insert("devSampleRate", QJsonValue(dev_sample_rate));
198  }
200  obj->insert("LOppmTenths", QJsonValue(l_oppm_tenths));
201  }
203  obj->insert("lpfFIREnable", QJsonValue(lpf_fir_enable));
204  }
205  if(m_lpf_firbw_isSet){
206  obj->insert("lpfFIRBW", QJsonValue(lpf_firbw));
207  }
209  obj->insert("lpfFIRlog2Interp", QJsonValue(lpf_fi_rlog2_interp));
210  }
212  obj->insert("lpfFIRGain", QJsonValue(lpf_fir_gain));
213  }
215  obj->insert("log2Interp", QJsonValue(log2_interp));
216  }
217  if(m_lpf_bw_isSet){
218  obj->insert("lpfBW", QJsonValue(lpf_bw));
219  }
220  if(m_att_isSet){
221  obj->insert("att", QJsonValue(att));
222  }
224  obj->insert("antennaPath", QJsonValue(antenna_path));
225  }
227  obj->insert("transverterMode", QJsonValue(transverter_mode));
228  }
230  obj->insert("transverterDeltaFrequency", QJsonValue(transverter_delta_frequency));
231  }
233  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
234  }
235  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
236  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
237  }
239  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
240  }
242  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
243  }
244 
245  return obj;
246 }
void toJsonValue(QString name, void *value, QJsonObject *output, QString type)
Definition: SWGHelpers.cpp:383
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cleanup()

void SWGSDRangel::SWGPlutoSdrOutputSettings::cleanup ( )

Definition at line 110 of file SWGPlutoSdrOutputSettings.cpp.

References reverse_api_address.

Referenced by ~SWGPlutoSdrOutputSettings().

110  {
111 
112 
113 
114 
115 
116 
117 
118 
119 
120 
121 
122 
123 
124 
125  if(reverse_api_address != nullptr) {
126  delete reverse_api_address;
127  }
128 
129 
130 }
+ Here is the caller graph for this function:

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 133 of file SWGPlutoSdrOutputSettings.cpp.

References fromJsonObject().

Referenced by SWGPlutoSdrOutputSettings().

133  {
134  QByteArray array (json.toStdString().c_str());
135  QJsonDocument doc = QJsonDocument::fromJson(array);
136  QJsonObject jsonObject = doc.object();
137  this->fromJsonObject(jsonObject);
138  return this;
139 }
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::SWGPlutoSdrOutputSettings::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 142 of file SWGPlutoSdrOutputSettings.cpp.

References antenna_path, att, center_frequency, dev_sample_rate, l_oppm_tenths, log2_interp, lpf_bw, lpf_fi_rlog2_interp, lpf_fir_enable, lpf_fir_gain, lpf_firbw, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::setValue(), transverter_delta_frequency, transverter_mode, and use_reverse_api.

Referenced by fromJson(), and WebAPIRequestMapper::validateDeviceSettings().

142  {
143  ::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
144 
145  ::SWGSDRangel::setValue(&dev_sample_rate, pJson["devSampleRate"], "qint32", "");
146 
147  ::SWGSDRangel::setValue(&l_oppm_tenths, pJson["LOppmTenths"], "qint32", "");
148 
149  ::SWGSDRangel::setValue(&lpf_fir_enable, pJson["lpfFIREnable"], "qint32", "");
150 
151  ::SWGSDRangel::setValue(&lpf_firbw, pJson["lpfFIRBW"], "qint32", "");
152 
153  ::SWGSDRangel::setValue(&lpf_fi_rlog2_interp, pJson["lpfFIRlog2Interp"], "qint32", "");
154 
155  ::SWGSDRangel::setValue(&lpf_fir_gain, pJson["lpfFIRGain"], "qint32", "");
156 
157  ::SWGSDRangel::setValue(&log2_interp, pJson["log2Interp"], "qint32", "");
158 
159  ::SWGSDRangel::setValue(&lpf_bw, pJson["lpfBW"], "qint32", "");
160 
161  ::SWGSDRangel::setValue(&att, pJson["att"], "qint32", "");
162 
163  ::SWGSDRangel::setValue(&antenna_path, pJson["antennaPath"], "qint32", "");
164 
165  ::SWGSDRangel::setValue(&transverter_mode, pJson["transverterMode"], "qint32", "");
166 
167  ::SWGSDRangel::setValue(&transverter_delta_frequency, pJson["transverterDeltaFrequency"], "qint64", "");
168 
169  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
170 
171  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
172 
173  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
174 
175  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
176 
177 }
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
Definition: SWGHelpers.cpp:25
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAntennaPath()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getAntennaPath ( )

Definition at line 349 of file SWGPlutoSdrOutputSettings.cpp.

References antenna_path.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getAtt()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getAtt ( )

Definition at line 339 of file SWGPlutoSdrOutputSettings.cpp.

References att.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

339  {
340  return att;
341 }
+ Here is the caller graph for this function:

◆ getCenterFrequency()

qint64 SWGSDRangel::SWGPlutoSdrOutputSettings::getCenterFrequency ( )

Definition at line 249 of file SWGPlutoSdrOutputSettings.cpp.

References center_frequency.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getDevSampleRate()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getDevSampleRate ( )

Definition at line 259 of file SWGPlutoSdrOutputSettings.cpp.

References dev_sample_rate.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getLog2Interp()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getLog2Interp ( )

Definition at line 319 of file SWGPlutoSdrOutputSettings.cpp.

References log2_interp.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getLOppmTenths()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getLOppmTenths ( )

Definition at line 269 of file SWGPlutoSdrOutputSettings.cpp.

References l_oppm_tenths.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getLpfBw()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getLpfBw ( )

Definition at line 329 of file SWGPlutoSdrOutputSettings.cpp.

References lpf_bw.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

329  {
330  return lpf_bw;
331 }
+ Here is the caller graph for this function:

◆ getLpfFirbw()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getLpfFirbw ( )

Definition at line 289 of file SWGPlutoSdrOutputSettings.cpp.

References lpf_firbw.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getLpfFirEnable()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getLpfFirEnable ( )

Definition at line 279 of file SWGPlutoSdrOutputSettings.cpp.

References lpf_fir_enable.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getLpfFirGain()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getLpfFirGain ( )

Definition at line 309 of file SWGPlutoSdrOutputSettings.cpp.

References lpf_fir_gain.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getLpfFiRlog2Interp()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getLpfFiRlog2Interp ( )

Definition at line 299 of file SWGPlutoSdrOutputSettings.cpp.

References lpf_fi_rlog2_interp.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGPlutoSdrOutputSettings::getReverseApiAddress ( )

Definition at line 389 of file SWGPlutoSdrOutputSettings.cpp.

References reverse_api_address.

Referenced by PlutoSDROutput::webapiFormatDeviceSettings(), and PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getReverseApiDeviceIndex ( )

Definition at line 409 of file SWGPlutoSdrOutputSettings.cpp.

References reverse_api_device_index.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getReverseApiPort ( )

Definition at line 399 of file SWGPlutoSdrOutputSettings.cpp.

References reverse_api_port.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getTransverterDeltaFrequency()

qint64 SWGSDRangel::SWGPlutoSdrOutputSettings::getTransverterDeltaFrequency ( )

Definition at line 369 of file SWGPlutoSdrOutputSettings.cpp.

References transverter_delta_frequency.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getTransverterMode()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getTransverterMode ( )

Definition at line 359 of file SWGPlutoSdrOutputSettings.cpp.

References transverter_mode.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::getUseReverseApi ( )

Definition at line 379 of file SWGPlutoSdrOutputSettings.cpp.

References use_reverse_api.

Referenced by PlutoSDROutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ init()

void SWGSDRangel::SWGPlutoSdrOutputSettings::init ( )

Definition at line 72 of file SWGPlutoSdrOutputSettings.cpp.

References antenna_path, att, center_frequency, dev_sample_rate, l_oppm_tenths, log2_interp, lpf_bw, lpf_fi_rlog2_interp, lpf_fir_enable, lpf_fir_gain, lpf_firbw, m_antenna_path_isSet, m_att_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_l_oppm_tenths_isSet, m_log2_interp_isSet, m_lpf_bw_isSet, m_lpf_fi_rlog2_interp_isSet, m_lpf_fir_enable_isSet, m_lpf_fir_gain_isSet, m_lpf_firbw_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, transverter_delta_frequency, transverter_mode, and use_reverse_api.

Referenced by SWGPlutoSdrOutputSettings(), and PlutoSDROutput::webapiSettingsGet().

72  {
73  center_frequency = 0L;
75  dev_sample_rate = 0;
77  l_oppm_tenths = 0;
78  m_l_oppm_tenths_isSet = false;
79  lpf_fir_enable = 0;
80  m_lpf_fir_enable_isSet = false;
81  lpf_firbw = 0;
82  m_lpf_firbw_isSet = false;
85  lpf_fir_gain = 0;
86  m_lpf_fir_gain_isSet = false;
87  log2_interp = 0;
88  m_log2_interp_isSet = false;
89  lpf_bw = 0;
90  m_lpf_bw_isSet = false;
91  att = 0;
92  m_att_isSet = false;
93  antenna_path = 0;
94  m_antenna_path_isSet = false;
95  transverter_mode = 0;
99  use_reverse_api = 0;
100  m_use_reverse_api_isSet = false;
101  reverse_api_address = new QString("");
103  reverse_api_port = 0;
104  m_reverse_api_port_isSet = false;
107 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGPlutoSdrOutputSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 420 of file SWGPlutoSdrOutputSettings.cpp.

References m_antenna_path_isSet, m_att_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_l_oppm_tenths_isSet, m_log2_interp_isSet, m_lpf_bw_isSet, m_lpf_fi_rlog2_interp_isSet, m_lpf_fir_enable_isSet, m_lpf_fir_gain_isSet, m_lpf_firbw_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, and reverse_api_address.

Referenced by SWGSDRangel::SWGDeviceSettings::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::isSet(), and SWGSDRangel::SWGDeviceSettings::isSet().

420  {
421  bool isObjectUpdated = false;
422  do{
423  if(m_center_frequency_isSet){ isObjectUpdated = true; break;}
424  if(m_dev_sample_rate_isSet){ isObjectUpdated = true; break;}
425  if(m_l_oppm_tenths_isSet){ isObjectUpdated = true; break;}
426  if(m_lpf_fir_enable_isSet){ isObjectUpdated = true; break;}
427  if(m_lpf_firbw_isSet){ isObjectUpdated = true; break;}
428  if(m_lpf_fi_rlog2_interp_isSet){ isObjectUpdated = true; break;}
429  if(m_lpf_fir_gain_isSet){ isObjectUpdated = true; break;}
430  if(m_log2_interp_isSet){ isObjectUpdated = true; break;}
431  if(m_lpf_bw_isSet){ isObjectUpdated = true; break;}
432  if(m_att_isSet){ isObjectUpdated = true; break;}
433  if(m_antenna_path_isSet){ isObjectUpdated = true; break;}
434  if(m_transverter_mode_isSet){ isObjectUpdated = true; break;}
435  if(m_transverter_delta_frequency_isSet){ isObjectUpdated = true; break;}
436  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
437  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
438  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
439  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
440  }while(false);
441  return isObjectUpdated;
442 }
+ Here is the caller graph for this function:

◆ setAntennaPath()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setAntennaPath ( qint32  antenna_path)

◆ setAtt()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setAtt ( qint32  att)

Definition at line 343 of file SWGPlutoSdrOutputSettings.cpp.

References att, and m_att_isSet.

Referenced by PlutoSDROutput::webapiFormatDeviceSettings(), and PlutoSDROutput::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setCenterFrequency()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setCenterFrequency ( qint64  center_frequency)

◆ setDevSampleRate()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setDevSampleRate ( qint32  dev_sample_rate)

◆ setLog2Interp()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setLog2Interp ( qint32  log2_interp)

◆ setLOppmTenths()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setLOppmTenths ( qint32  l_oppm_tenths)

◆ setLpfBw()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfBw ( qint32  lpf_bw)

Definition at line 333 of file SWGPlutoSdrOutputSettings.cpp.

References lpf_bw, and m_lpf_bw_isSet.

Referenced by PlutoSDROutput::webapiFormatDeviceSettings(), and PlutoSDROutput::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setLpfFirbw()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFirbw ( qint32  lpf_firbw)

Definition at line 293 of file SWGPlutoSdrOutputSettings.cpp.

References lpf_firbw, and m_lpf_firbw_isSet.

Referenced by PlutoSDROutput::webapiFormatDeviceSettings(), and PlutoSDROutput::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setLpfFirEnable()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFirEnable ( qint32  lpf_fir_enable)

◆ setLpfFirGain()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFirGain ( qint32  lpf_fir_gain)

◆ setLpfFiRlog2Interp()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFiRlog2Interp ( qint32  lpf_fi_rlog2_interp)

◆ setReverseApiAddress()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setReverseApiAddress ( QString *  reverse_api_address)

◆ setReverseApiDeviceIndex()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setReverseApiDeviceIndex ( qint32  reverse_api_device_index)

◆ setReverseApiPort()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setReverseApiPort ( qint32  reverse_api_port)

Definition at line 403 of file SWGPlutoSdrOutputSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by PlutoSDROutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setTransverterDeltaFrequency()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setTransverterDeltaFrequency ( qint64  transverter_delta_frequency)

◆ setTransverterMode()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setTransverterMode ( qint32  transverter_mode)

◆ setUseReverseApi()

void SWGSDRangel::SWGPlutoSdrOutputSettings::setUseReverseApi ( qint32  use_reverse_api)

Definition at line 383 of file SWGPlutoSdrOutputSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by PlutoSDROutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

Member Data Documentation

◆ antenna_path

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::antenna_path
private

◆ att

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::att
private

◆ center_frequency

qint64 SWGSDRangel::SWGPlutoSdrOutputSettings::center_frequency
private

◆ dev_sample_rate

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::dev_sample_rate
private

◆ l_oppm_tenths

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::l_oppm_tenths
private

◆ log2_interp

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::log2_interp
private

◆ lpf_bw

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::lpf_bw
private

◆ lpf_fi_rlog2_interp

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::lpf_fi_rlog2_interp
private

◆ lpf_fir_enable

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::lpf_fir_enable
private

◆ lpf_fir_gain

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::lpf_fir_gain
private

◆ lpf_firbw

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::lpf_firbw
private

◆ m_antenna_path_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_antenna_path_isSet
private

◆ m_att_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_att_isSet
private

◆ m_center_frequency_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_center_frequency_isSet
private

◆ m_dev_sample_rate_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_dev_sample_rate_isSet
private

◆ m_l_oppm_tenths_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_l_oppm_tenths_isSet
private

◆ m_log2_interp_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_log2_interp_isSet
private

◆ m_lpf_bw_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_lpf_bw_isSet
private

◆ m_lpf_fi_rlog2_interp_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_lpf_fi_rlog2_interp_isSet
private

◆ m_lpf_fir_enable_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_lpf_fir_enable_isSet
private

◆ m_lpf_fir_gain_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_lpf_fir_gain_isSet
private

◆ m_lpf_firbw_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_lpf_firbw_isSet
private

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_reverse_api_address_isSet
private

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_reverse_api_port_isSet
private

◆ m_transverter_delta_frequency_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_transverter_delta_frequency_isSet
private

◆ m_transverter_mode_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_transverter_mode_isSet
private

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGPlutoSdrOutputSettings::m_use_reverse_api_isSet
private

◆ reverse_api_address

QString* SWGSDRangel::SWGPlutoSdrOutputSettings::reverse_api_address
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::reverse_api_port
private

◆ transverter_delta_frequency

qint64 SWGSDRangel::SWGPlutoSdrOutputSettings::transverter_delta_frequency
private

◆ transverter_mode

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::transverter_mode
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGPlutoSdrOutputSettings::use_reverse_api
private

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