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

#include <SWGHackRFInputSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGHackRFInputSettings:
+ Collaboration diagram for SWGSDRangel::SWGHackRFInputSettings:

Public Member Functions

 SWGHackRFInputSettings ()
 
 SWGHackRFInputSettings (QString *json)
 
virtual ~SWGHackRFInputSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGHackRFInputSettingsfromJson (QString &jsonString) override
 
qint64 getCenterFrequency ()
 
void setCenterFrequency (qint64 center_frequency)
 
qint32 getLOppmTenths ()
 
void setLOppmTenths (qint32 l_oppm_tenths)
 
qint32 getBandwidth ()
 
void setBandwidth (qint32 bandwidth)
 
qint32 getLnaGain ()
 
void setLnaGain (qint32 lna_gain)
 
qint32 getVgaGain ()
 
void setVgaGain (qint32 vga_gain)
 
qint32 getLog2Decim ()
 
void setLog2Decim (qint32 log2_decim)
 
qint32 getFcPos ()
 
void setFcPos (qint32 fc_pos)
 
qint32 getDevSampleRate ()
 
void setDevSampleRate (qint32 dev_sample_rate)
 
qint32 getBiasT ()
 
void setBiasT (qint32 bias_t)
 
qint32 getLnaExt ()
 
void setLnaExt (qint32 lna_ext)
 
qint32 getDcBlock ()
 
void setDcBlock (qint32 dc_block)
 
qint32 getIqCorrection ()
 
void setIqCorrection (qint32 iq_correction)
 
QString * getFileRecordName ()
 
void setFileRecordName (QString *file_record_name)
 
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 l_oppm_tenths
 
bool m_l_oppm_tenths_isSet
 
qint32 bandwidth
 
bool m_bandwidth_isSet
 
qint32 lna_gain
 
bool m_lna_gain_isSet
 
qint32 vga_gain
 
bool m_vga_gain_isSet
 
qint32 log2_decim
 
bool m_log2_decim_isSet
 
qint32 fc_pos
 
bool m_fc_pos_isSet
 
qint32 dev_sample_rate
 
bool m_dev_sample_rate_isSet
 
qint32 bias_t
 
bool m_bias_t_isSet
 
qint32 lna_ext
 
bool m_lna_ext_isSet
 
qint32 dc_block
 
bool m_dc_block_isSet
 
qint32 iq_correction
 
bool m_iq_correction_isSet
 
QString * file_record_name
 
bool m_file_record_name_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 SWGHackRFInputSettings.h.

Constructor & Destructor Documentation

◆ SWGHackRFInputSettings() [1/2]

SWGSDRangel::SWGHackRFInputSettings::SWGHackRFInputSettings ( )

Definition at line 30 of file SWGHackRFInputSettings.cpp.

References bandwidth, bias_t, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, iq_correction, l_oppm_tenths, lna_ext, lna_gain, log2_decim, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_file_record_name_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, use_reverse_api, and vga_gain.

30  {
31  center_frequency = 0L;
33  l_oppm_tenths = 0;
34  m_l_oppm_tenths_isSet = false;
35  bandwidth = 0;
36  m_bandwidth_isSet = false;
37  lna_gain = 0;
38  m_lna_gain_isSet = false;
39  vga_gain = 0;
40  m_vga_gain_isSet = false;
41  log2_decim = 0;
42  m_log2_decim_isSet = false;
43  fc_pos = 0;
44  m_fc_pos_isSet = false;
45  dev_sample_rate = 0;
47  bias_t = 0;
48  m_bias_t_isSet = false;
49  lna_ext = 0;
50  m_lna_ext_isSet = false;
51  dc_block = 0;
52  m_dc_block_isSet = false;
53  iq_correction = 0;
54  m_iq_correction_isSet = false;
55  file_record_name = nullptr;
57  use_reverse_api = 0;
59  reverse_api_address = nullptr;
61  reverse_api_port = 0;
65 }

