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

#include <SWGXtrxOutputSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGXtrxOutputSettings:
+ Collaboration diagram for SWGSDRangel::SWGXtrxOutputSettings:

Public Member Functions

 SWGXtrxOutputSettings ()
 
 SWGXtrxOutputSettings (QString *json)
 
virtual ~SWGXtrxOutputSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGXtrxOutputSettingsfromJson (QString &jsonString) override
 
qint64 getCenterFrequency ()
 
void setCenterFrequency (qint64 center_frequency)
 
qint32 getDevSampleRate ()
 
void setDevSampleRate (qint32 dev_sample_rate)
 
qint32 getLog2HardInterp ()
 
void setLog2HardInterp (qint32 log2_hard_interp)
 
qint32 getLog2SoftInterp ()
 
void setLog2SoftInterp (qint32 log2_soft_interp)
 
qint32 getLpfBw ()
 
void setLpfBw (qint32 lpf_bw)
 
qint32 getGain ()
 
void setGain (qint32 gain)
 
qint32 getNcoEnable ()
 
void setNcoEnable (qint32 nco_enable)
 
qint32 getNcoFrequency ()
 
void setNcoFrequency (qint32 nco_frequency)
 
qint32 getAntennaPath ()
 
void setAntennaPath (qint32 antenna_path)
 
qint32 getExtClock ()
 
void setExtClock (qint32 ext_clock)
 
qint32 getExtClockFreq ()
 
void setExtClockFreq (qint32 ext_clock_freq)
 
qint32 getPwrmode ()
 
void setPwrmode (qint32 pwrmode)
 
qint32 getUseReverseApi ()
 
void setUseReverseApi (qint32 use_reverse_api)
 
QString * getReverseApiAddress ()
 
void setReverseApiAddress (QString *reverse_api_address)
 
qint32 getReverseApiPort ()
 
void setReverseApiPort (qint32 reverse_api_port)
 
qint32 getReverseApiDeviceIndex ()
 
void setReverseApiDeviceIndex (qint32 reverse_api_device_index)
 
virtual bool isSet () override
 
- Public Member Functions inherited from SWGSDRangel::SWGObject
virtual ~SWGObject ()
 

Private Attributes

qint64 center_frequency
 
bool m_center_frequency_isSet
 
qint32 dev_sample_rate
 
bool m_dev_sample_rate_isSet
 
qint32 log2_hard_interp
 
bool m_log2_hard_interp_isSet
 
qint32 log2_soft_interp
 
bool m_log2_soft_interp_isSet
 
qint32 lpf_bw
 
bool m_lpf_bw_isSet
 
qint32 gain
 
bool m_gain_isSet
 
qint32 nco_enable
 
bool m_nco_enable_isSet
 
qint32 nco_frequency
 
bool m_nco_frequency_isSet
 
qint32 antenna_path
 
bool m_antenna_path_isSet
 
qint32 ext_clock
 
bool m_ext_clock_isSet
 
qint32 ext_clock_freq
 
bool m_ext_clock_freq_isSet
 
qint32 pwrmode
 
bool m_pwrmode_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 SWGXtrxOutputSettings.h.

Constructor & Destructor Documentation

◆ SWGXtrxOutputSettings() [1/2]

SWGSDRangel::SWGXtrxOutputSettings::SWGXtrxOutputSettings ( )

Definition at line 30 of file SWGXtrxOutputSettings.cpp.

References antenna_path, center_frequency, dev_sample_rate, ext_clock, ext_clock_freq, gain, log2_hard_interp, log2_soft_interp, lpf_bw, m_antenna_path_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_ext_clock_freq_isSet, m_ext_clock_isSet, m_gain_isSet, m_log2_hard_interp_isSet, m_log2_soft_interp_isSet, m_lpf_bw_isSet, m_nco_enable_isSet, m_nco_frequency_isSet, m_pwrmode_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, nco_enable, nco_frequency, pwrmode, reverse_api_address, reverse_api_device_index, reverse_api_port, and use_reverse_api.

