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

#include <SWGBladeRF2InputSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGBladeRF2InputSettings:
+ Collaboration diagram for SWGSDRangel::SWGBladeRF2InputSettings:

Public Member Functions

 SWGBladeRF2InputSettings ()
 
 SWGBladeRF2InputSettings (QString *json)
 
virtual ~SWGBladeRF2InputSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGBladeRF2InputSettingsfromJson (QString &jsonString) override
 
qint64 getCenterFrequency ()
 
void setCenterFrequency (qint64 center_frequency)
 
qint32 getLOppmTenths ()
 
void setLOppmTenths (qint32 l_oppm_tenths)
 
qint32 getDevSampleRate ()
 
void setDevSampleRate (qint32 dev_sample_rate)
 
qint32 getBandwidth ()
 
void setBandwidth (qint32 bandwidth)
 
qint32 getGainMode ()
 
void setGainMode (qint32 gain_mode)
 
qint32 getGlobalGain ()
 
void setGlobalGain (qint32 global_gain)
 
qint32 getBiasTee ()
 
void setBiasTee (qint32 bias_tee)
 
qint32 getLog2Decim ()
 
void setLog2Decim (qint32 log2_decim)
 
qint32 getFcPos ()
 
void setFcPos (qint32 fc_pos)
 
qint32 getDcBlock ()
 
void setDcBlock (qint32 dc_block)
 
qint32 getIqCorrection ()
 
void setIqCorrection (qint32 iq_correction)
 
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 l_oppm_tenths
 
bool m_l_oppm_tenths_isSet
 
qint32 dev_sample_rate
 
bool m_dev_sample_rate_isSet
 
qint32 bandwidth
 
bool m_bandwidth_isSet
 
qint32 gain_mode
 
bool m_gain_mode_isSet
 
qint32 global_gain
 
bool m_global_gain_isSet
 
qint32 bias_tee
 
bool m_bias_tee_isSet
 
qint32 log2_decim
 
bool m_log2_decim_isSet
 
qint32 fc_pos
 
bool m_fc_pos_isSet
 
qint32 dc_block
 
bool m_dc_block_isSet
 
qint32 iq_correction
 
bool m_iq_correction_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 SWGBladeRF2InputSettings.h.

Constructor & Destructor Documentation

◆ SWGBladeRF2InputSettings() [1/2]

SWGSDRangel::SWGBladeRF2InputSettings::SWGBladeRF2InputSettings ( )

Definition at line 30 of file SWGBladeRF2InputSettings.cpp.

References bandwidth, bias_tee, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, gain_mode, global_gain, iq_correction, l_oppm_tenths, log2_decim, m_bandwidth_isSet, m_bias_tee_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_file_record_name_isSet, m_gain_mode_isSet, m_global_gain_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_log2_decim_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  l_oppm_tenths = 0;
34  m_l_oppm_tenths_isSet = false;
35  dev_sample_rate = 0;
37  bandwidth = 0;
38  m_bandwidth_isSet = false;
39  gain_mode = 0;
40  m_gain_mode_isSet = false;
41  global_gain = 0;
42  m_global_gain_isSet = false;
43  bias_tee = 0;
44  m_bias_tee_isSet = false;
45  log2_decim = 0;
46  m_log2_decim_isSet = false;
47  fc_pos = 0;
48  m_fc_pos_isSet = false;
49  dc_block = 0;
50  m_dc_block_isSet = false;
51  iq_correction = 0;
52  m_iq_correction_isSet = false;
53  transverter_mode = 0;
57  file_record_name = nullptr;
59  use_reverse_api = 0;
61  reverse_api_address = nullptr;
63  reverse_api_port = 0;
67 }

◆ SWGBladeRF2InputSettings() [2/2]

SWGSDRangel::SWGBladeRF2InputSettings::SWGBladeRF2InputSettings ( QString *  json)

Definition at line 25 of file SWGBladeRF2InputSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGBladeRF2InputSettings()

SWGSDRangel::SWGBladeRF2InputSettings::~SWGBladeRF2InputSettings ( )
virtual

Definition at line 69 of file SWGBladeRF2InputSettings.cpp.

References cleanup().

