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

#include <SWGFCDProPlusSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGFCDProPlusSettings:
+ Collaboration diagram for SWGSDRangel::SWGFCDProPlusSettings:

Public Member Functions

 SWGFCDProPlusSettings ()
 
 SWGFCDProPlusSettings (QString *json)
 
virtual ~SWGFCDProPlusSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGFCDProPlusSettingsfromJson (QString &jsonString) override
 
qint64 getCenterFrequency ()
 
void setCenterFrequency (qint64 center_frequency)
 
qint32 getLog2Decim ()
 
void setLog2Decim (qint32 log2_decim)
 
qint32 getFcPos ()
 
void setFcPos (qint32 fc_pos)
 
qint32 getRangeLow ()
 
void setRangeLow (qint32 range_low)
 
qint32 getLnaGain ()
 
void setLnaGain (qint32 lna_gain)
 
qint32 getMixGain ()
 
void setMixGain (qint32 mix_gain)
 
qint32 getBiasT ()
 
void setBiasT (qint32 bias_t)
 
qint32 getIfGain ()
 
void setIfGain (qint32 if_gain)
 
qint32 getIfFilterIndex ()
 
void setIfFilterIndex (qint32 if_filter_index)
 
qint32 getRfFilterIndex ()
 
void setRfFilterIndex (qint32 rf_filter_index)
 
qint32 getLOppmTenths ()
 
void setLOppmTenths (qint32 l_oppm_tenths)
 
qint32 getDcBlock ()
 
void setDcBlock (qint32 dc_block)
 
qint32 getIqImbalance ()
 
void setIqImbalance (qint32 iq_imbalance)
 
qint32 getTransverterMode ()
 
void setTransverterMode (qint32 transverter_mode)
 
qint64 getTransverterDeltaFrequency ()
 
void setTransverterDeltaFrequency (qint64 transverter_delta_frequency)
 
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 log2_decim
 
bool m_log2_decim_isSet
 
qint32 fc_pos
 
bool m_fc_pos_isSet
 
qint32 range_low
 
bool m_range_low_isSet
 
qint32 lna_gain
 
bool m_lna_gain_isSet
 
qint32 mix_gain
 
bool m_mix_gain_isSet
 
qint32 bias_t
 
bool m_bias_t_isSet
 
qint32 if_gain
 
bool m_if_gain_isSet
 
qint32 if_filter_index
 
bool m_if_filter_index_isSet
 
qint32 rf_filter_index
 
bool m_rf_filter_index_isSet
 
qint32 l_oppm_tenths
 
bool m_l_oppm_tenths_isSet
 
qint32 dc_block
 
bool m_dc_block_isSet
 
qint32 iq_imbalance
 
bool m_iq_imbalance_isSet
 
qint32 transverter_mode
 
bool m_transverter_mode_isSet
 
qint64 transverter_delta_frequency
 
bool m_transverter_delta_frequency_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 SWGFCDProPlusSettings.h.

Constructor & Destructor Documentation

◆ SWGFCDProPlusSettings() [1/2]

SWGSDRangel::SWGFCDProPlusSettings::SWGFCDProPlusSettings ( )

Definition at line 30 of file SWGFCDProPlusSettings.cpp.

References bias_t, center_frequency, dc_block, fc_pos, file_record_name, if_filter_index, if_gain, iq_imbalance, l_oppm_tenths, lna_gain, log2_decim, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_fc_pos_isSet, m_file_record_name_isSet, m_if_filter_index_isSet, m_if_gain_isSet, m_iq_imbalance_isSet, m_l_oppm_tenths_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_mix_gain_isSet, m_range_low_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_filter_index_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, mix_gain, range_low, reverse_api_address, reverse_api_device_index, reverse_api_port, rf_filter_index, transverter_delta_frequency, transverter_mode, and use_reverse_api.

30  {
31  center_frequency = 0L;
33  log2_decim = 0;
34  m_log2_decim_isSet = false;
35  fc_pos = 0;
36  m_fc_pos_isSet = false;
37  range_low = 0;
38  m_range_low_isSet = false;
39  lna_gain = 0;
40  m_lna_gain_isSet = false;
41  mix_gain = 0;
42  m_mix_gain_isSet = false;
43  bias_t = 0;
44  m_bias_t_isSet = false;
45  if_gain = 0;
46  m_if_gain_isSet = false;
47  if_filter_index = 0;
49  rf_filter_index = 0;
51  l_oppm_tenths = 0;
52  m_l_oppm_tenths_isSet = false;
53  dc_block = 0;
54  m_dc_block_isSet = false;
55  iq_imbalance = 0;
56  m_iq_imbalance_isSet = false;
57  transverter_mode = 0;
61  file_record_name = nullptr;
63  use_reverse_api = 0;
65  reverse_api_address = nullptr;
67  reverse_api_port = 0;
71 }