30  {
31  center_frequency = 0L;
33  dev_sample_rate = 0;
35  log2_hard_interp = 0;
37  log2_soft_interp = 0;
39  lpf_bw = 0;
40  m_lpf_bw_isSet = false;
41  gain = 0;
42  m_gain_isSet = false;
43  nco_enable = 0;
44  m_nco_enable_isSet = false;
45  nco_frequency = 0;
46  m_nco_frequency_isSet = false;
47  antenna_path = 0;
48  m_antenna_path_isSet = false;
49  ext_clock = 0;
50  m_ext_clock_isSet = false;
51  ext_clock_freq = 0;
52  m_ext_clock_freq_isSet = false;
53  pwrmode = 0;
54  m_pwrmode_isSet = false;
55  use_reverse_api = 0;
57  reverse_api_address = nullptr;
59  reverse_api_port = 0;
63 }

◆ SWGXtrxOutputSettings() [2/2]

SWGSDRangel::SWGXtrxOutputSettings::SWGXtrxOutputSettings ( QString *  json)

Definition at line 25 of file SWGXtrxOutputSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGXtrxOutputSettings()

SWGSDRangel::SWGXtrxOutputSettings::~SWGXtrxOutputSettings ( )
virtual

Definition at line 65 of file SWGXtrxOutputSettings.cpp.

References cleanup().

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

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGXtrxOutputSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 173 of file SWGXtrxOutputSettings.cpp.

References asJsonObject().

174 {
175  QJsonObject* obj = this->asJsonObject();
176 
177  QJsonDocument doc(*obj);
178  QByteArray bytes = doc.toJson();
179  delete obj;
180  return QString(bytes);
181 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 184 of file SWGXtrxOutputSettings.cpp.

References antenna_path, center_frequency, dev_sample_rate, ext_clock, ext_clock_freq, gain, log2_hard_interp, log2_soft_interp, lpf_bw, m_antenna_path_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_ext_clock_freq_isSet, m_ext_clock_isSet, m_gain_isSet, m_log2_hard_interp_isSet, m_log2_soft_interp_isSet, m_lpf_bw_isSet, m_nco_enable_isSet, m_nco_frequency_isSet, m_pwrmode_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, nco_enable, nco_frequency, pwrmode, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::toJsonValue(), and use_reverse_api.

Referenced by asJson().

184  {
185  QJsonObject* obj = new QJsonObject();
187  obj->insert("centerFrequency", QJsonValue(center_frequency));
188  }
190  obj->insert("devSampleRate", QJsonValue(dev_sample_rate));
191  }
193  obj->insert("log2HardInterp", QJsonValue(log2_hard_interp));
194  }
196  obj->insert("log2SoftInterp", QJsonValue(log2_soft_interp));
197  }
198  if(m_lpf_bw_isSet){
199  obj->insert("lpfBW", QJsonValue(lpf_bw));
200  }
201  if(m_gain_isSet){
202  obj->insert("gain", QJsonValue(gain));
203  }
204  if(m_nco_enable_isSet){
205  obj->insert("ncoEnable", QJsonValue(nco_enable));
206  }
208  obj->insert("ncoFrequency", QJsonValue(nco_frequency));
209  }
211  obj->insert("antennaPath", QJsonValue(antenna_path));
212  }
213  if(m_ext_clock_isSet){
214  obj->insert("extClock", QJsonValue(ext_clock));
215  }
217  obj->insert("extClockFreq", QJsonValue(ext_clock_freq));
218  }
219  if(m_pwrmode_isSet){
220  obj->insert("pwrmode", QJsonValue(pwrmode));
221  }
223  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
224  }
225  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
226  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
227  }
229  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
230  }
232  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
233  }
234 
235  return obj;
236 }
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::SWGXtrxOutputSettings::cleanup ( )

Definition at line 106 of file SWGXtrxOutputSettings.cpp.

References reverse_api_address.

Referenced by ~SWGXtrxOutputSettings().

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

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 128 of file SWGXtrxOutputSettings.cpp.

References fromJsonObject().

Referenced by SWGXtrxOutputSettings().

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 137 of file SWGXtrxOutputSettings.cpp.

References antenna_path, center_frequency, dev_sample_rate, ext_clock, ext_clock_freq, gain, log2_hard_interp, log2_soft_interp, lpf_bw, nco_enable, nco_frequency, pwrmode, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::setValue(), and use_reverse_api.

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

