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

#include <SWGPerseusSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGPerseusSettings:
+ Collaboration diagram for SWGSDRangel::SWGPerseusSettings:

Public Member Functions

 SWGPerseusSettings ()
 
 SWGPerseusSettings (QString *json)
 
virtual ~SWGPerseusSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGPerseusSettingsfromJson (QString &jsonString) override
 
qint64 getCenterFrequency ()
 
void setCenterFrequency (qint64 center_frequency)
 
qint32 getLOppmTenths ()
 
void setLOppmTenths (qint32 l_oppm_tenths)
 
qint32 getDevSampleRateIndex ()
 
void setDevSampleRateIndex (qint32 dev_sample_rate_index)
 
qint32 getLog2Decim ()
 
void setLog2Decim (qint32 log2_decim)
 
qint32 getAdcDither ()
 
void setAdcDither (qint32 adc_dither)
 
qint32 getAdcPreamp ()
 
void setAdcPreamp (qint32 adc_preamp)
 
qint32 getWideBand ()
 
void setWideBand (qint32 wide_band)
 
qint32 getTransverterMode ()
 
void setTransverterMode (qint32 transverter_mode)
 
qint64 getTransverterDeltaFrequency ()
 
void setTransverterDeltaFrequency (qint64 transverter_delta_frequency)
 
QString * getFileRecordName ()
 
void setFileRecordName (QString *file_record_name)
 
qint32 getAttenuator ()
 
void setAttenuator (qint32 attenuator)
 
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_index
 
bool m_dev_sample_rate_index_isSet
 
qint32 log2_decim
 
bool m_log2_decim_isSet
 
qint32 adc_dither
 
bool m_adc_dither_isSet
 
qint32 adc_preamp
 
bool m_adc_preamp_isSet
 
qint32 wide_band
 
bool m_wide_band_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 attenuator
 
bool m_attenuator_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 SWGPerseusSettings.h.

Constructor & Destructor Documentation

◆ SWGPerseusSettings() [1/2]

SWGSDRangel::SWGPerseusSettings::SWGPerseusSettings ( )

Definition at line 30 of file SWGPerseusSettings.cpp.

References adc_dither, adc_preamp, attenuator, center_frequency, dev_sample_rate_index, file_record_name, l_oppm_tenths, log2_decim, m_adc_dither_isSet, m_adc_preamp_isSet, m_attenuator_isSet, m_center_frequency_isSet, m_dev_sample_rate_index_isSet, m_file_record_name_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, m_wide_band_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, transverter_delta_frequency, transverter_mode, use_reverse_api, and wide_band.

30  {
31  center_frequency = 0L;
33  l_oppm_tenths = 0;
34  m_l_oppm_tenths_isSet = false;
37  log2_decim = 0;
38  m_log2_decim_isSet = false;
39  adc_dither = 0;
40  m_adc_dither_isSet = false;
41  adc_preamp = 0;
42  m_adc_preamp_isSet = false;
43  wide_band = 0;
44  m_wide_band_isSet = false;
45  transverter_mode = 0;
49  file_record_name = nullptr;
51  attenuator = 0;
52  m_attenuator_isSet = false;
53  use_reverse_api = 0;
55  reverse_api_address = nullptr;
57  reverse_api_port = 0;
61 }

◆ SWGPerseusSettings() [2/2]

SWGSDRangel::SWGPerseusSettings::SWGPerseusSettings ( QString *  json)

Definition at line 25 of file SWGPerseusSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGPerseusSettings()

SWGSDRangel::SWGPerseusSettings::~SWGPerseusSettings ( )
virtual

Definition at line 63 of file SWGPerseusSettings.cpp.

References cleanup().

63  {
64  this->cleanup();
65 }
+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGPerseusSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 168 of file SWGPerseusSettings.cpp.

References asJsonObject().