◆ SWGFCDProPlusSettings() [2/2]

SWGSDRangel::SWGFCDProPlusSettings::SWGFCDProPlusSettings ( QString *  json)

Definition at line 25 of file SWGFCDProPlusSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGFCDProPlusSettings()

SWGSDRangel::SWGFCDProPlusSettings::~SWGFCDProPlusSettings ( )
virtual

Definition at line 73 of file SWGFCDProPlusSettings.cpp.

References cleanup().

73  {
74  this->cleanup();
75 }
+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGFCDProPlusSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 203 of file SWGFCDProPlusSettings.cpp.

References asJsonObject().

204 {
205  QJsonObject* obj = this->asJsonObject();
206 
207  QJsonDocument doc(*obj);
208  QByteArray bytes = doc.toJson();
209  delete obj;
210  return QString(bytes);
211 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 214 of file SWGFCDProPlusSettings.cpp.

References bias_t, center_frequency, dc_block, fc_pos, file_record_name, if_filter_index, if_gain, iq_imbalance, l_oppm_tenths, lna_gain, log2_decim, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_fc_pos_isSet, m_if_filter_index_isSet, m_if_gain_isSet, m_iq_imbalance_isSet, m_l_oppm_tenths_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_mix_gain_isSet, m_range_low_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_filter_index_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, mix_gain, range_low, reverse_api_address, reverse_api_device_index, reverse_api_port, rf_filter_index, SWGSDRangel::toJsonValue(), transverter_delta_frequency, transverter_mode, and use_reverse_api.

Referenced by asJson().

214  {
215  QJsonObject* obj = new QJsonObject();
217  obj->insert("centerFrequency", QJsonValue(center_frequency));
218  }
219  if(m_log2_decim_isSet){
220  obj->insert("log2Decim", QJsonValue(log2_decim));
221  }
222  if(m_fc_pos_isSet){
223  obj->insert("fcPos", QJsonValue(fc_pos));
224  }
225  if(m_range_low_isSet){
226  obj->insert("rangeLow", QJsonValue(range_low));
227  }
228  if(m_lna_gain_isSet){
229  obj->insert("lnaGain", QJsonValue(lna_gain));
230  }
231  if(m_mix_gain_isSet){
232  obj->insert("mixGain", QJsonValue(mix_gain));
233  }
234  if(m_bias_t_isSet){
235  obj->insert("biasT", QJsonValue(bias_t));
236  }
237  if(m_if_gain_isSet){
238  obj->insert("ifGain", QJsonValue(if_gain));
239  }
241  obj->insert("ifFilterIndex", QJsonValue(if_filter_index));
242  }
244  obj->insert("rfFilterIndex", QJsonValue(rf_filter_index));
245  }
247  obj->insert("LOppmTenths", QJsonValue(l_oppm_tenths));
248  }
249  if(m_dc_block_isSet){
250  obj->insert("dcBlock", QJsonValue(dc_block));
251  }
253  obj->insert("iqImbalance", QJsonValue(iq_imbalance));
254  }
256  obj->insert("transverterMode", QJsonValue(transverter_mode));
257  }
259  obj->insert("transverterDeltaFrequency", QJsonValue(transverter_delta_frequency));
260  }
261  if(file_record_name != nullptr && *file_record_name != QString("")){
262  toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString"));
263  }
265  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
266  }
267  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
268  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
269  }
271  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
272  }
274  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
275  }
276 
277  return obj;
278 }
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::SWGFCDProPlusSettings::cleanup ( )

Definition at line 122 of file SWGFCDProPlusSettings.cpp.

References file_record_name, and reverse_api_address.

Referenced by ~SWGFCDProPlusSettings().

122  {
123 
124 
125 
126 
127 
128 
129 
130 
131 
132 
133 
134 
135 
136 
137 
138  if(file_record_name != nullptr) {
139  delete file_record_name;
140  }
141 
142  if(reverse_api_address != nullptr) {
143  delete reverse_api_address;
144  }
145 
146 
147 }
+ Here is the caller graph for this function:

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 150 of file SWGFCDProPlusSettings.cpp.