137  {
138  ::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
139 
140  ::SWGSDRangel::setValue(&dev_sample_rate, pJson["devSampleRate"], "qint32", "");
141 
142  ::SWGSDRangel::setValue(&log2_hard_interp, pJson["log2HardInterp"], "qint32", "");
143 
144  ::SWGSDRangel::setValue(&log2_soft_interp, pJson["log2SoftInterp"], "qint32", "");
145 
146  ::SWGSDRangel::setValue(&lpf_bw, pJson["lpfBW"], "qint32", "");
147 
148  ::SWGSDRangel::setValue(&gain, pJson["gain"], "qint32", "");
149 
150  ::SWGSDRangel::setValue(&nco_enable, pJson["ncoEnable"], "qint32", "");
151 
152  ::SWGSDRangel::setValue(&nco_frequency, pJson["ncoFrequency"], "qint32", "");
153 
154  ::SWGSDRangel::setValue(&antenna_path, pJson["antennaPath"], "qint32", "");
155 
156  ::SWGSDRangel::setValue(&ext_clock, pJson["extClock"], "qint32", "");
157 
158  ::SWGSDRangel::setValue(&ext_clock_freq, pJson["extClockFreq"], "qint32", "");
159 
160  ::SWGSDRangel::setValue(&pwrmode, pJson["pwrmode"], "qint32", "");
161 
162  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
163 
164  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
165 
166  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
167 
168  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
169 
170 }
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
Definition: SWGHelpers.cpp:25
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAntennaPath()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getAntennaPath ( )

Definition at line 319 of file SWGXtrxOutputSettings.cpp.

References antenna_path.

Referenced by XTRXOutput::webapiSettingsPutPatch().

319  {
320  return antenna_path;
321 }
+ Here is the caller graph for this function:

◆ getCenterFrequency()

qint64 SWGSDRangel::SWGXtrxOutputSettings::getCenterFrequency ( )

Definition at line 239 of file SWGXtrxOutputSettings.cpp.

References center_frequency.

Referenced by XTRXOutput::webapiSettingsPutPatch().

239  {
240  return center_frequency;
241 }
+ Here is the caller graph for this function:

◆ getDevSampleRate()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getDevSampleRate ( )

Definition at line 249 of file SWGXtrxOutputSettings.cpp.

References dev_sample_rate.

Referenced by XTRXOutput::webapiSettingsPutPatch().

249  {
250  return dev_sample_rate;
251 }
+ Here is the caller graph for this function:

◆ getExtClock()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getExtClock ( )

Definition at line 329 of file SWGXtrxOutputSettings.cpp.

References ext_clock.

Referenced by XTRXOutput::webapiSettingsPutPatch().

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

◆ getExtClockFreq()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getExtClockFreq ( )

Definition at line 339 of file SWGXtrxOutputSettings.cpp.

References ext_clock_freq.

Referenced by XTRXOutput::webapiSettingsPutPatch().

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

◆ getGain()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getGain ( )

Definition at line 289 of file SWGXtrxOutputSettings.cpp.

References gain.

Referenced by XTRXOutput::webapiSettingsPutPatch().

289  {
290  return gain;
291 }
+ Here is the caller graph for this function:

◆ getLog2HardInterp()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getLog2HardInterp ( )

Definition at line 259 of file SWGXtrxOutputSettings.cpp.

References log2_hard_interp.

Referenced by XTRXOutput::webapiSettingsPutPatch().

259  {
260  return log2_hard_interp;
261 }
+ Here is the caller graph for this function:

◆ getLog2SoftInterp()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getLog2SoftInterp ( )

Definition at line 269 of file SWGXtrxOutputSettings.cpp.

References log2_soft_interp.

Referenced by XTRXOutput::webapiSettingsPutPatch().

269  {
270  return log2_soft_interp;
271 }
+ Here is the caller graph for this function:

◆ getLpfBw()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getLpfBw ( )

Definition at line 279 of file SWGXtrxOutputSettings.cpp.

References lpf_bw.

Referenced by XTRXOutput::webapiSettingsPutPatch().

