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

#include <SWGHackRFOutputSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGHackRFOutputSettings:
+ Collaboration diagram for SWGSDRangel::SWGHackRFOutputSettings:

Public Member Functions

 SWGHackRFOutputSettings ()
 
 SWGHackRFOutputSettings (QString *json)
 
virtual ~SWGHackRFOutputSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGHackRFOutputSettingsfromJson (QString &jsonString) override
 
qint64 getCenterFrequency ()
 
void setCenterFrequency (qint64 center_frequency)
 
qint32 getLOppmTenths ()
 
void setLOppmTenths (qint32 l_oppm_tenths)
 
qint32 getBandwidth ()
 
void setBandwidth (qint32 bandwidth)
 
qint32 getVgaGain ()
 
void setVgaGain (qint32 vga_gain)
 
qint32 getLog2Interp ()
 
void setLog2Interp (qint32 log2_interp)
 
qint32 getFcPos ()
 
void setFcPos (qint32 fc_pos)
 
qint32 getDevSampleRate ()
 
void setDevSampleRate (qint32 dev_sample_rate)
 
qint32 getBiasT ()
 
void setBiasT (qint32 bias_t)
 
qint32 getLnaExt ()
 
void setLnaExt (qint32 lna_ext)
 
qint32 getUseReverseApi ()
 
void setUseReverseApi (qint32 use_reverse_api)
 
QString * getReverseApiAddress ()
 
void setReverseApiAddress (QString *reverse_api_address)
 
qint32 getReverseApiPort ()
 
void setReverseApiPort (qint32 reverse_api_port)
 
qint32 getReverseApiDeviceIndex ()
 
void setReverseApiDeviceIndex (qint32 reverse_api_device_index)
 
virtual bool isSet () override
 
- Public Member Functions inherited from SWGSDRangel::SWGObject
virtual ~SWGObject ()
 

Private Attributes

qint64 center_frequency
 
bool m_center_frequency_isSet
 
qint32 l_oppm_tenths
 
bool m_l_oppm_tenths_isSet
 
qint32 bandwidth
 
bool m_bandwidth_isSet
 
qint32 vga_gain
 
bool m_vga_gain_isSet
 
qint32 log2_interp
 
bool m_log2_interp_isSet
 
qint32 fc_pos
 
bool m_fc_pos_isSet
 
qint32 dev_sample_rate
 
bool m_dev_sample_rate_isSet
 
qint32 bias_t
 
bool m_bias_t_isSet
 
qint32 lna_ext
 
bool m_lna_ext_isSet
 
qint32 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 SWGHackRFOutputSettings.h.

Constructor & Destructor Documentation

◆ SWGHackRFOutputSettings() [1/2]

SWGSDRangel::SWGHackRFOutputSettings::SWGHackRFOutputSettings ( )

Definition at line 30 of file SWGHackRFOutputSettings.cpp.

References bandwidth, bias_t, center_frequency, dev_sample_rate, fc_pos, l_oppm_tenths, lna_ext, log2_interp, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_log2_interp_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, use_reverse_api, and vga_gain.

30  {
31  center_frequency = 0L;
33  l_oppm_tenths = 0;
34  m_l_oppm_tenths_isSet = false;
35  bandwidth = 0;
36  m_bandwidth_isSet = false;
37  vga_gain = 0;
38  m_vga_gain_isSet = false;
39  log2_interp = 0;
40  m_log2_interp_isSet = false;
41  fc_pos = 0;
42  m_fc_pos_isSet = false;
43  dev_sample_rate = 0;
45  bias_t = 0;
46  m_bias_t_isSet = false;
47  lna_ext = 0;
48  m_lna_ext_isSet = false;
49  use_reverse_api = 0;
51  reverse_api_address = nullptr;
53  reverse_api_port = 0;
57 }

◆ SWGHackRFOutputSettings() [2/2]

SWGSDRangel::SWGHackRFOutputSettings::SWGHackRFOutputSettings ( QString *  json)

Definition at line 25 of file SWGHackRFOutputSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGHackRFOutputSettings()

SWGSDRangel::SWGHackRFOutputSettings::~SWGHackRFOutputSettings ( )
virtual

Definition at line 59 of file SWGHackRFOutputSettings.cpp.

References cleanup().

59  {
60  this->cleanup();
61 }
+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGHackRFOutputSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 152 of file SWGHackRFOutputSettings.cpp.

References asJsonObject().