+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGBladeRF2InputSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 189 of file SWGBladeRF2InputSettings.cpp.

References asJsonObject().

190 {
191  QJsonObject* obj = this->asJsonObject();
192 
193  QJsonDocument doc(*obj);
194  QByteArray bytes = doc.toJson();
195  delete obj;
196  return QString(bytes);
197 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 200 of file SWGBladeRF2InputSettings.cpp.

References bandwidth, bias_tee, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, gain_mode, global_gain, iq_correction, l_oppm_tenths, log2_decim, m_bandwidth_isSet, m_bias_tee_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_gain_mode_isSet, m_global_gain_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_log2_decim_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().

200  {
201  QJsonObject* obj = new QJsonObject();
203  obj->insert("centerFrequency", QJsonValue(center_frequency));
204  }
206  obj->insert("LOppmTenths", QJsonValue(l_oppm_tenths));
207  }
209  obj->insert("devSampleRate", QJsonValue(dev_sample_rate));
210  }
211  if(m_bandwidth_isSet){
212  obj->insert("bandwidth", QJsonValue(bandwidth));
213  }
214  if(m_gain_mode_isSet){
215  obj->insert("gainMode", QJsonValue(gain_mode));
216  }
218  obj->insert("globalGain", QJsonValue(global_gain));
219  }
220  if(m_bias_tee_isSet){
221  obj->insert("biasTee", QJsonValue(bias_tee));
222  }
223  if(m_log2_decim_isSet){
224  obj->insert("log2Decim", QJsonValue(log2_decim));
225  }
226  if(m_fc_pos_isSet){
227  obj->insert("fcPos", QJsonValue(fc_pos));
228  }
229  if(m_dc_block_isSet){
230  obj->insert("dcBlock", QJsonValue(dc_block));
231  }
233  obj->insert("iqCorrection", QJsonValue(iq_correction));
234  }
236  obj->insert("transverterMode", QJsonValue(transverter_mode));
237  }
239  obj->insert("transverterDeltaFrequency", QJsonValue(transverter_delta_frequency));
240  }
241  if(file_record_name != nullptr && *file_record_name != QString("")){
242  toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString"));
243  }
245  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
246  }
247  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
248  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
249  }
251  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
252  }
254  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
255  }
256 
257  return obj;
258 }
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::SWGBladeRF2InputSettings::cleanup ( )

Definition at line 114 of file SWGBladeRF2InputSettings.cpp.

References file_record_name, and reverse_api_address.

Referenced by ~SWGBladeRF2InputSettings().

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

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 140 of file SWGBladeRF2InputSettings.cpp.

References fromJsonObject().

Referenced by SWGBladeRF2InputSettings().

140  {
141  QByteArray array (json.toStdString().c_str());
142  QJsonDocument doc = QJsonDocument::fromJson(array);
143  QJsonObject jsonObject = doc.object();
144  this->fromJsonObject(jsonObject);
145  return this;
146 }
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::SWGBladeRF2InputSettings::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 149 of file SWGBladeRF2InputSettings.cpp.

References bandwidth, bias_tee, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, gain_mode, global_gain, iq_correction, l_oppm_tenths, log2_decim, 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().

149  {
150  ::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
151 
152  ::SWGSDRangel::setValue(&l_oppm_tenths, pJson["LOppmTenths"], "qint32", "");
153 
154  ::SWGSDRangel::setValue(&dev_sample_rate, pJson["devSampleRate"], "qint32", "");
155 
156  ::SWGSDRangel::setValue(&bandwidth, pJson["bandwidth"], "qint32", "");
157 
158  ::SWGSDRangel::setValue(&gain_mode, pJson["gainMode"], "qint32", "");
159 
160  ::SWGSDRangel::setValue(&global_gain, pJson["globalGain"], "qint32", "");
161 
162  ::SWGSDRangel::setValue(&bias_tee, pJson["biasTee"], "qint32", "");
163 
164  ::SWGSDRangel::setValue(&log2_decim, pJson["log2Decim"], "qint32", "");
165 
166  ::SWGSDRangel::setValue(&fc_pos, pJson["fcPos"], "qint32", "");
167 
168  ::SWGSDRangel::setValue(&dc_block, pJson["dcBlock"], "qint32", "");
169 
170  ::SWGSDRangel::setValue(&iq_correction, pJson["iqCorrection"], "qint32", "");
171 
172  ::SWGSDRangel::setValue(&transverter_mode, pJson["transverterMode"], "qint32", "");
173 
174  ::SWGSDRangel::setValue(&transverter_delta_frequency, pJson["transverterDeltaFrequency"], "qint64", "");
175 
176  ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString");
177 
178  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
179 
180  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
181 
182  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
183 
184  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
185 
186 }
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::SWGBladeRF2InputSettings::getBandwidth ( )