279  {
280  return lpf_bw;
281 }
+ Here is the caller graph for this function:

◆ getNcoEnable()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getNcoEnable ( )

Definition at line 299 of file SWGXtrxOutputSettings.cpp.

References nco_enable.

Referenced by XTRXOutput::webapiSettingsPutPatch().

299  {
300  return nco_enable;
301 }
+ Here is the caller graph for this function:

◆ getNcoFrequency()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getNcoFrequency ( )

Definition at line 309 of file SWGXtrxOutputSettings.cpp.

References nco_frequency.

Referenced by XTRXOutput::webapiSettingsPutPatch().

309  {
310  return nco_frequency;
311 }
+ Here is the caller graph for this function:

◆ getPwrmode()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getPwrmode ( )

Definition at line 349 of file SWGXtrxOutputSettings.cpp.

References pwrmode.

Referenced by XTRXOutput::webapiSettingsPutPatch().

349  {
350  return pwrmode;
351 }
+ Here is the caller graph for this function:

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGXtrxOutputSettings::getReverseApiAddress ( )

Definition at line 369 of file SWGXtrxOutputSettings.cpp.

References reverse_api_address.

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

369  {
370  return reverse_api_address;
371 }
+ Here is the caller graph for this function:

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getReverseApiDeviceIndex ( )

Definition at line 389 of file SWGXtrxOutputSettings.cpp.

References reverse_api_device_index.

Referenced by XTRXOutput::webapiSettingsPutPatch().

389  {
391 }
+ Here is the caller graph for this function:

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getReverseApiPort ( )

Definition at line 379 of file SWGXtrxOutputSettings.cpp.

References reverse_api_port.

Referenced by XTRXOutput::webapiSettingsPutPatch().

379  {
380  return reverse_api_port;
381 }
+ Here is the caller graph for this function:

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGXtrxOutputSettings::getUseReverseApi ( )

Definition at line 359 of file SWGXtrxOutputSettings.cpp.

References use_reverse_api.

Referenced by XTRXOutput::webapiSettingsPutPatch().

359  {
360  return use_reverse_api;
361 }
+ Here is the caller graph for this function:

◆ init()

void SWGSDRangel::SWGXtrxOutputSettings::init ( )

Definition at line 70 of file SWGXtrxOutputSettings.cpp.

References antenna_path, center_frequency, dev_sample_rate, ext_clock, ext_clock_freq, gain, log2_hard_interp, log2_soft_interp, lpf_bw, m_antenna_path_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_ext_clock_freq_isSet, m_ext_clock_isSet, m_gain_isSet, m_log2_hard_interp_isSet, m_log2_soft_interp_isSet, m_lpf_bw_isSet, m_nco_enable_isSet, m_nco_frequency_isSet, m_pwrmode_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, nco_enable, nco_frequency, pwrmode, reverse_api_address, reverse_api_device_index, reverse_api_port, and use_reverse_api.

Referenced by SWGXtrxOutputSettings(), and XTRXOutput::webapiSettingsGet().