153 {
154  QJsonObject* obj = this->asJsonObject();
155 
156  QJsonDocument doc(*obj);
157  QByteArray bytes = doc.toJson();
158  delete obj;
159  return QString(bytes);
160 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 163 of file SWGHackRFOutputSettings.cpp.

References bandwidth, bias_t, center_frequency, dev_sample_rate, fc_pos, l_oppm_tenths, lna_ext, log2_interp, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_log2_interp_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::toJsonValue(), use_reverse_api, and vga_gain.

Referenced by asJson().

163  {
164  QJsonObject* obj = new QJsonObject();
166  obj->insert("centerFrequency", QJsonValue(center_frequency));
167  }
169  obj->insert("LOppmTenths", QJsonValue(l_oppm_tenths));
170  }
171  if(m_bandwidth_isSet){
172  obj->insert("bandwidth", QJsonValue(bandwidth));
173  }
174  if(m_vga_gain_isSet){
175  obj->insert("vgaGain", QJsonValue(vga_gain));
176  }
178  obj->insert("log2Interp", QJsonValue(log2_interp));
179  }
180  if(m_fc_pos_isSet){
181  obj->insert("fcPos", QJsonValue(fc_pos));
182  }
184  obj->insert("devSampleRate", QJsonValue(dev_sample_rate));
185  }
186  if(m_bias_t_isSet){
187  obj->insert("biasT", QJsonValue(bias_t));
188  }
189  if(m_lna_ext_isSet){
190  obj->insert("lnaExt", QJsonValue(lna_ext));
191  }
193  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
194  }
195  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
196  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
197  }
199  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
200  }
202  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
203  }
204 
205  return obj;
206 }
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::SWGHackRFOutputSettings::cleanup ( )

Definition at line 94 of file SWGHackRFOutputSettings.cpp.

References reverse_api_address.

Referenced by ~SWGHackRFOutputSettings().

94  {
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
105  if(reverse_api_address != nullptr) {
106  delete reverse_api_address;
107  }
108 
109 
110 }
+ Here is the caller graph for this function:

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 113 of file SWGHackRFOutputSettings.cpp.

References fromJsonObject().

Referenced by SWGHackRFOutputSettings().

113  {
114  QByteArray array (json.toStdString().c_str());
115  QJsonDocument doc = QJsonDocument::fromJson(array);
116  QJsonObject jsonObject = doc.object();
117  this->fromJsonObject(jsonObject);
118  return this;
119 }
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::SWGHackRFOutputSettings::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 122 of file SWGHackRFOutputSettings.cpp.

References bandwidth, bias_t, center_frequency, dev_sample_rate, fc_pos, l_oppm_tenths, lna_ext, log2_interp, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::setValue(), use_reverse_api, and vga_gain.

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

122  {
123  ::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
124 
125  ::SWGSDRangel::setValue(&l_oppm_tenths, pJson["LOppmTenths"], "qint32", "");
126 
127  ::SWGSDRangel::setValue(&bandwidth, pJson["bandwidth"], "qint32", "");
128 
129  ::SWGSDRangel::setValue(&vga_gain, pJson["vgaGain"], "qint32", "");
130 
131  ::SWGSDRangel::setValue(&log2_interp, pJson["log2Interp"], "qint32", "");
132 
133  ::SWGSDRangel::setValue(&fc_pos, pJson["fcPos"], "qint32", "");
134 
135  ::SWGSDRangel::setValue(&dev_sample_rate, pJson["devSampleRate"], "qint32", "");
136 
137  ::SWGSDRangel::setValue(&bias_t, pJson["biasT"], "qint32", "");
138 
139  ::SWGSDRangel::setValue(&lna_ext, pJson["lnaExt"], "qint32", "");
140 
141  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
142 
143  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
144 
145  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
146 
147  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
148 
149 }
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::SWGHackRFOutputSettings::getBandwidth ( )

Definition at line 229 of file SWGHackRFOutputSettings.cpp.

References bandwidth.

Referenced by HackRFOutput::webapiSettingsPutPatch().

229  {
230  return bandwidth;
231 }
+ Here is the caller graph for this function:

◆ getBiasT()

qint32 SWGSDRangel::SWGHackRFOutputSettings::getBiasT ( )

Definition at line 279 of file SWGHackRFOutputSettings.cpp.

References bias_t.

Referenced by HackRFOutput::webapiSettingsPutPatch().

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

◆ getCenterFrequency()

qint64 SWGSDRangel::SWGHackRFOutputSettings::getCenterFrequency ( )

Definition at line 209 of file SWGHackRFOutputSettings.cpp.

References center_frequency.

Referenced by HackRFOutput::webapiSettingsPutPatch().

209  {
210  return center_frequency;
211 }
+ Here is the caller graph for this function:

◆ getDevSampleRate()

qint32 SWGSDRangel::SWGHackRFOutputSettings::getDevSampleRate ( )