References fromJsonObject().

Referenced by SWGFCDProPlusSettings().

150  {
151  QByteArray array (json.toStdString().c_str());
152  QJsonDocument doc = QJsonDocument::fromJson(array);
153  QJsonObject jsonObject = doc.object();
154  this->fromJsonObject(jsonObject);
155  return this;
156 }
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::SWGFCDProPlusSettings::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 159 of file SWGFCDProPlusSettings.cpp.

References bias_t, center_frequency, dc_block, fc_pos, file_record_name, if_filter_index, if_gain, iq_imbalance, l_oppm_tenths, lna_gain, log2_decim, mix_gain, range_low, reverse_api_address, reverse_api_device_index, reverse_api_port, rf_filter_index, SWGSDRangel::setValue(), transverter_delta_frequency, transverter_mode, and use_reverse_api.

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

159  {
160  ::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
161 
162  ::SWGSDRangel::setValue(&log2_decim, pJson["log2Decim"], "qint32", "");
163 
164  ::SWGSDRangel::setValue(&fc_pos, pJson["fcPos"], "qint32", "");
165 
166  ::SWGSDRangel::setValue(&range_low, pJson["rangeLow"], "qint32", "");
167 
168  ::SWGSDRangel::setValue(&lna_gain, pJson["lnaGain"], "qint32", "");
169 
170  ::SWGSDRangel::setValue(&mix_gain, pJson["mixGain"], "qint32", "");
171 
172  ::SWGSDRangel::setValue(&bias_t, pJson["biasT"], "qint32", "");
173 
174  ::SWGSDRangel::setValue(&if_gain, pJson["ifGain"], "qint32", "");
175 
176  ::SWGSDRangel::setValue(&if_filter_index, pJson["ifFilterIndex"], "qint32", "");
177 
178  ::SWGSDRangel::setValue(&rf_filter_index, pJson["rfFilterIndex"], "qint32", "");
179 
180  ::SWGSDRangel::setValue(&l_oppm_tenths, pJson["LOppmTenths"], "qint32", "");
181 
182  ::SWGSDRangel::setValue(&dc_block, pJson["dcBlock"], "qint32", "");
183 
184  ::SWGSDRangel::setValue(&iq_imbalance, pJson["iqImbalance"], "qint32", "");
185 
186  ::SWGSDRangel::setValue(&transverter_mode, pJson["transverterMode"], "qint32", "");
187 
188  ::SWGSDRangel::setValue(&transverter_delta_frequency, pJson["transverterDeltaFrequency"], "qint64", "");
189 
190  ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString");
191 
192  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
193 
194  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
195 
196  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
197 
198  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
199 
200 }
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:

◆ getBiasT()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getBiasT ( )

Definition at line 341 of file SWGFCDProPlusSettings.cpp.

References bias_t.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getCenterFrequency()

qint64 SWGSDRangel::SWGFCDProPlusSettings::getCenterFrequency ( )

Definition at line 281 of file SWGFCDProPlusSettings.cpp.

References center_frequency.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getDcBlock()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getDcBlock ( )

Definition at line 391 of file SWGFCDProPlusSettings.cpp.

References dc_block.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getFcPos()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getFcPos ( )

Definition at line 301 of file SWGFCDProPlusSettings.cpp.

References fc_pos.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getFileRecordName()

QString * SWGSDRangel::SWGFCDProPlusSettings::getFileRecordName ( )

Definition at line 431 of file SWGFCDProPlusSettings.cpp.

References file_record_name.

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

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

◆ getIfFilterIndex()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getIfFilterIndex ( )

Definition at line 361 of file SWGFCDProPlusSettings.cpp.

References if_filter_index.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getIfGain()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getIfGain ( )

Definition at line 351 of file SWGFCDProPlusSettings.cpp.

References if_gain.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getIqImbalance()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getIqImbalance ( )

Definition at line 401 of file SWGFCDProPlusSettings.cpp.

References iq_imbalance.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getLnaGain()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getLnaGain ( )

Definition at line 321 of file SWGFCDProPlusSettings.cpp.

References lna_gain.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getLog2Decim()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getLog2Decim ( )

Definition at line 291 of file SWGFCDProPlusSettings.cpp.

References log2_decim.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getLOppmTenths()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getLOppmTenths ( )