◆ SWGHackRFInputSettings() [2/2]

SWGSDRangel::SWGHackRFInputSettings::SWGHackRFInputSettings ( QString *  json)

Definition at line 25 of file SWGHackRFInputSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGHackRFInputSettings()

SWGSDRangel::SWGHackRFInputSettings::~SWGHackRFInputSettings ( )
virtual

Definition at line 67 of file SWGHackRFInputSettings.cpp.

References cleanup().

67  {
68  this->cleanup();
69 }
+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGHackRFInputSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 182 of file SWGHackRFInputSettings.cpp.

References asJsonObject().

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

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 193 of file SWGHackRFInputSettings.cpp.

References bandwidth, bias_t, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, iq_correction, l_oppm_tenths, lna_ext, lna_gain, log2_decim, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::toJsonValue(), use_reverse_api, and vga_gain.

Referenced by asJson().

193  {
194  QJsonObject* obj = new QJsonObject();
196  obj->insert("centerFrequency", QJsonValue(center_frequency));
197  }
199  obj->insert("LOppmTenths", QJsonValue(l_oppm_tenths));
200  }
201  if(m_bandwidth_isSet){
202  obj->insert("bandwidth", QJsonValue(bandwidth));
203  }
204  if(m_lna_gain_isSet){
205  obj->insert("lnaGain", QJsonValue(lna_gain));
206  }
207  if(m_vga_gain_isSet){
208  obj->insert("vgaGain", QJsonValue(vga_gain));
209  }
210  if(m_log2_decim_isSet){
211  obj->insert("log2Decim", QJsonValue(log2_decim));
212  }
213  if(m_fc_pos_isSet){
214  obj->insert("fcPos", QJsonValue(fc_pos));
215  }
217  obj->insert("devSampleRate", QJsonValue(dev_sample_rate));
218  }
219  if(m_bias_t_isSet){
220  obj->insert("biasT", QJsonValue(bias_t));
221  }
222  if(m_lna_ext_isSet){
223  obj->insert("lnaExt", QJsonValue(lna_ext));
224  }
225  if(m_dc_block_isSet){
226  obj->insert("dcBlock", QJsonValue(dc_block));
227  }
229  obj->insert("iqCorrection", QJsonValue(iq_correction));
230  }
231  if(file_record_name != nullptr && *file_record_name != QString("")){
232  toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString"));
233  }
235  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
236  }
237  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
238  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
239  }
241  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
242  }
244  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
245  }
246 
247  return obj;
248 }
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::SWGHackRFInputSettings::cleanup ( )

Definition at line 110 of file SWGHackRFInputSettings.cpp.

References file_record_name, and reverse_api_address.

Referenced by ~SWGHackRFInputSettings().

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

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 135 of file SWGHackRFInputSettings.cpp.

References fromJsonObject().

Referenced by SWGHackRFInputSettings().

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 144 of file SWGHackRFInputSettings.cpp.

References bandwidth, bias_t, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, iq_correction, l_oppm_tenths, lna_ext, lna_gain, log2_decim, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::setValue(), use_reverse_api, and vga_gain.

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

144  {
145  ::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
146 
147  ::SWGSDRangel::setValue(&l_oppm_tenths, pJson["LOppmTenths"], "qint32", "");
148 
149  ::SWGSDRangel::setValue(&bandwidth, pJson["bandwidth"], "qint32", "");
150 
151  ::SWGSDRangel::setValue(&lna_gain, pJson["lnaGain"], "qint32", "");
152 
153  ::SWGSDRangel::setValue(&vga_gain, pJson["vgaGain"], "qint32", "");
154 
155  ::SWGSDRangel::setValue(&log2_decim, pJson["log2Decim"], "qint32", "");
156 
157  ::SWGSDRangel::setValue(&fc_pos, pJson["fcPos"], "qint32", "");
158 
159  ::SWGSDRangel::setValue(&dev_sample_rate, pJson["devSampleRate"], "qint32", "");
160 
161  ::SWGSDRangel::setValue(&bias_t, pJson["biasT"], "qint32", "");
162 
163  ::SWGSDRangel::setValue(&lna_ext, pJson["lnaExt"], "qint32", "");
164 
165  ::SWGSDRangel::setValue(&dc_block, pJson["dcBlock"], "qint32", "");
166 
167  ::SWGSDRangel::setValue(&iq_correction, pJson["iqCorrection"], "qint32", "");
168 
169  ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString");
170 
171  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
172 
173  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
174 
175  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
176 
177  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
178 
179 }
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:

◆ getBandwidth()

qint32 SWGSDRangel::SWGHackRFInputSettings::getBandwidth ( )

Definition at line 271 of file SWGHackRFInputSettings.cpp.

References bandwidth.

Referenced by HackRFInput::webapiSettingsPutPatch().

271  {
272  return bandwidth;
273 }
+ Here is the caller graph for this function:

◆ getBiasT()

qint32 SWGSDRangel::SWGHackRFInputSettings::getBiasT ( )

Definition at line 331 of file SWGHackRFInputSettings.cpp.

References bias_t.

Referenced by HackRFInput::webapiSettingsPutPatch().

331  {
332  return bias_t;
333 }
+ Here is the caller graph for this function:

◆ getCenterFrequency()

qint64 SWGSDRangel::SWGHackRFInputSettings::getCenterFrequency ( )

Definition at line 251 of file SWGHackRFInputSettings.cpp.

References center_frequency.

Referenced by HackRFInput::webapiSettingsPutPatch().

251  {
252  return center_frequency;
253 }
+ Here is the caller graph for this function:

◆ getDcBlock()

qint32 SWGSDRangel::SWGHackRFInputSettings::getDcBlock ( )

Definition at line 351 of file SWGHackRFInputSettings.cpp.

References dc_block.

Referenced by HackRFInput::webapiSettingsPutPatch().

351  {
352  return dc_block;
353 }
+ Here is the caller graph for this function:

◆ getDevSampleRate()

qint32 SWGSDRangel::SWGHackRFInputSettings::getDevSampleRate ( )

Definition at line 321 of file SWGHackRFInputSettings.cpp.

References dev_sample_rate.

Referenced by HackRFInput::webapiSettingsPutPatch().

321  {
322  return dev_sample_rate;
323 }
+ Here is the caller graph for this function:

◆ getFcPos()

qint32 SWGSDRangel::SWGHackRFInputSettings::getFcPos ( )

Definition at line 311 of file SWGHackRFInputSettings.cpp.

References fc_pos.

Referenced by HackRFInput::webapiSettingsPutPatch().

311  {
312  return fc_pos;
313 }
+ Here is the caller graph for this function:

◆ getFileRecordName()

QString * SWGSDRangel::SWGHackRFInputSettings::getFileRecordName ( )

Definition at line 371 of file SWGHackRFInputSettings.cpp.

References file_record_name.

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

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

◆ getIqCorrection()

qint32 SWGSDRangel::SWGHackRFInputSettings::getIqCorrection ( )

Definition at line 361 of file SWGHackRFInputSettings.cpp.

References iq_correction.

Referenced by HackRFInput::webapiSettingsPutPatch().

361  {
362  return iq_correction;
363 }
+ Here is the caller graph for this function:

◆ getLnaExt()

qint32 SWGSDRangel::SWGHackRFInputSettings::getLnaExt ( )

Definition at line 341 of file SWGHackRFInputSettings.cpp.

References lna_ext.

Referenced by HackRFInput::webapiSettingsPutPatch().

341  {
342  return lna_ext;
343 }
+ Here is the caller graph for this function:

◆ getLnaGain()

qint32 SWGSDRangel::SWGHackRFInputSettings::getLnaGain ( )

Definition at line 281 of file SWGHackRFInputSettings.cpp.

References lna_gain.