169 {
170  QJsonObject* obj = this->asJsonObject();
171 
172  QJsonDocument doc(*obj);
173  QByteArray bytes = doc.toJson();
174  delete obj;
175  return QString(bytes);
176 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 179 of file SWGPerseusSettings.cpp.

References adc_dither, adc_preamp, attenuator, center_frequency, dev_sample_rate_index, file_record_name, l_oppm_tenths, log2_decim, m_adc_dither_isSet, m_adc_preamp_isSet, m_attenuator_isSet, m_center_frequency_isSet, m_dev_sample_rate_index_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, m_wide_band_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::toJsonValue(), transverter_delta_frequency, transverter_mode, use_reverse_api, and wide_band.

Referenced by asJson().

179  {
180  QJsonObject* obj = new QJsonObject();
182  obj->insert("centerFrequency", QJsonValue(center_frequency));
183  }
185  obj->insert("LOppmTenths", QJsonValue(l_oppm_tenths));
186  }
188  obj->insert("devSampleRateIndex", QJsonValue(dev_sample_rate_index));
189  }
190  if(m_log2_decim_isSet){
191  obj->insert("log2Decim", QJsonValue(log2_decim));
192  }
193  if(m_adc_dither_isSet){
194  obj->insert("adcDither", QJsonValue(adc_dither));
195  }
196  if(m_adc_preamp_isSet){
197  obj->insert("adcPreamp", QJsonValue(adc_preamp));
198  }
199  if(m_wide_band_isSet){
200  obj->insert("wideBand", QJsonValue(wide_band));
201  }
203  obj->insert("transverterMode", QJsonValue(transverter_mode));
204  }
206  obj->insert("transverterDeltaFrequency", QJsonValue(transverter_delta_frequency));
207  }
208  if(file_record_name != nullptr && *file_record_name != QString("")){
209  toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString"));
210  }
211  if(m_attenuator_isSet){
212  obj->insert("attenuator", QJsonValue(attenuator));
213  }
215  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
216  }
217  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
218  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
219  }
221  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
222  }
224  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
225  }
226 
227  return obj;
228 }
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::SWGPerseusSettings::cleanup ( )

Definition at line 102 of file SWGPerseusSettings.cpp.

References file_record_name, and reverse_api_address.

Referenced by ~SWGPerseusSettings().

102  {
103 
104 
105 
106 
107 
108 
109 
110 
111 
112  if(file_record_name != nullptr) {
113  delete file_record_name;
114  }
115 
116 
117  if(reverse_api_address != nullptr) {
118  delete reverse_api_address;
119  }
120 
121 
122 }
+ Here is the caller graph for this function:

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 125 of file SWGPerseusSettings.cpp.

References fromJsonObject().

Referenced by SWGPerseusSettings().

125  {
126  QByteArray array (json.toStdString().c_str());
127  QJsonDocument doc = QJsonDocument::fromJson(array);
128  QJsonObject jsonObject = doc.object();
129  this->fromJsonObject(jsonObject);
130  return this;
131 }
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::SWGPerseusSettings::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 134 of file SWGPerseusSettings.cpp.

References adc_dither, adc_preamp, attenuator, center_frequency, dev_sample_rate_index, file_record_name, l_oppm_tenths, log2_decim, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::setValue(), transverter_delta_frequency, transverter_mode, use_reverse_api, and wide_band.

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

134  {
135  ::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
136 
137  ::SWGSDRangel::setValue(&l_oppm_tenths, pJson["LOppmTenths"], "qint32", "");
138 
139  ::SWGSDRangel::setValue(&dev_sample_rate_index, pJson["devSampleRateIndex"], "qint32", "");
140 
141  ::SWGSDRangel::setValue(&log2_decim, pJson["log2Decim"], "qint32", "");
142 
143  ::SWGSDRangel::setValue(&adc_dither, pJson["adcDither"], "qint32", "");
144 
145  ::SWGSDRangel::setValue(&adc_preamp, pJson["adcPreamp"], "qint32", "");
146 
147  ::SWGSDRangel::setValue(&wide_band, pJson["wideBand"], "qint32", "");
148 
149  ::SWGSDRangel::setValue(&transverter_mode, pJson["transverterMode"], "qint32", "");
150 
151  ::SWGSDRangel::setValue(&transverter_delta_frequency, pJson["transverterDeltaFrequency"], "qint64", "");
152 
153  ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString");
154 
155  ::SWGSDRangel::setValue(&attenuator, pJson["attenuator"], "qint32", "");
156 
157  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
158 
159  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
160 
161  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
162 
163  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
164 
165 }
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:

◆ getAdcDither()

qint32 SWGSDRangel::SWGPerseusSettings::getAdcDither ( )

Definition at line 271 of file SWGPerseusSettings.cpp.

References adc_dither.

Referenced by PerseusInput::webapiSettingsPutPatch().

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

◆ getAdcPreamp()

qint32 SWGSDRangel::SWGPerseusSettings::getAdcPreamp ( )

Definition at line 281 of file SWGPerseusSettings.cpp.

References adc_preamp.

Referenced by PerseusInput::webapiSettingsPutPatch().

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