Definition at line 381 of file SWGFCDProPlusSettings.cpp.

References l_oppm_tenths.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getMixGain()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getMixGain ( )

Definition at line 331 of file SWGFCDProPlusSettings.cpp.

References mix_gain.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getRangeLow()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getRangeLow ( )

Definition at line 311 of file SWGFCDProPlusSettings.cpp.

References range_low.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGFCDProPlusSettings::getReverseApiAddress ( )

Definition at line 451 of file SWGFCDProPlusSettings.cpp.

References reverse_api_address.

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

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

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getReverseApiDeviceIndex ( )

Definition at line 471 of file SWGFCDProPlusSettings.cpp.

References reverse_api_device_index.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

471  {
473 }
+ Here is the caller graph for this function:

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getReverseApiPort ( )

Definition at line 461 of file SWGFCDProPlusSettings.cpp.

References reverse_api_port.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getRfFilterIndex()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getRfFilterIndex ( )

Definition at line 371 of file SWGFCDProPlusSettings.cpp.

References rf_filter_index.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getTransverterDeltaFrequency()

qint64 SWGSDRangel::SWGFCDProPlusSettings::getTransverterDeltaFrequency ( )

Definition at line 421 of file SWGFCDProPlusSettings.cpp.

References transverter_delta_frequency.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getTransverterMode()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getTransverterMode ( )

Definition at line 411 of file SWGFCDProPlusSettings.cpp.

References transverter_mode.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGFCDProPlusSettings::getUseReverseApi ( )

Definition at line 441 of file SWGFCDProPlusSettings.cpp.

References use_reverse_api.

Referenced by FCDProPlusInput::webapiSettingsPutPatch().

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

◆ init()

void SWGSDRangel::SWGFCDProPlusSettings::init ( )

Definition at line 78 of file SWGFCDProPlusSettings.cpp.

References bias_t, center_frequency, dc_block, fc_pos, file_record_name, if_filter_index, if_gain, iq_imbalance, l_oppm_tenths, lna_gain, log2_decim, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_fc_pos_isSet, m_file_record_name_isSet, m_if_filter_index_isSet, m_if_gain_isSet, m_iq_imbalance_isSet, m_l_oppm_tenths_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_mix_gain_isSet, m_range_low_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_filter_index_isSet, m_transverter_delta_frequency_isSet, m_transverter_mode_isSet, m_use_reverse_api_isSet, mix_gain, range_low, reverse_api_address, reverse_api_device_index, reverse_api_port, rf_filter_index, transverter_delta_frequency, transverter_mode, and use_reverse_api.

Referenced by SWGFCDProPlusSettings(), and FCDProPlusInput::webapiSettingsGet().