Referenced by HackRFInput::webapiSettingsPutPatch().

281  {
282  return lna_gain;
283 }
+ Here is the caller graph for this function:

◆ getLog2Decim()

qint32 SWGSDRangel::SWGHackRFInputSettings::getLog2Decim ( )

Definition at line 301 of file SWGHackRFInputSettings.cpp.

References log2_decim.

Referenced by HackRFInput::webapiSettingsPutPatch().

301  {
302  return log2_decim;
303 }
+ Here is the caller graph for this function:

◆ getLOppmTenths()

qint32 SWGSDRangel::SWGHackRFInputSettings::getLOppmTenths ( )

Definition at line 261 of file SWGHackRFInputSettings.cpp.

References l_oppm_tenths.

Referenced by HackRFInput::webapiSettingsPutPatch().

261  {
262  return l_oppm_tenths;
263 }
+ Here is the caller graph for this function:

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGHackRFInputSettings::getReverseApiAddress ( )

Definition at line 391 of file SWGHackRFInputSettings.cpp.

References reverse_api_address.

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

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

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGHackRFInputSettings::getReverseApiDeviceIndex ( )

Definition at line 411 of file SWGHackRFInputSettings.cpp.

References reverse_api_device_index.

Referenced by HackRFInput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGHackRFInputSettings::getReverseApiPort ( )

Definition at line 401 of file SWGHackRFInputSettings.cpp.

References reverse_api_port.

Referenced by HackRFInput::webapiSettingsPutPatch().

401  {
402  return reverse_api_port;
403 }
+ Here is the caller graph for this function:

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGHackRFInputSettings::getUseReverseApi ( )

Definition at line 381 of file SWGHackRFInputSettings.cpp.

References use_reverse_api.

Referenced by HackRFInput::webapiSettingsPutPatch().

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

◆ getVgaGain()

qint32 SWGSDRangel::SWGHackRFInputSettings::getVgaGain ( )

Definition at line 291 of file SWGHackRFInputSettings.cpp.

References vga_gain.

Referenced by HackRFInput::webapiSettingsPutPatch().

291  {
292  return vga_gain;
293 }
+ Here is the caller graph for this function:

◆ init()

void SWGSDRangel::SWGHackRFInputSettings::init ( )

Definition at line 72 of file SWGHackRFInputSettings.cpp.

References bandwidth, bias_t, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, iq_correction, l_oppm_tenths, lna_ext, lna_gain, log2_decim, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_file_record_name_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, use_reverse_api, and vga_gain.

Referenced by SWGHackRFInputSettings(), and HackRFInput::webapiSettingsGet().