Definition at line 291 of file SWGBladeRF2InputSettings.cpp.

References bandwidth.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

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

◆ getBiasTee()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getBiasTee ( )

Definition at line 321 of file SWGBladeRF2InputSettings.cpp.

References bias_tee.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

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

◆ getCenterFrequency()

qint64 SWGSDRangel::SWGBladeRF2InputSettings::getCenterFrequency ( )

Definition at line 261 of file SWGBladeRF2InputSettings.cpp.

References center_frequency.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getDcBlock()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getDcBlock ( )

Definition at line 351 of file SWGBladeRF2InputSettings.cpp.

References dc_block.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

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

◆ getDevSampleRate()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getDevSampleRate ( )

Definition at line 281 of file SWGBladeRF2InputSettings.cpp.

References dev_sample_rate.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getFcPos()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getFcPos ( )

Definition at line 341 of file SWGBladeRF2InputSettings.cpp.

References fc_pos.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

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

◆ getFileRecordName()

QString * SWGSDRangel::SWGBladeRF2InputSettings::getFileRecordName ( )

Definition at line 391 of file SWGBladeRF2InputSettings.cpp.

References file_record_name.

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

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

◆ getGainMode()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getGainMode ( )

Definition at line 301 of file SWGBladeRF2InputSettings.cpp.

References gain_mode.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

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

◆ getGlobalGain()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getGlobalGain ( )

Definition at line 311 of file SWGBladeRF2InputSettings.cpp.

References global_gain.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

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

◆ getIqCorrection()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getIqCorrection ( )

Definition at line 361 of file SWGBladeRF2InputSettings.cpp.

References iq_correction.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getLog2Decim()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getLog2Decim ( )

Definition at line 331 of file SWGBladeRF2InputSettings.cpp.

References log2_decim.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

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

◆ getLOppmTenths()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getLOppmTenths ( )

Definition at line 271 of file SWGBladeRF2InputSettings.cpp.

References l_oppm_tenths.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGBladeRF2InputSettings::getReverseApiAddress ( )

Definition at line 411 of file SWGBladeRF2InputSettings.cpp.

References reverse_api_address.

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

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

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getReverseApiDeviceIndex ( )

Definition at line 431 of file SWGBladeRF2InputSettings.cpp.

References reverse_api_device_index.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getReverseApiPort ( )

Definition at line 421 of file SWGBladeRF2InputSettings.cpp.

References reverse_api_port.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getTransverterDeltaFrequency()

qint64 SWGSDRangel::SWGBladeRF2InputSettings::getTransverterDeltaFrequency ( )

Definition at line 381 of file SWGBladeRF2InputSettings.cpp.

References transverter_delta_frequency.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getTransverterMode()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getTransverterMode ( )

Definition at line 371 of file SWGBladeRF2InputSettings.cpp.

References transverter_mode.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGBladeRF2InputSettings::getUseReverseApi ( )

Definition at line 401 of file SWGBladeRF2InputSettings.cpp.

References use_reverse_api.

Referenced by BladeRF2Input::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ init()

void SWGSDRangel::SWGBladeRF2InputSettings::init ( )

Definition at line 74 of file SWGBladeRF2InputSettings.cpp.

References bandwidth, bias_tee, center_frequency, dc_block, dev_sample_rate, fc_pos, file_record_name, gain_mode, global_gain, iq_correction, l_oppm_tenths, log2_decim, m_bandwidth_isSet, m_bias_tee_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_file_record_name_isSet, m_gain_mode_isSet, m_global_gain_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_log2_decim_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 SWGBladeRF2InputSettings(), and BladeRF2Input::webapiSettingsGet().