78  {
79  center_frequency = 0L;
81  log2_decim = 0;
82  m_log2_decim_isSet = false;
83  fc_pos = 0;
84  m_fc_pos_isSet = false;
85  range_low = 0;
86  m_range_low_isSet = false;
87  lna_gain = 0;
88  m_lna_gain_isSet = false;
89  mix_gain = 0;
90  m_mix_gain_isSet = false;
91  bias_t = 0;
92  m_bias_t_isSet = false;
93  if_gain = 0;
94  m_if_gain_isSet = false;
95  if_filter_index = 0;
97  rf_filter_index = 0;
99  l_oppm_tenths = 0;
100  m_l_oppm_tenths_isSet = false;
101  dc_block = 0;
102  m_dc_block_isSet = false;
103  iq_imbalance = 0;
104  m_iq_imbalance_isSet = false;
105  transverter_mode = 0;
106  m_transverter_mode_isSet = false;
109  file_record_name = new QString("");
110  m_file_record_name_isSet = false;
111  use_reverse_api = 0;
112  m_use_reverse_api_isSet = false;
113  reverse_api_address = new QString("");
115  reverse_api_port = 0;
116  m_reverse_api_port_isSet = false;
119 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGFCDProPlusSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 482 of file SWGFCDProPlusSettings.cpp.

References file_record_name, m_bias_t_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_fc_pos_isSet, m_if_filter_index_isSet, m_if_gain_isSet, m_iq_imbalance_isSet, m_l_oppm_tenths_isSet, m_lna_gain_isSet, m_log2_decim_isSet, m_mix_gain_isSet, m_range_low_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_filter_index_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().

482  {
483  bool isObjectUpdated = false;
484  do{
485  if(m_center_frequency_isSet){ isObjectUpdated = true; break;}
486  if(m_log2_decim_isSet){ isObjectUpdated = true; break;}
487  if(m_fc_pos_isSet){ isObjectUpdated = true; break;}
488  if(m_range_low_isSet){ isObjectUpdated = true; break;}
489  if(m_lna_gain_isSet){ isObjectUpdated = true; break;}
490  if(m_mix_gain_isSet){ isObjectUpdated = true; break;}
491  if(m_bias_t_isSet){ isObjectUpdated = true; break;}
492  if(m_if_gain_isSet){ isObjectUpdated = true; break;}
493  if(m_if_filter_index_isSet){ isObjectUpdated = true; break;}
494  if(m_rf_filter_index_isSet){ isObjectUpdated = true; break;}
495  if(m_l_oppm_tenths_isSet){ isObjectUpdated = true; break;}
496  if(m_dc_block_isSet){ isObjectUpdated = true; break;}
497  if(m_iq_imbalance_isSet){ isObjectUpdated = true; break;}
498  if(m_transverter_mode_isSet){ isObjectUpdated = true; break;}
499  if(m_transverter_delta_frequency_isSet){ isObjectUpdated = true; break;}
500  if(file_record_name != nullptr && *file_record_name != QString("")){ isObjectUpdated = true; break;}
501  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
502  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
503  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
504  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
505  }while(false);
506  return isObjectUpdated;
507 }
+ Here is the caller graph for this function:

◆ setBiasT()

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

Definition at line 345 of file SWGFCDProPlusSettings.cpp.

References bias_t, and m_bias_t_isSet.

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

+ Here is the caller graph for this function:

◆ setCenterFrequency()

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

◆ setDcBlock()

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

Definition at line 395 of file SWGFCDProPlusSettings.cpp.

References dc_block, and m_dc_block_isSet.

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

+ Here is the caller graph for this function:

◆ setFcPos()

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

Definition at line 305 of file SWGFCDProPlusSettings.cpp.

References fc_pos, and m_fc_pos_isSet.

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

+ Here is the caller graph for this function:

◆ setFileRecordName()

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

◆ setIfFilterIndex()

void SWGSDRangel::SWGFCDProPlusSettings::setIfFilterIndex ( qint32  if_filter_index)

◆ setIfGain()

void SWGSDRangel::SWGFCDProPlusSettings::setIfGain ( qint32  if_gain)

Definition at line 355 of file SWGFCDProPlusSettings.cpp.

References if_gain, and m_if_gain_isSet.

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

+ Here is the caller graph for this function:

◆ setIqImbalance()

void SWGSDRangel::SWGFCDProPlusSettings::setIqImbalance ( qint32  iq_imbalance)

Definition at line 405 of file SWGFCDProPlusSettings.cpp.

References iq_imbalance, and m_iq_imbalance_isSet.

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

+ Here is the caller graph for this function:

◆ setLnaGain()

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

Definition at line 325 of file SWGFCDProPlusSettings.cpp.

References lna_gain, and m_lna_gain_isSet.

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

+ Here is the caller graph for this function:

◆ setLog2Decim()

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

Definition at line 295 of file SWGFCDProPlusSettings.cpp.

References log2_decim, and m_log2_decim_isSet.

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

+ Here is the caller graph for this function:

◆ setLOppmTenths()

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

Definition at line 385 of file SWGFCDProPlusSettings.cpp.

References l_oppm_tenths, and m_l_oppm_tenths_isSet.

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

+ Here is the caller graph for this function:

◆ setMixGain()

void SWGSDRangel::SWGFCDProPlusSettings::setMixGain ( qint32  mix_gain)

Definition at line 335 of file SWGFCDProPlusSettings.cpp.

References m_mix_gain_isSet, and mix_gain.

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

+ Here is the caller graph for this function:

◆ setRangeLow()

void SWGSDRangel::SWGFCDProPlusSettings::setRangeLow ( qint32  range_low)

Definition at line 315 of file SWGFCDProPlusSettings.cpp.

References m_range_low_isSet, and range_low.

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

+ Here is the caller graph for this function:

◆ setReverseApiAddress()

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

Definition at line 455 of file SWGFCDProPlusSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by FCDProPlusInput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setReverseApiDeviceIndex()

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

◆ setReverseApiPort()

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

Definition at line 465 of file SWGFCDProPlusSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by FCDProPlusInput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setRfFilterIndex()

void SWGSDRangel::SWGFCDProPlusSettings::setRfFilterIndex ( qint32  rf_filter_index)

◆ setTransverterDeltaFrequency()

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

◆ setTransverterMode()

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

◆ setUseReverseApi()

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

Definition at line 445 of file SWGFCDProPlusSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by FCDProPlusInput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

Member Data Documentation

◆ bias_t

qint32 SWGSDRangel::SWGFCDProPlusSettings::bias_t
private

◆ center_frequency

qint64 SWGSDRangel::SWGFCDProPlusSettings::center_frequency
private

◆ dc_block

qint32 SWGSDRangel::SWGFCDProPlusSettings::dc_block
private

◆ fc_pos

qint32 SWGSDRangel::SWGFCDProPlusSettings::fc_pos
private

◆ file_record_name

QString* SWGSDRangel::SWGFCDProPlusSettings::file_record_name
private

◆ if_filter_index

qint32 SWGSDRangel::SWGFCDProPlusSettings::if_filter_index
private

◆ if_gain

qint32 SWGSDRangel::SWGFCDProPlusSettings::if_gain
private

◆ iq_imbalance

qint32 SWGSDRangel::SWGFCDProPlusSettings::iq_imbalance
private

◆ l_oppm_tenths

qint32 SWGSDRangel::SWGFCDProPlusSettings::l_oppm_tenths
private

◆ lna_gain

qint32 SWGSDRangel::SWGFCDProPlusSettings::lna_gain
private

◆ log2_decim

qint32 SWGSDRangel::SWGFCDProPlusSettings::log2_decim
private

◆ m_bias_t_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_bias_t_isSet
private

Definition at line 128 of file SWGFCDProPlusSettings.h.

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

◆ m_center_frequency_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_center_frequency_isSet
private

◆ m_dc_block_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_dc_block_isSet
private

Definition at line 143 of file SWGFCDProPlusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setDcBlock(), and SWGFCDProPlusSettings().

◆ m_fc_pos_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_fc_pos_isSet
private

Definition at line 116 of file SWGFCDProPlusSettings.h.

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

◆ m_file_record_name_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_file_record_name_isSet
private

Definition at line 155 of file SWGFCDProPlusSettings.h.

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

◆ m_if_filter_index_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_if_filter_index_isSet
private

◆ m_if_gain_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_if_gain_isSet
private

Definition at line 131 of file SWGFCDProPlusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setIfGain(), and SWGFCDProPlusSettings().

◆ m_iq_imbalance_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_iq_imbalance_isSet
private

◆ m_l_oppm_tenths_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_l_oppm_tenths_isSet
private

◆ m_lna_gain_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_lna_gain_isSet
private

Definition at line 122 of file SWGFCDProPlusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setLnaGain(), and SWGFCDProPlusSettings().

◆ m_log2_decim_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_log2_decim_isSet
private

◆ m_mix_gain_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_mix_gain_isSet
private

Definition at line 125 of file SWGFCDProPlusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setMixGain(), and SWGFCDProPlusSettings().

◆ m_range_low_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_range_low_isSet
private

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_reverse_api_address_isSet
private

Definition at line 161 of file SWGFCDProPlusSettings.h.

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

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_reverse_api_port_isSet
private

◆ m_rf_filter_index_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_rf_filter_index_isSet
private

◆ m_transverter_delta_frequency_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_transverter_delta_frequency_isSet
private

◆ m_transverter_mode_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_transverter_mode_isSet
private

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGFCDProPlusSettings::m_use_reverse_api_isSet
private

◆ mix_gain

qint32 SWGSDRangel::SWGFCDProPlusSettings::mix_gain
private

◆ range_low

qint32 SWGSDRangel::SWGFCDProPlusSettings::range_low
private

◆ reverse_api_address

QString* SWGSDRangel::SWGFCDProPlusSettings::reverse_api_address
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGFCDProPlusSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGFCDProPlusSettings::reverse_api_port
private

◆ rf_filter_index

qint32 SWGSDRangel::SWGFCDProPlusSettings::rf_filter_index
private

◆ transverter_delta_frequency

qint64 SWGSDRangel::SWGFCDProPlusSettings::transverter_delta_frequency
private

◆ transverter_mode

qint32 SWGSDRangel::SWGFCDProPlusSettings::transverter_mode
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGFCDProPlusSettings::use_reverse_api
private

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