72  {
73  center_frequency = 0L;
75  l_oppm_tenths = 0;
76  m_l_oppm_tenths_isSet = false;
77  bandwidth = 0;
78  m_bandwidth_isSet = false;
79  lna_gain = 0;
80  m_lna_gain_isSet = false;
81  vga_gain = 0;
82  m_vga_gain_isSet = false;
83  log2_decim = 0;
84  m_log2_decim_isSet = false;
85  fc_pos = 0;
86  m_fc_pos_isSet = false;
87  dev_sample_rate = 0;
89  bias_t = 0;
90  m_bias_t_isSet = false;
91  lna_ext = 0;
92  m_lna_ext_isSet = false;
93  dc_block = 0;
94  m_dc_block_isSet = false;
95  iq_correction = 0;
96  m_iq_correction_isSet = false;
97  file_record_name = new QString("");
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::SWGHackRFInputSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 422 of file SWGHackRFInputSettings.cpp.

References file_record_name, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, and reverse_api_address.

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

422  {
423  bool isObjectUpdated = false;
424  do{
425  if(m_center_frequency_isSet){ isObjectUpdated = true; break;}
426  if(m_l_oppm_tenths_isSet){ isObjectUpdated = true; break;}
427  if(m_bandwidth_isSet){ isObjectUpdated = true; break;}
428  if(m_lna_gain_isSet){ isObjectUpdated = true; break;}
429  if(m_vga_gain_isSet){ isObjectUpdated = true; break;}
430  if(m_log2_decim_isSet){ isObjectUpdated = true; break;}
431  if(m_fc_pos_isSet){ isObjectUpdated = true; break;}
432  if(m_dev_sample_rate_isSet){ isObjectUpdated = true; break;}
433  if(m_bias_t_isSet){ isObjectUpdated = true; break;}
434  if(m_lna_ext_isSet){ isObjectUpdated = true; break;}
435  if(m_dc_block_isSet){ isObjectUpdated = true; break;}
436  if(m_iq_correction_isSet){ isObjectUpdated = true; break;}
437  if(file_record_name != nullptr && *file_record_name != QString("")){ isObjectUpdated = true; break;}
438  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
439  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
440  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
441  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
442  }while(false);
443  return isObjectUpdated;
444 }
+ Here is the caller graph for this function:

◆ setBandwidth()

void SWGSDRangel::SWGHackRFInputSettings::setBandwidth ( qint32  bandwidth)

Definition at line 275 of file SWGHackRFInputSettings.cpp.

References bandwidth, and m_bandwidth_isSet.

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

+ Here is the caller graph for this function:

◆ setBiasT()

void SWGSDRangel::SWGHackRFInputSettings::setBiasT ( qint32  bias_t)

Definition at line 335 of file SWGHackRFInputSettings.cpp.

References bias_t, and m_bias_t_isSet.

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

+ Here is the caller graph for this function:

◆ setCenterFrequency()

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

◆ setDcBlock()

void SWGSDRangel::SWGHackRFInputSettings::setDcBlock ( qint32  dc_block)

Definition at line 355 of file SWGHackRFInputSettings.cpp.

References dc_block, and m_dc_block_isSet.

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

+ Here is the caller graph for this function:

◆ setDevSampleRate()

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

◆ setFcPos()

void SWGSDRangel::SWGHackRFInputSettings::setFcPos ( qint32  fc_pos)

Definition at line 315 of file SWGHackRFInputSettings.cpp.

References fc_pos, and m_fc_pos_isSet.

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

+ Here is the caller graph for this function:

◆ setFileRecordName()

void SWGSDRangel::SWGHackRFInputSettings::setFileRecordName ( QString *  file_record_name)

◆ setIqCorrection()

void SWGSDRangel::SWGHackRFInputSettings::setIqCorrection ( qint32  iq_correction)

Definition at line 365 of file SWGHackRFInputSettings.cpp.

References iq_correction, and m_iq_correction_isSet.

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

+ Here is the caller graph for this function:

◆ setLnaExt()

void SWGSDRangel::SWGHackRFInputSettings::setLnaExt ( qint32  lna_ext)

Definition at line 345 of file SWGHackRFInputSettings.cpp.

References lna_ext, and m_lna_ext_isSet.

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

+ Here is the caller graph for this function:

◆ setLnaGain()

void SWGSDRangel::SWGHackRFInputSettings::setLnaGain ( qint32  lna_gain)

Definition at line 285 of file SWGHackRFInputSettings.cpp.

References lna_gain, and m_lna_gain_isSet.

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

+ Here is the caller graph for this function:

◆ setLog2Decim()

void SWGSDRangel::SWGHackRFInputSettings::setLog2Decim ( qint32  log2_decim)

Definition at line 305 of file SWGHackRFInputSettings.cpp.

References log2_decim, and m_log2_decim_isSet.

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

+ Here is the caller graph for this function:

◆ setLOppmTenths()

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

Definition at line 265 of file SWGHackRFInputSettings.cpp.

References l_oppm_tenths, and m_l_oppm_tenths_isSet.

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

+ Here is the caller graph for this function:

◆ setReverseApiAddress()

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

Definition at line 395 of file SWGHackRFInputSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by HackRFInput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setReverseApiDeviceIndex()

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

◆ setReverseApiPort()

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

Definition at line 405 of file SWGHackRFInputSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by HackRFInput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setUseReverseApi()

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

Definition at line 385 of file SWGHackRFInputSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by HackRFInput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setVgaGain()

void SWGSDRangel::SWGHackRFInputSettings::setVgaGain ( qint32  vga_gain)

Definition at line 295 of file SWGHackRFInputSettings.cpp.

References m_vga_gain_isSet, and vga_gain.

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

+ Here is the caller graph for this function:

Member Data Documentation

◆ bandwidth

qint32 SWGSDRangel::SWGHackRFInputSettings::bandwidth
private

◆ bias_t

qint32 SWGSDRangel::SWGHackRFInputSettings::bias_t
private

◆ center_frequency

qint64 SWGSDRangel::SWGHackRFInputSettings::center_frequency
private

◆ dc_block

qint32 SWGSDRangel::SWGHackRFInputSettings::dc_block
private

◆ dev_sample_rate

qint32 SWGSDRangel::SWGHackRFInputSettings::dev_sample_rate
private

◆ fc_pos

qint32 SWGSDRangel::SWGHackRFInputSettings::fc_pos
private

◆ file_record_name

QString* SWGSDRangel::SWGHackRFInputSettings::file_record_name
private

◆ iq_correction

qint32 SWGSDRangel::SWGHackRFInputSettings::iq_correction
private

◆ l_oppm_tenths

qint32 SWGSDRangel::SWGHackRFInputSettings::l_oppm_tenths
private

◆ lna_ext

qint32 SWGSDRangel::SWGHackRFInputSettings::lna_ext
private

◆ lna_gain

qint32 SWGSDRangel::SWGHackRFInputSettings::lna_gain
private

◆ log2_decim

qint32 SWGSDRangel::SWGHackRFInputSettings::log2_decim
private

◆ m_bandwidth_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_bandwidth_isSet
private

◆ m_bias_t_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_bias_t_isSet
private

Definition at line 125 of file SWGHackRFInputSettings.h.

Referenced by asJsonObject(), init(), isSet(), setBiasT(), and SWGHackRFInputSettings().

◆ m_center_frequency_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_center_frequency_isSet
private

◆ m_dc_block_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_dc_block_isSet
private

◆ m_dev_sample_rate_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_dev_sample_rate_isSet
private

◆ m_fc_pos_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_fc_pos_isSet
private

Definition at line 119 of file SWGHackRFInputSettings.h.

Referenced by asJsonObject(), init(), isSet(), setFcPos(), and SWGHackRFInputSettings().

◆ m_file_record_name_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_file_record_name_isSet
private

Definition at line 137 of file SWGHackRFInputSettings.h.

Referenced by init(), setFileRecordName(), and SWGHackRFInputSettings().

◆ m_iq_correction_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_iq_correction_isSet
private

◆ m_l_oppm_tenths_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_l_oppm_tenths_isSet
private

◆ m_lna_ext_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_lna_ext_isSet
private

◆ m_lna_gain_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_lna_gain_isSet
private

◆ m_log2_decim_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_log2_decim_isSet
private

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_reverse_api_address_isSet
private

Definition at line 143 of file SWGHackRFInputSettings.h.

Referenced by init(), setReverseApiAddress(), and SWGHackRFInputSettings().

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_reverse_api_port_isSet
private

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_use_reverse_api_isSet
private

◆ m_vga_gain_isSet

bool SWGSDRangel::SWGHackRFInputSettings::m_vga_gain_isSet
private

◆ reverse_api_address

QString* SWGSDRangel::SWGHackRFInputSettings::reverse_api_address
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGHackRFInputSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGHackRFInputSettings::reverse_api_port
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGHackRFInputSettings::use_reverse_api
private

◆ vga_gain

qint32 SWGSDRangel::SWGHackRFInputSettings::vga_gain
private

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