70  {
71  center_frequency = 0L;
73  dev_sample_rate = 0;
75  log2_hard_interp = 0;
77  log2_soft_interp = 0;
79  lpf_bw = 0;
80  m_lpf_bw_isSet = false;
81  gain = 0;
82  m_gain_isSet = false;
83  nco_enable = 0;
84  m_nco_enable_isSet = false;
85  nco_frequency = 0;
86  m_nco_frequency_isSet = false;
87  antenna_path = 0;
88  m_antenna_path_isSet = false;
89  ext_clock = 0;
90  m_ext_clock_isSet = false;
91  ext_clock_freq = 0;
92  m_ext_clock_freq_isSet = false;
93  pwrmode = 0;
94  m_pwrmode_isSet = false;
95  use_reverse_api = 0;
97  reverse_api_address = new QString("");
99  reverse_api_port = 0;
100  m_reverse_api_port_isSet = false;
103 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGXtrxOutputSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 400 of file SWGXtrxOutputSettings.cpp.

References m_antenna_path_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_ext_clock_freq_isSet, m_ext_clock_isSet, m_gain_isSet, m_log2_hard_interp_isSet, m_log2_soft_interp_isSet, m_lpf_bw_isSet, m_nco_enable_isSet, m_nco_frequency_isSet, m_pwrmode_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_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().

400  {
401  bool isObjectUpdated = false;
402  do{
403  if(m_center_frequency_isSet){ isObjectUpdated = true; break;}
404  if(m_dev_sample_rate_isSet){ isObjectUpdated = true; break;}
405  if(m_log2_hard_interp_isSet){ isObjectUpdated = true; break;}
406  if(m_log2_soft_interp_isSet){ isObjectUpdated = true; break;}
407  if(m_lpf_bw_isSet){ isObjectUpdated = true; break;}
408  if(m_gain_isSet){ isObjectUpdated = true; break;}
409  if(m_nco_enable_isSet){ isObjectUpdated = true; break;}
410  if(m_nco_frequency_isSet){ isObjectUpdated = true; break;}
411  if(m_antenna_path_isSet){ isObjectUpdated = true; break;}
412  if(m_ext_clock_isSet){ isObjectUpdated = true; break;}
413  if(m_ext_clock_freq_isSet){ isObjectUpdated = true; break;}
414  if(m_pwrmode_isSet){ isObjectUpdated = true; break;}
415  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
416  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
417  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
418  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
419  }while(false);
420  return isObjectUpdated;
421 }
+ Here is the caller graph for this function:

◆ setAntennaPath()

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

Definition at line 323 of file SWGXtrxOutputSettings.cpp.

References antenna_path, and m_antenna_path_isSet.

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

+ Here is the caller graph for this function:

◆ setCenterFrequency()

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

Definition at line 243 of file SWGXtrxOutputSettings.cpp.

References center_frequency, and m_center_frequency_isSet.

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

+ Here is the caller graph for this function:

◆ setDevSampleRate()

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

Definition at line 253 of file SWGXtrxOutputSettings.cpp.

References dev_sample_rate, and m_dev_sample_rate_isSet.

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

+ Here is the caller graph for this function:

◆ setExtClock()

void SWGSDRangel::SWGXtrxOutputSettings::setExtClock ( qint32  ext_clock)

Definition at line 333 of file SWGXtrxOutputSettings.cpp.

References ext_clock, and m_ext_clock_isSet.

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

+ Here is the caller graph for this function:

◆ setExtClockFreq()

void SWGSDRangel::SWGXtrxOutputSettings::setExtClockFreq ( qint32  ext_clock_freq)

Definition at line 343 of file SWGXtrxOutputSettings.cpp.

References ext_clock_freq, and m_ext_clock_freq_isSet.

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

+ Here is the caller graph for this function:

◆ setGain()

void SWGSDRangel::SWGXtrxOutputSettings::setGain ( qint32  gain)

Definition at line 293 of file SWGXtrxOutputSettings.cpp.

References gain, and m_gain_isSet.

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

+ Here is the caller graph for this function:

◆ setLog2HardInterp()

void SWGSDRangel::SWGXtrxOutputSettings::setLog2HardInterp ( qint32  log2_hard_interp)

Definition at line 263 of file SWGXtrxOutputSettings.cpp.

References log2_hard_interp, and m_log2_hard_interp_isSet.

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

+ Here is the caller graph for this function:

◆ setLog2SoftInterp()

void SWGSDRangel::SWGXtrxOutputSettings::setLog2SoftInterp ( qint32  log2_soft_interp)

Definition at line 273 of file SWGXtrxOutputSettings.cpp.

References log2_soft_interp, and m_log2_soft_interp_isSet.

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

+ Here is the caller graph for this function:

◆ setLpfBw()

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

Definition at line 283 of file SWGXtrxOutputSettings.cpp.

References lpf_bw, and m_lpf_bw_isSet.

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

+ Here is the caller graph for this function:

◆ setNcoEnable()

void SWGSDRangel::SWGXtrxOutputSettings::setNcoEnable ( qint32  nco_enable)

Definition at line 303 of file SWGXtrxOutputSettings.cpp.

References m_nco_enable_isSet, and nco_enable.

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

+ Here is the caller graph for this function:

◆ setNcoFrequency()

void SWGSDRangel::SWGXtrxOutputSettings::setNcoFrequency ( qint32  nco_frequency)

Definition at line 313 of file SWGXtrxOutputSettings.cpp.

References m_nco_frequency_isSet, and nco_frequency.

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

+ Here is the caller graph for this function:

◆ setPwrmode()

void SWGSDRangel::SWGXtrxOutputSettings::setPwrmode ( qint32  pwrmode)

Definition at line 353 of file SWGXtrxOutputSettings.cpp.

References m_pwrmode_isSet, and pwrmode.

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

+ Here is the caller graph for this function:

◆ setReverseApiAddress()

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

Definition at line 373 of file SWGXtrxOutputSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by XTRXOutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setReverseApiDeviceIndex()

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

◆ setReverseApiPort()

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

Definition at line 383 of file SWGXtrxOutputSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by XTRXOutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setUseReverseApi()

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

Definition at line 363 of file SWGXtrxOutputSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by XTRXOutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

Member Data Documentation

◆ antenna_path

qint32 SWGSDRangel::SWGXtrxOutputSettings::antenna_path
private

◆ center_frequency

qint64 SWGSDRangel::SWGXtrxOutputSettings::center_frequency
private

◆ dev_sample_rate

qint32 SWGSDRangel::SWGXtrxOutputSettings::dev_sample_rate
private

◆ ext_clock

qint32 SWGSDRangel::SWGXtrxOutputSettings::ext_clock
private

◆ ext_clock_freq

qint32 SWGSDRangel::SWGXtrxOutputSettings::ext_clock_freq
private

◆ gain

qint32 SWGSDRangel::SWGXtrxOutputSettings::gain
private

◆ log2_hard_interp

qint32 SWGSDRangel::SWGXtrxOutputSettings::log2_hard_interp
private

◆ log2_soft_interp

qint32 SWGSDRangel::SWGXtrxOutputSettings::log2_soft_interp
private

◆ lpf_bw

qint32 SWGSDRangel::SWGXtrxOutputSettings::lpf_bw
private

◆ m_antenna_path_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_antenna_path_isSet
private

◆ m_center_frequency_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_center_frequency_isSet
private

◆ m_dev_sample_rate_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_dev_sample_rate_isSet
private

◆ m_ext_clock_freq_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_ext_clock_freq_isSet
private

◆ m_ext_clock_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_ext_clock_isSet
private

◆ m_gain_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_gain_isSet
private

Definition at line 113 of file SWGXtrxOutputSettings.h.

Referenced by asJsonObject(), init(), isSet(), setGain(), and SWGXtrxOutputSettings().

◆ m_log2_hard_interp_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_log2_hard_interp_isSet
private

◆ m_log2_soft_interp_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_log2_soft_interp_isSet
private

◆ m_lpf_bw_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_lpf_bw_isSet
private

Definition at line 110 of file SWGXtrxOutputSettings.h.

Referenced by asJsonObject(), init(), isSet(), setLpfBw(), and SWGXtrxOutputSettings().

◆ m_nco_enable_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_nco_enable_isSet
private

◆ m_nco_frequency_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_nco_frequency_isSet
private

◆ m_pwrmode_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_pwrmode_isSet
private

Definition at line 131 of file SWGXtrxOutputSettings.h.

Referenced by asJsonObject(), init(), isSet(), setPwrmode(), and SWGXtrxOutputSettings().

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_reverse_api_address_isSet
private

Definition at line 137 of file SWGXtrxOutputSettings.h.

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

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_reverse_api_port_isSet
private

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGXtrxOutputSettings::m_use_reverse_api_isSet
private

◆ nco_enable

qint32 SWGSDRangel::SWGXtrxOutputSettings::nco_enable
private

◆ nco_frequency

qint32 SWGSDRangel::SWGXtrxOutputSettings::nco_frequency
private

◆ pwrmode

qint32 SWGSDRangel::SWGXtrxOutputSettings::pwrmode
private

◆ reverse_api_address

QString* SWGSDRangel::SWGXtrxOutputSettings::reverse_api_address
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGXtrxOutputSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGXtrxOutputSettings::reverse_api_port
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGXtrxOutputSettings::use_reverse_api
private

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