Definition at line 269 of file SWGHackRFOutputSettings.cpp.

References dev_sample_rate.

Referenced by HackRFOutput::webapiSettingsPutPatch().

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

◆ getFcPos()

qint32 SWGSDRangel::SWGHackRFOutputSettings::getFcPos ( )

Definition at line 259 of file SWGHackRFOutputSettings.cpp.

References fc_pos.

Referenced by HackRFOutput::webapiSettingsPutPatch().

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

◆ getLnaExt()

qint32 SWGSDRangel::SWGHackRFOutputSettings::getLnaExt ( )

Definition at line 289 of file SWGHackRFOutputSettings.cpp.

References lna_ext.

Referenced by HackRFOutput::webapiSettingsPutPatch().

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

◆ getLog2Interp()

qint32 SWGSDRangel::SWGHackRFOutputSettings::getLog2Interp ( )

Definition at line 249 of file SWGHackRFOutputSettings.cpp.

References log2_interp.

Referenced by HackRFOutput::webapiSettingsPutPatch().

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

◆ getLOppmTenths()

qint32 SWGSDRangel::SWGHackRFOutputSettings::getLOppmTenths ( )

Definition at line 219 of file SWGHackRFOutputSettings.cpp.

References l_oppm_tenths.

Referenced by HackRFOutput::webapiSettingsPutPatch().

219  {
220  return l_oppm_tenths;
221 }
+ Here is the caller graph for this function:

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGHackRFOutputSettings::getReverseApiAddress ( )

Definition at line 309 of file SWGHackRFOutputSettings.cpp.

References reverse_api_address.

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

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

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGHackRFOutputSettings::getReverseApiDeviceIndex ( )

Definition at line 329 of file SWGHackRFOutputSettings.cpp.

References reverse_api_device_index.

Referenced by HackRFOutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGHackRFOutputSettings::getReverseApiPort ( )

Definition at line 319 of file SWGHackRFOutputSettings.cpp.

References reverse_api_port.

Referenced by HackRFOutput::webapiSettingsPutPatch().

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

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGHackRFOutputSettings::getUseReverseApi ( )

Definition at line 299 of file SWGHackRFOutputSettings.cpp.

References use_reverse_api.

Referenced by HackRFOutput::webapiSettingsPutPatch().

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

◆ getVgaGain()

qint32 SWGSDRangel::SWGHackRFOutputSettings::getVgaGain ( )

Definition at line 239 of file SWGHackRFOutputSettings.cpp.

References vga_gain.

Referenced by HackRFOutput::webapiSettingsPutPatch().

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

◆ init()

void SWGSDRangel::SWGHackRFOutputSettings::init ( )

Definition at line 64 of file SWGHackRFOutputSettings.cpp.

References bandwidth, bias_t, center_frequency, dev_sample_rate, fc_pos, l_oppm_tenths, lna_ext, log2_interp, m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_log2_interp_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, use_reverse_api, and vga_gain.

Referenced by SWGHackRFOutputSettings(), and HackRFOutput::webapiSettingsGet().