◆ getAttenuator()

qint32 SWGSDRangel::SWGPerseusSettings::getAttenuator ( )

Definition at line 331 of file SWGPerseusSettings.cpp.

References attenuator.

Referenced by PerseusInput::webapiSettingsPutPatch().

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

◆ getCenterFrequency()

qint64 SWGSDRangel::SWGPerseusSettings::getCenterFrequency ( )

Definition at line 231 of file SWGPerseusSettings.cpp.

References center_frequency.

Referenced by PerseusInput::webapiSettingsPutPatch().

231  {
232  return center_frequency;
233 }
+ Here is the caller graph for this function:

◆ getDevSampleRateIndex()

qint32 SWGSDRangel::SWGPerseusSettings::getDevSampleRateIndex ( )

Definition at line 251 of file SWGPerseusSettings.cpp.

References dev_sample_rate_index.

Referenced by PerseusInput::webapiSettingsPutPatch().

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

◆ getFileRecordName()

QString * SWGSDRangel::SWGPerseusSettings::getFileRecordName ( )

Definition at line 321 of file SWGPerseusSettings.cpp.

References file_record_name.

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

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

◆ getLog2Decim()

qint32 SWGSDRangel::SWGPerseusSettings::getLog2Decim ( )

Definition at line 261 of file SWGPerseusSettings.cpp.

References log2_decim.

Referenced by PerseusInput::webapiSettingsPutPatch().

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

◆ getLOppmTenths()

qint32 SWGSDRangel::SWGPerseusSettings::getLOppmTenths ( )

Definition at line 241 of file SWGPerseusSettings.cpp.

References l_oppm_tenths.

Referenced by PerseusInput::webapiSettingsPutPatch().

241  {
242  return l_oppm_tenths;
243 }
+ Here is the caller graph for this function:

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGPerseusSettings::getReverseApiAddress ( )

Definition at line 351 of file SWGPerseusSettings.cpp.

References reverse_api_address.

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

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

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGPerseusSettings::getReverseApiDeviceIndex ( )

Definition at line 371 of file SWGPerseusSettings.cpp.

References reverse_api_device_index.

Referenced by PerseusInput::webapiSettingsPutPatch().

371  {
373 }
+ Here is the caller graph for this function:

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGPerseusSettings::getReverseApiPort ( )

Definition at line 361 of file SWGPerseusSettings.cpp.

References reverse_api_port.

Referenced by PerseusInput::webapiSettingsPutPatch().

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

◆ getTransverterDeltaFrequency()

qint64 SWGSDRangel::SWGPerseusSettings::getTransverterDeltaFrequency ( )

Definition at line 311 of file SWGPerseusSettings.cpp.

References transverter_delta_frequency.

Referenced by PerseusInput::webapiSettingsPutPatch().

311  {
313 }
+ Here is the caller graph for this function:

◆ getTransverterMode()

qint32 SWGSDRangel::SWGPerseusSettings::getTransverterMode ( )

Definition at line 301 of file SWGPerseusSettings.cpp.

References transverter_mode.

Referenced by PerseusInput::webapiSettingsPutPatch().

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

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGPerseusSettings::getUseReverseApi ( )

Definition at line 341 of file SWGPerseusSettings.cpp.

References use_reverse_api.

Referenced by PerseusInput::webapiSettingsPutPatch().

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

◆ getWideBand()

qint32 SWGSDRangel::SWGPerseusSettings::getWideBand ( )

Definition at line 291 of file SWGPerseusSettings.cpp.

References wide_band.

Referenced by PerseusInput::webapiSettingsPutPatch().

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

◆ init()

void SWGSDRangel::SWGPerseusSettings::init ( )

Definition at line 68 of file SWGPerseusSettings.cpp.

References adc_dither, adc_preamp, attenuator, center_frequency, dev_sample_rate_index, file_record_name, l_oppm_tenths, log2_decim, m_adc_dither_isSet, m_adc_preamp_isSet, m_attenuator_isSet, m_center_frequency_isSet, m_dev_sample_rate_index_isSet, m_file_record_name_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, m_wide_band_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, transverter_delta_frequency, transverter_mode, use_reverse_api, and wide_band.

Referenced by SWGPerseusSettings(), and PerseusInput::webapiSettingsGet().