74  {
75  center_frequency = 0L;
77  l_oppm_tenths = 0;
78  m_l_oppm_tenths_isSet = false;
79  dev_sample_rate = 0;
81  bandwidth = 0;
82  m_bandwidth_isSet = false;
83  gain_mode = 0;
84  m_gain_mode_isSet = false;
85  global_gain = 0;
86  m_global_gain_isSet = false;
87  bias_tee = 0;
88  m_bias_tee_isSet = false;
89  log2_decim = 0;
90  m_log2_decim_isSet = false;
91  fc_pos = 0;
92  m_fc_pos_isSet = false;
93  dc_block = 0;
94  m_dc_block_isSet = false;
95  iq_correction = 0;
96  m_iq_correction_isSet = false;
97  transverter_mode = 0;
101  file_record_name = new QString("");
102  m_file_record_name_isSet = false;
103  use_reverse_api = 0;
104  m_use_reverse_api_isSet = false;
105  reverse_api_address = new QString("");
107  reverse_api_port = 0;
108  m_reverse_api_port_isSet = false;
111 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGBladeRF2InputSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 442 of file SWGBladeRF2InputSettings.cpp.

References file_record_name, m_bandwidth_isSet, m_bias_tee_isSet, m_center_frequency_isSet, m_dc_block_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_gain_mode_isSet, m_global_gain_isSet, m_iq_correction_isSet, m_l_oppm_tenths_isSet, m_log2_decim_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().

442  {
443  bool isObjectUpdated = false;
444  do{
445  if(m_center_frequency_isSet){ isObjectUpdated = true; break;}
446  if(m_l_oppm_tenths_isSet){ isObjectUpdated = true; break;}
447  if(m_dev_sample_rate_isSet){ isObjectUpdated = true; break;}
448  if(m_bandwidth_isSet){ isObjectUpdated = true; break;}
449  if(m_gain_mode_isSet){ isObjectUpdated = true; break;}
450  if(m_global_gain_isSet){ isObjectUpdated = true; break;}
451  if(m_bias_tee_isSet){ isObjectUpdated = true; break;}
452  if(m_log2_decim_isSet){ isObjectUpdated = true; break;}
453  if(m_fc_pos_isSet){ isObjectUpdated = true; break;}
454  if(m_dc_block_isSet){ isObjectUpdated = true; break;}
455  if(m_iq_correction_isSet){ isObjectUpdated = true; break;}
456  if(m_transverter_mode_isSet){ isObjectUpdated = true; break;}
457  if(m_transverter_delta_frequency_isSet){ isObjectUpdated = true; break;}
458  if(file_record_name != nullptr && *file_record_name != QString("")){ isObjectUpdated = true; break;}
459  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
460  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
461  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
462  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
463  }while(false);
464  return isObjectUpdated;
465 }
+ Here is the caller graph for this function:

◆ setBandwidth()

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

Definition at line 295 of file SWGBladeRF2InputSettings.cpp.

References bandwidth, and m_bandwidth_isSet.

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

+ Here is the caller graph for this function:

◆ setBiasTee()

void SWGSDRangel::SWGBladeRF2InputSettings::setBiasTee ( qint32  bias_tee)

Definition at line 325 of file SWGBladeRF2InputSettings.cpp.

References bias_tee, and m_bias_tee_isSet.

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

+ Here is the caller graph for this function:

◆ setCenterFrequency()

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

◆ setDcBlock()

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

Definition at line 355 of file SWGBladeRF2InputSettings.cpp.

References dc_block, and m_dc_block_isSet.

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

+ Here is the caller graph for this function:

◆ setDevSampleRate()

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

◆ setFcPos()

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

Definition at line 345 of file SWGBladeRF2InputSettings.cpp.

References fc_pos, and m_fc_pos_isSet.

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

+ Here is the caller graph for this function:

◆ setFileRecordName()

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

◆ setGainMode()

void SWGSDRangel::SWGBladeRF2InputSettings::setGainMode ( qint32  gain_mode)

Definition at line 305 of file SWGBladeRF2InputSettings.cpp.

References gain_mode, and m_gain_mode_isSet.

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

+ Here is the caller graph for this function:

◆ setGlobalGain()

void SWGSDRangel::SWGBladeRF2InputSettings::setGlobalGain ( qint32  global_gain)

◆ setIqCorrection()

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

◆ setLog2Decim()

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

Definition at line 335 of file SWGBladeRF2InputSettings.cpp.

References log2_decim, and m_log2_decim_isSet.

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

+ Here is the caller graph for this function:

◆ setLOppmTenths()

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

◆ setReverseApiAddress()

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

Definition at line 415 of file SWGBladeRF2InputSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by BladeRF2Input::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setReverseApiDeviceIndex()

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

◆ setReverseApiPort()

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

Definition at line 425 of file SWGBladeRF2InputSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by BladeRF2Input::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setTransverterDeltaFrequency()

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

◆ setTransverterMode()

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

◆ setUseReverseApi()

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

Definition at line 405 of file SWGBladeRF2InputSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by BladeRF2Input::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

Member Data Documentation

◆ bandwidth

qint32 SWGSDRangel::SWGBladeRF2InputSettings::bandwidth
private

◆ bias_tee

qint32 SWGSDRangel::SWGBladeRF2InputSettings::bias_tee
private

◆ center_frequency

qint64 SWGSDRangel::SWGBladeRF2InputSettings::center_frequency
private

◆ dc_block

qint32 SWGSDRangel::SWGBladeRF2InputSettings::dc_block
private

◆ dev_sample_rate

qint32 SWGSDRangel::SWGBladeRF2InputSettings::dev_sample_rate
private

◆ fc_pos

qint32 SWGSDRangel::SWGBladeRF2InputSettings::fc_pos
private

◆ file_record_name

QString* SWGSDRangel::SWGBladeRF2InputSettings::file_record_name
private

◆ gain_mode

qint32 SWGSDRangel::SWGBladeRF2InputSettings::gain_mode
private

◆ global_gain

qint32 SWGSDRangel::SWGBladeRF2InputSettings::global_gain
private

◆ iq_correction

qint32 SWGSDRangel::SWGBladeRF2InputSettings::iq_correction
private

◆ l_oppm_tenths

qint32 SWGSDRangel::SWGBladeRF2InputSettings::l_oppm_tenths
private

◆ log2_decim

qint32 SWGSDRangel::SWGBladeRF2InputSettings::log2_decim
private

◆ m_bandwidth_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_bandwidth_isSet
private

◆ m_bias_tee_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_bias_tee_isSet
private

◆ m_center_frequency_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_center_frequency_isSet
private

◆ m_dc_block_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_dc_block_isSet
private

◆ m_dev_sample_rate_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_dev_sample_rate_isSet
private

◆ m_fc_pos_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_fc_pos_isSet
private

◆ m_file_record_name_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_file_record_name_isSet
private

Definition at line 143 of file SWGBladeRF2InputSettings.h.

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

◆ m_gain_mode_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_gain_mode_isSet
private

◆ m_global_gain_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_global_gain_isSet
private

◆ m_iq_correction_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_iq_correction_isSet
private

◆ m_l_oppm_tenths_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_l_oppm_tenths_isSet
private

◆ m_log2_decim_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_log2_decim_isSet
private

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_reverse_api_address_isSet
private

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_reverse_api_port_isSet
private

◆ m_transverter_delta_frequency_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_transverter_delta_frequency_isSet
private

◆ m_transverter_mode_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_transverter_mode_isSet
private

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGBladeRF2InputSettings::m_use_reverse_api_isSet
private

◆ reverse_api_address

QString* SWGSDRangel::SWGBladeRF2InputSettings::reverse_api_address
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGBladeRF2InputSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGBladeRF2InputSettings::reverse_api_port
private

◆ transverter_delta_frequency

qint64 SWGSDRangel::SWGBladeRF2InputSettings::transverter_delta_frequency
private

◆ transverter_mode

qint32 SWGSDRangel::SWGBladeRF2InputSettings::transverter_mode
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGBladeRF2InputSettings::use_reverse_api
private

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