64  {
65  center_frequency = 0L;
67  l_oppm_tenths = 0;
68  m_l_oppm_tenths_isSet = false;
69  bandwidth = 0;
70  m_bandwidth_isSet = false;
71  vga_gain = 0;
72  m_vga_gain_isSet = false;
73  log2_interp = 0;
74  m_log2_interp_isSet = false;
75  fc_pos = 0;
76  m_fc_pos_isSet = false;
77  dev_sample_rate = 0;
79  bias_t = 0;
80  m_bias_t_isSet = false;
81  lna_ext = 0;
82  m_lna_ext_isSet = false;
83  use_reverse_api = 0;
85  reverse_api_address = new QString("");
87  reverse_api_port = 0;
91 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGHackRFOutputSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 340 of file SWGHackRFOutputSettings.cpp.

References m_bandwidth_isSet, m_bias_t_isSet, m_center_frequency_isSet, m_dev_sample_rate_isSet, m_fc_pos_isSet, m_l_oppm_tenths_isSet, m_lna_ext_isSet, m_log2_interp_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, m_vga_gain_isSet, and reverse_api_address.

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

340  {
341  bool isObjectUpdated = false;
342  do{
343  if(m_center_frequency_isSet){ isObjectUpdated = true; break;}
344  if(m_l_oppm_tenths_isSet){ isObjectUpdated = true; break;}
345  if(m_bandwidth_isSet){ isObjectUpdated = true; break;}
346  if(m_vga_gain_isSet){ isObjectUpdated = true; break;}
347  if(m_log2_interp_isSet){ isObjectUpdated = true; break;}
348  if(m_fc_pos_isSet){ isObjectUpdated = true; break;}
349  if(m_dev_sample_rate_isSet){ isObjectUpdated = true; break;}
350  if(m_bias_t_isSet){ isObjectUpdated = true; break;}
351  if(m_lna_ext_isSet){ isObjectUpdated = true; break;}
352  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
353  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
354  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
355  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
356  }while(false);
357  return isObjectUpdated;
358 }
+ Here is the caller graph for this function:

◆ setBandwidth()

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

Definition at line 233 of file SWGHackRFOutputSettings.cpp.

References bandwidth, and m_bandwidth_isSet.

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

+ Here is the caller graph for this function:

◆ setBiasT()

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

Definition at line 283 of file SWGHackRFOutputSettings.cpp.

References bias_t, and m_bias_t_isSet.

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

+ Here is the caller graph for this function:

◆ setCenterFrequency()

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

◆ setDevSampleRate()

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

◆ setFcPos()

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

Definition at line 263 of file SWGHackRFOutputSettings.cpp.

References fc_pos, and m_fc_pos_isSet.

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

+ Here is the caller graph for this function:

◆ setLnaExt()

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

Definition at line 293 of file SWGHackRFOutputSettings.cpp.

References lna_ext, and m_lna_ext_isSet.

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

+ Here is the caller graph for this function:

◆ setLog2Interp()

void SWGSDRangel::SWGHackRFOutputSettings::setLog2Interp ( qint32  log2_interp)

Definition at line 253 of file SWGHackRFOutputSettings.cpp.

References log2_interp, and m_log2_interp_isSet.

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

+ Here is the caller graph for this function:

◆ setLOppmTenths()

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

Definition at line 223 of file SWGHackRFOutputSettings.cpp.

References l_oppm_tenths, and m_l_oppm_tenths_isSet.

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

+ Here is the caller graph for this function:

◆ setReverseApiAddress()

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

Definition at line 313 of file SWGHackRFOutputSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by HackRFOutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setReverseApiDeviceIndex()

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

◆ setReverseApiPort()

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

Definition at line 323 of file SWGHackRFOutputSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by HackRFOutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setUseReverseApi()

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

Definition at line 303 of file SWGHackRFOutputSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by HackRFOutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setVgaGain()

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

Definition at line 243 of file SWGHackRFOutputSettings.cpp.

References m_vga_gain_isSet, and vga_gain.

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

+ Here is the caller graph for this function:

Member Data Documentation

◆ bandwidth

qint32 SWGSDRangel::SWGHackRFOutputSettings::bandwidth
private

◆ bias_t

qint32 SWGSDRangel::SWGHackRFOutputSettings::bias_t
private

◆ center_frequency

qint64 SWGSDRangel::SWGHackRFOutputSettings::center_frequency
private

◆ dev_sample_rate

qint32 SWGSDRangel::SWGHackRFOutputSettings::dev_sample_rate
private

◆ fc_pos

qint32 SWGSDRangel::SWGHackRFOutputSettings::fc_pos
private

◆ l_oppm_tenths

qint32 SWGSDRangel::SWGHackRFOutputSettings::l_oppm_tenths
private

◆ lna_ext

qint32 SWGSDRangel::SWGHackRFOutputSettings::lna_ext
private

◆ log2_interp

qint32 SWGSDRangel::SWGHackRFOutputSettings::log2_interp
private

◆ m_bandwidth_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_bandwidth_isSet
private

◆ m_bias_t_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_bias_t_isSet
private

◆ m_center_frequency_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_center_frequency_isSet
private

◆ m_dev_sample_rate_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_dev_sample_rate_isSet
private

◆ m_fc_pos_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_fc_pos_isSet
private

◆ m_l_oppm_tenths_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_l_oppm_tenths_isSet
private

◆ m_lna_ext_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_lna_ext_isSet
private

◆ m_log2_interp_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_log2_interp_isSet
private

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_reverse_api_address_isSet
private

Definition at line 119 of file SWGHackRFOutputSettings.h.

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

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_reverse_api_port_isSet
private

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_use_reverse_api_isSet
private

◆ m_vga_gain_isSet

bool SWGSDRangel::SWGHackRFOutputSettings::m_vga_gain_isSet
private

◆ reverse_api_address

QString* SWGSDRangel::SWGHackRFOutputSettings::reverse_api_address
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGHackRFOutputSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGHackRFOutputSettings::reverse_api_port
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGHackRFOutputSettings::use_reverse_api
private

◆ vga_gain

qint32 SWGSDRangel::SWGHackRFOutputSettings::vga_gain
private

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