68  {
69  center_frequency = 0L;
71  l_oppm_tenths = 0;
72  m_l_oppm_tenths_isSet = false;
75  log2_decim = 0;
76  m_log2_decim_isSet = false;
77  adc_dither = 0;
78  m_adc_dither_isSet = false;
79  adc_preamp = 0;
80  m_adc_preamp_isSet = false;
81  wide_band = 0;
82  m_wide_band_isSet = false;
83  transverter_mode = 0;
87  file_record_name = new QString("");
89  attenuator = 0;
90  m_attenuator_isSet = false;
91  use_reverse_api = 0;
93  reverse_api_address = new QString("");
95  reverse_api_port = 0;
99 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGPerseusSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 382 of file SWGPerseusSettings.cpp.

References file_record_name, m_adc_dither_isSet, m_adc_preamp_isSet, m_attenuator_isSet, m_center_frequency_isSet, m_dev_sample_rate_index_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, m_wide_band_isSet, and reverse_api_address.

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

382  {
383  bool isObjectUpdated = false;
384  do{
385  if(m_center_frequency_isSet){ isObjectUpdated = true; break;}
386  if(m_l_oppm_tenths_isSet){ isObjectUpdated = true; break;}
387  if(m_dev_sample_rate_index_isSet){ isObjectUpdated = true; break;}
388  if(m_log2_decim_isSet){ isObjectUpdated = true; break;}
389  if(m_adc_dither_isSet){ isObjectUpdated = true; break;}
390  if(m_adc_preamp_isSet){ isObjectUpdated = true; break;}
391  if(m_wide_band_isSet){ isObjectUpdated = true; break;}
392  if(m_transverter_mode_isSet){ isObjectUpdated = true; break;}
393  if(m_transverter_delta_frequency_isSet){ isObjectUpdated = true; break;}
394  if(file_record_name != nullptr && *file_record_name != QString("")){ isObjectUpdated = true; break;}
395  if(m_attenuator_isSet){ isObjectUpdated = true; break;}
396  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
397  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
398  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
399  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
400  }while(false);
401  return isObjectUpdated;
402 }
+ Here is the caller graph for this function:

◆ setAdcDither()

void SWGSDRangel::SWGPerseusSettings::setAdcDither ( qint32  adc_dither)

Definition at line 275 of file SWGPerseusSettings.cpp.

References adc_dither, and m_adc_dither_isSet.

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

+ Here is the caller graph for this function:

◆ setAdcPreamp()

void SWGSDRangel::SWGPerseusSettings::setAdcPreamp ( qint32  adc_preamp)

Definition at line 285 of file SWGPerseusSettings.cpp.

References adc_preamp, and m_adc_preamp_isSet.

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

+ Here is the caller graph for this function:

◆ setAttenuator()

void SWGSDRangel::SWGPerseusSettings::setAttenuator ( qint32  attenuator)

Definition at line 335 of file SWGPerseusSettings.cpp.

References attenuator, and m_attenuator_isSet.

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

+ Here is the caller graph for this function:

◆ setCenterFrequency()

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

Definition at line 235 of file SWGPerseusSettings.cpp.

References center_frequency, and m_center_frequency_isSet.

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

+ Here is the caller graph for this function:

◆ setDevSampleRateIndex()

void SWGSDRangel::SWGPerseusSettings::setDevSampleRateIndex ( qint32  dev_sample_rate_index)

◆ setFileRecordName()

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

Definition at line 325 of file SWGPerseusSettings.cpp.

References file_record_name, and m_file_record_name_isSet.

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

+ Here is the caller graph for this function:

◆ setLog2Decim()

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

Definition at line 265 of file SWGPerseusSettings.cpp.

References log2_decim, and m_log2_decim_isSet.

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

+ Here is the caller graph for this function:

◆ setLOppmTenths()

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

Definition at line 245 of file SWGPerseusSettings.cpp.

References l_oppm_tenths, and m_l_oppm_tenths_isSet.

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

+ Here is the caller graph for this function:

◆ setReverseApiAddress()

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

Definition at line 355 of file SWGPerseusSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by PerseusInput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setReverseApiDeviceIndex()

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

Definition at line 375 of file SWGPerseusSettings.cpp.

References m_reverse_api_device_index_isSet, and reverse_api_device_index.

Referenced by PerseusInput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setReverseApiPort()

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

Definition at line 365 of file SWGPerseusSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by PerseusInput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setTransverterDeltaFrequency()

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

◆ setTransverterMode()

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

Definition at line 305 of file SWGPerseusSettings.cpp.

References m_transverter_mode_isSet, and transverter_mode.

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

+ Here is the caller graph for this function:

◆ setUseReverseApi()

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

Definition at line 345 of file SWGPerseusSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by PerseusInput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setWideBand()

void SWGSDRangel::SWGPerseusSettings::setWideBand ( qint32  wide_band)

Definition at line 295 of file SWGPerseusSettings.cpp.

References m_wide_band_isSet, and wide_band.

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

295  {
296  this->wide_band = wide_band;
297  this->m_wide_band_isSet = true;
298 }
+ Here is the caller graph for this function:

Member Data Documentation

◆ adc_dither

qint32 SWGSDRangel::SWGPerseusSettings::adc_dither
private

◆ adc_preamp

qint32 SWGSDRangel::SWGPerseusSettings::adc_preamp
private

◆ attenuator

qint32 SWGSDRangel::SWGPerseusSettings::attenuator
private

◆ center_frequency

qint64 SWGSDRangel::SWGPerseusSettings::center_frequency
private

◆ dev_sample_rate_index

qint32 SWGSDRangel::SWGPerseusSettings::dev_sample_rate_index
private

◆ file_record_name

QString* SWGSDRangel::SWGPerseusSettings::file_record_name
private

◆ l_oppm_tenths

qint32 SWGSDRangel::SWGPerseusSettings::l_oppm_tenths
private

◆ log2_decim

qint32 SWGSDRangel::SWGPerseusSettings::log2_decim
private

◆ m_adc_dither_isSet

bool SWGSDRangel::SWGPerseusSettings::m_adc_dither_isSet
private

Definition at line 107 of file SWGPerseusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setAdcDither(), and SWGPerseusSettings().

◆ m_adc_preamp_isSet

bool SWGSDRangel::SWGPerseusSettings::m_adc_preamp_isSet
private

Definition at line 110 of file SWGPerseusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setAdcPreamp(), and SWGPerseusSettings().

◆ m_attenuator_isSet

bool SWGSDRangel::SWGPerseusSettings::m_attenuator_isSet
private

Definition at line 125 of file SWGPerseusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setAttenuator(), and SWGPerseusSettings().

◆ m_center_frequency_isSet

bool SWGSDRangel::SWGPerseusSettings::m_center_frequency_isSet
private

◆ m_dev_sample_rate_index_isSet

bool SWGSDRangel::SWGPerseusSettings::m_dev_sample_rate_index_isSet
private

◆ m_file_record_name_isSet

bool SWGSDRangel::SWGPerseusSettings::m_file_record_name_isSet
private

Definition at line 122 of file SWGPerseusSettings.h.

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

◆ m_l_oppm_tenths_isSet

bool SWGSDRangel::SWGPerseusSettings::m_l_oppm_tenths_isSet
private

Definition at line 98 of file SWGPerseusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setLOppmTenths(), and SWGPerseusSettings().

◆ m_log2_decim_isSet

bool SWGSDRangel::SWGPerseusSettings::m_log2_decim_isSet
private

Definition at line 104 of file SWGPerseusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setLog2Decim(), and SWGPerseusSettings().

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGPerseusSettings::m_reverse_api_address_isSet
private

Definition at line 131 of file SWGPerseusSettings.h.

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

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGPerseusSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGPerseusSettings::m_reverse_api_port_isSet
private

◆ m_transverter_delta_frequency_isSet

bool SWGSDRangel::SWGPerseusSettings::m_transverter_delta_frequency_isSet
private

◆ m_transverter_mode_isSet

bool SWGSDRangel::SWGPerseusSettings::m_transverter_mode_isSet
private

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGPerseusSettings::m_use_reverse_api_isSet
private

Definition at line 128 of file SWGPerseusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGPerseusSettings().

◆ m_wide_band_isSet

bool SWGSDRangel::SWGPerseusSettings::m_wide_band_isSet
private

Definition at line 113 of file SWGPerseusSettings.h.

Referenced by asJsonObject(), init(), isSet(), setWideBand(), and SWGPerseusSettings().

◆ reverse_api_address

QString* SWGSDRangel::SWGPerseusSettings::reverse_api_address
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGPerseusSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGPerseusSettings::reverse_api_port
private

◆ transverter_delta_frequency

qint64 SWGSDRangel::SWGPerseusSettings::transverter_delta_frequency
private

◆ transverter_mode

qint32 SWGSDRangel::SWGPerseusSettings::transverter_mode
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGPerseusSettings::use_reverse_api
private

◆ wide_band

qint32 SWGSDRangel::SWGPerseusSettings::wide_band
private

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