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

#include <SWGFreqTrackerSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGFreqTrackerSettings:
+ Collaboration diagram for SWGSDRangel::SWGFreqTrackerSettings:

Public Member Functions

 SWGFreqTrackerSettings ()
 
 SWGFreqTrackerSettings (QString *json)
 
virtual ~SWGFreqTrackerSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGFreqTrackerSettingsfromJson (QString &jsonString) override
 
qint64 getInputFrequencyOffset ()
 
void setInputFrequencyOffset (qint64 input_frequency_offset)
 
float getRfBandwidth ()
 
void setRfBandwidth (float rf_bandwidth)
 
qint32 getLog2Decim ()
 
void setLog2Decim (qint32 log2_decim)
 
float getSquelch ()
 
void setSquelch (float squelch)
 
qint32 getRgbColor ()
 
void setRgbColor (qint32 rgb_color)
 
QString * getTitle ()
 
void setTitle (QString *title)
 
float getAlphaEma ()
 
void setAlphaEma (float alpha_ema)
 
qint32 getTracking ()
 
void setTracking (qint32 tracking)
 
qint32 getTrackerType ()
 
void setTrackerType (qint32 tracker_type)
 
qint32 getPllPskOrder ()
 
void setPllPskOrder (qint32 pll_psk_order)
 
qint32 getRrc ()
 
void setRrc (qint32 rrc)
 
qint32 getRrcRolloff ()
 
void setRrcRolloff (qint32 rrc_rolloff)
 
qint32 getSquelchGate ()
 
void setSquelchGate (qint32 squelch_gate)
 
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)
 
qint32 getReverseApiChannelIndex ()
 
void setReverseApiChannelIndex (qint32 reverse_api_channel_index)
 
virtual bool isSet () override
 
- Public Member Functions inherited from SWGSDRangel::SWGObject
virtual ~SWGObject ()
 

Private Attributes

qint64 input_frequency_offset
 
bool m_input_frequency_offset_isSet
 
float rf_bandwidth
 
bool m_rf_bandwidth_isSet
 
qint32 log2_decim
 
bool m_log2_decim_isSet
 
float squelch
 
bool m_squelch_isSet
 
qint32 rgb_color
 
bool m_rgb_color_isSet
 
QString * title
 
bool m_title_isSet
 
float alpha_ema
 
bool m_alpha_ema_isSet
 
qint32 tracking
 
bool m_tracking_isSet
 
qint32 tracker_type
 
bool m_tracker_type_isSet
 
qint32 pll_psk_order
 
bool m_pll_psk_order_isSet
 
qint32 rrc
 
bool m_rrc_isSet
 
qint32 rrc_rolloff
 
bool m_rrc_rolloff_isSet
 
qint32 squelch_gate
 
bool m_squelch_gate_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
 
qint32 reverse_api_channel_index
 
bool m_reverse_api_channel_index_isSet
 

Detailed Description

Definition at line 32 of file SWGFreqTrackerSettings.h.

Constructor & Destructor Documentation

◆ SWGFreqTrackerSettings() [1/2]

SWGSDRangel::SWGFreqTrackerSettings::SWGFreqTrackerSettings ( )

Definition at line 30 of file SWGFreqTrackerSettings.cpp.

References alpha_ema, input_frequency_offset, log2_decim, m_alpha_ema_isSet, m_input_frequency_offset_isSet, m_log2_decim_isSet, m_pll_psk_order_isSet, m_reverse_api_address_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_bandwidth_isSet, m_rgb_color_isSet, m_rrc_isSet, m_rrc_rolloff_isSet, m_squelch_gate_isSet, m_squelch_isSet, m_title_isSet, m_tracker_type_isSet, m_tracking_isSet, m_use_reverse_api_isSet, pll_psk_order, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, rrc, rrc_rolloff, squelch, squelch_gate, title, tracker_type, tracking, and use_reverse_api.

30  {
33  rf_bandwidth = 0.0f;
34  m_rf_bandwidth_isSet = false;
35  log2_decim = 0;
36  m_log2_decim_isSet = false;
37  squelch = 0.0f;
38  m_squelch_isSet = false;
39  rgb_color = 0;
40  m_rgb_color_isSet = false;
41  title = nullptr;
42  m_title_isSet = false;
43  alpha_ema = 0.0f;
44  m_alpha_ema_isSet = false;
45  tracking = 0;
46  m_tracking_isSet = false;
47  tracker_type = 0;
48  m_tracker_type_isSet = false;
49  pll_psk_order = 0;
50  m_pll_psk_order_isSet = false;
51  rrc = 0;
52  m_rrc_isSet = false;
53  rrc_rolloff = 0;
54  m_rrc_rolloff_isSet = false;
55  squelch_gate = 0;
56  m_squelch_gate_isSet = false;
57  use_reverse_api = 0;
59  reverse_api_address = nullptr;
61  reverse_api_port = 0;
67 }

◆ SWGFreqTrackerSettings() [2/2]

SWGSDRangel::SWGFreqTrackerSettings::SWGFreqTrackerSettings ( QString *  json)

Definition at line 25 of file SWGFreqTrackerSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGFreqTrackerSettings()

SWGSDRangel::SWGFreqTrackerSettings::~SWGFreqTrackerSettings ( )
virtual

Definition at line 69 of file SWGFreqTrackerSettings.cpp.

References cleanup().

69  {
70  this->cleanup();
71 }
+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGFreqTrackerSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 189 of file SWGFreqTrackerSettings.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::SWGFreqTrackerSettings::asJsonObject ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 200 of file SWGFreqTrackerSettings.cpp.

References alpha_ema, input_frequency_offset, log2_decim, m_alpha_ema_isSet, m_input_frequency_offset_isSet, m_log2_decim_isSet, m_pll_psk_order_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_bandwidth_isSet, m_rgb_color_isSet, m_rrc_isSet, m_rrc_rolloff_isSet, m_squelch_gate_isSet, m_squelch_isSet, m_tracker_type_isSet, m_tracking_isSet, m_use_reverse_api_isSet, pll_psk_order, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, rrc, rrc_rolloff, squelch, squelch_gate, title, SWGSDRangel::toJsonValue(), tracker_type, tracking, and use_reverse_api.

Referenced by asJson().

200  {
201  QJsonObject* obj = new QJsonObject();
203  obj->insert("inputFrequencyOffset", QJsonValue(input_frequency_offset));
204  }
206  obj->insert("rfBandwidth", QJsonValue(rf_bandwidth));
207  }
208  if(m_log2_decim_isSet){
209  obj->insert("log2Decim", QJsonValue(log2_decim));
210  }
211  if(m_squelch_isSet){
212  obj->insert("squelch", QJsonValue(squelch));
213  }
214  if(m_rgb_color_isSet){
215  obj->insert("rgbColor", QJsonValue(rgb_color));
216  }
217  if(title != nullptr && *title != QString("")){
218  toJsonValue(QString("title"), title, obj, QString("QString"));
219  }
220  if(m_alpha_ema_isSet){
221  obj->insert("alphaEMA", QJsonValue(alpha_ema));
222  }
223  if(m_tracking_isSet){
224  obj->insert("tracking", QJsonValue(tracking));
225  }
227  obj->insert("trackerType", QJsonValue(tracker_type));
228  }
230  obj->insert("pllPskOrder", QJsonValue(pll_psk_order));
231  }
232  if(m_rrc_isSet){
233  obj->insert("rrc", QJsonValue(rrc));
234  }
236  obj->insert("rrcRolloff", QJsonValue(rrc_rolloff));
237  }
239  obj->insert("squelchGate", QJsonValue(squelch_gate));
240  }
242  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
243  }
244  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
245  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
246  }
248  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
249  }
251  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
252  }
254  obj->insert("reverseAPIChannelIndex", QJsonValue(reverse_api_channel_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::SWGFreqTrackerSettings::cleanup ( )

Definition at line 114 of file SWGFreqTrackerSettings.cpp.

References reverse_api_address, and title.

Referenced by ~SWGFreqTrackerSettings().

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

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 140 of file SWGFreqTrackerSettings.cpp.

References fromJsonObject().

Referenced by SWGFreqTrackerSettings().

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::SWGFreqTrackerSettings::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 149 of file SWGFreqTrackerSettings.cpp.

References alpha_ema, input_frequency_offset, log2_decim, pll_psk_order, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, rrc, rrc_rolloff, SWGSDRangel::setValue(), squelch, squelch_gate, title, tracker_type, tracking, and use_reverse_api.

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

149  {
150  ::SWGSDRangel::setValue(&input_frequency_offset, pJson["inputFrequencyOffset"], "qint64", "");
151 
152  ::SWGSDRangel::setValue(&rf_bandwidth, pJson["rfBandwidth"], "float", "");
153 
154  ::SWGSDRangel::setValue(&log2_decim, pJson["log2Decim"], "qint32", "");
155 
156  ::SWGSDRangel::setValue(&squelch, pJson["squelch"], "float", "");
157 
158  ::SWGSDRangel::setValue(&rgb_color, pJson["rgbColor"], "qint32", "");
159 
160  ::SWGSDRangel::setValue(&title, pJson["title"], "QString", "QString");
161 
162  ::SWGSDRangel::setValue(&alpha_ema, pJson["alphaEMA"], "float", "");
163 
164  ::SWGSDRangel::setValue(&tracking, pJson["tracking"], "qint32", "");
165 
166  ::SWGSDRangel::setValue(&tracker_type, pJson["trackerType"], "qint32", "");
167 
168  ::SWGSDRangel::setValue(&pll_psk_order, pJson["pllPskOrder"], "qint32", "");
169 
170  ::SWGSDRangel::setValue(&rrc, pJson["rrc"], "qint32", "");
171 
172  ::SWGSDRangel::setValue(&rrc_rolloff, pJson["rrcRolloff"], "qint32", "");
173 
174  ::SWGSDRangel::setValue(&squelch_gate, pJson["squelchGate"], "qint32", "");
175 
176  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
177 
178  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
179 
180  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
181 
182  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
183 
184  ::SWGSDRangel::setValue(&reverse_api_channel_index, pJson["reverseAPIChannelIndex"], "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:

◆ getAlphaEma()

float SWGSDRangel::SWGFreqTrackerSettings::getAlphaEma ( )

Definition at line 321 of file SWGFreqTrackerSettings.cpp.

References alpha_ema.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getInputFrequencyOffset()

qint64 SWGSDRangel::SWGFreqTrackerSettings::getInputFrequencyOffset ( )

Definition at line 261 of file SWGFreqTrackerSettings.cpp.

References input_frequency_offset.

Referenced by FreqTracker::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getLog2Decim()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getLog2Decim ( )

Definition at line 281 of file SWGFreqTrackerSettings.cpp.

References log2_decim.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getPllPskOrder()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getPllPskOrder ( )

Definition at line 351 of file SWGFreqTrackerSettings.cpp.

References pll_psk_order.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGFreqTrackerSettings::getReverseApiAddress ( )

Definition at line 401 of file SWGFreqTrackerSettings.cpp.

References reverse_api_address.

Referenced by FreqTracker::webapiFormatChannelSettings().

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

◆ getReverseApiChannelIndex()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getReverseApiChannelIndex ( )

Definition at line 431 of file SWGFreqTrackerSettings.cpp.

References reverse_api_channel_index.

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getReverseApiDeviceIndex ( )

Definition at line 421 of file SWGFreqTrackerSettings.cpp.

References reverse_api_device_index.

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getReverseApiPort ( )

Definition at line 411 of file SWGFreqTrackerSettings.cpp.

References reverse_api_port.

411  {
412  return reverse_api_port;
413 }

◆ getRfBandwidth()

float SWGSDRangel::SWGFreqTrackerSettings::getRfBandwidth ( )

Definition at line 271 of file SWGFreqTrackerSettings.cpp.

References rf_bandwidth.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getRgbColor()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getRgbColor ( )

Definition at line 301 of file SWGFreqTrackerSettings.cpp.

References rgb_color.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getRrc()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getRrc ( )

Definition at line 361 of file SWGFreqTrackerSettings.cpp.

References rrc.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getRrcRolloff()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getRrcRolloff ( )

Definition at line 371 of file SWGFreqTrackerSettings.cpp.

References rrc_rolloff.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getSquelch()

float SWGSDRangel::SWGFreqTrackerSettings::getSquelch ( )

Definition at line 291 of file SWGFreqTrackerSettings.cpp.

References squelch.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getSquelchGate()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getSquelchGate ( )

Definition at line 381 of file SWGFreqTrackerSettings.cpp.

References squelch_gate.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getTitle()

QString * SWGSDRangel::SWGFreqTrackerSettings::getTitle ( )

Definition at line 311 of file SWGFreqTrackerSettings.cpp.

References title.

Referenced by FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiSettingsPutPatch().

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

◆ getTrackerType()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getTrackerType ( )

Definition at line 341 of file SWGFreqTrackerSettings.cpp.

References tracker_type.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getTracking()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getTracking ( )

Definition at line 331 of file SWGFreqTrackerSettings.cpp.

References tracking.

Referenced by FreqTracker::webapiSettingsPutPatch().

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

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGFreqTrackerSettings::getUseReverseApi ( )

Definition at line 391 of file SWGFreqTrackerSettings.cpp.

References use_reverse_api.

391  {
392  return use_reverse_api;
393 }

◆ init()

void SWGSDRangel::SWGFreqTrackerSettings::init ( )

Definition at line 74 of file SWGFreqTrackerSettings.cpp.

References alpha_ema, input_frequency_offset, log2_decim, m_alpha_ema_isSet, m_input_frequency_offset_isSet, m_log2_decim_isSet, m_pll_psk_order_isSet, m_reverse_api_address_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_bandwidth_isSet, m_rgb_color_isSet, m_rrc_isSet, m_rrc_rolloff_isSet, m_squelch_gate_isSet, m_squelch_isSet, m_title_isSet, m_tracker_type_isSet, m_tracking_isSet, m_use_reverse_api_isSet, pll_psk_order, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, rrc, rrc_rolloff, squelch, squelch_gate, title, tracker_type, tracking, and use_reverse_api.

Referenced by SWGFreqTrackerSettings(), and FreqTracker::webapiSettingsGet().

74  {
77  rf_bandwidth = 0.0f;
78  m_rf_bandwidth_isSet = false;
79  log2_decim = 0;
80  m_log2_decim_isSet = false;
81  squelch = 0.0f;
82  m_squelch_isSet = false;
83  rgb_color = 0;
84  m_rgb_color_isSet = false;
85  title = new QString("");
86  m_title_isSet = false;
87  alpha_ema = 0.0f;
88  m_alpha_ema_isSet = false;
89  tracking = 0;
90  m_tracking_isSet = false;
91  tracker_type = 0;
92  m_tracker_type_isSet = false;
93  pll_psk_order = 0;
94  m_pll_psk_order_isSet = false;
95  rrc = 0;
96  m_rrc_isSet = false;
97  rrc_rolloff = 0;
98  m_rrc_rolloff_isSet = false;
99  squelch_gate = 0;
100  m_squelch_gate_isSet = false;
101  use_reverse_api = 0;
102  m_use_reverse_api_isSet = false;
103  reverse_api_address = new QString("");
105  reverse_api_port = 0;
106  m_reverse_api_port_isSet = false;
111 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGFreqTrackerSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 442 of file SWGFreqTrackerSettings.cpp.

References m_alpha_ema_isSet, m_input_frequency_offset_isSet, m_log2_decim_isSet, m_pll_psk_order_isSet, m_reverse_api_channel_index_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_rf_bandwidth_isSet, m_rgb_color_isSet, m_rrc_isSet, m_rrc_rolloff_isSet, m_squelch_gate_isSet, m_squelch_isSet, m_tracker_type_isSet, m_tracking_isSet, m_use_reverse_api_isSet, reverse_api_address, and title.

Referenced by SWGSDRangel::SWGChannelSettings::asJsonObject(), SWGSDRangel::SWGChannelSettings_2::asJsonObject(), SWGSDRangel::SWGChannelSettings_2::isSet(), and SWGSDRangel::SWGChannelSettings::isSet().

442  {
443  bool isObjectUpdated = false;
444  do{
445  if(m_input_frequency_offset_isSet){ isObjectUpdated = true; break;}
446  if(m_rf_bandwidth_isSet){ isObjectUpdated = true; break;}
447  if(m_log2_decim_isSet){ isObjectUpdated = true; break;}
448  if(m_squelch_isSet){ isObjectUpdated = true; break;}
449  if(m_rgb_color_isSet){ isObjectUpdated = true; break;}
450  if(title != nullptr && *title != QString("")){ isObjectUpdated = true; break;}
451  if(m_alpha_ema_isSet){ isObjectUpdated = true; break;}
452  if(m_tracking_isSet){ isObjectUpdated = true; break;}
453  if(m_tracker_type_isSet){ isObjectUpdated = true; break;}
454  if(m_pll_psk_order_isSet){ isObjectUpdated = true; break;}
455  if(m_rrc_isSet){ isObjectUpdated = true; break;}
456  if(m_rrc_rolloff_isSet){ isObjectUpdated = true; break;}
457  if(m_squelch_gate_isSet){ isObjectUpdated = true; break;}
458  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
459  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
460  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
461  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
462  if(m_reverse_api_channel_index_isSet){ isObjectUpdated = true; break;}
463  }while(false);
464  return isObjectUpdated;
465 }
+ Here is the caller graph for this function:

◆ setAlphaEma()

void SWGSDRangel::SWGFreqTrackerSettings::setAlphaEma ( float  alpha_ema)

Definition at line 325 of file SWGFreqTrackerSettings.cpp.

References alpha_ema, and m_alpha_ema_isSet.

Referenced by FreqTracker::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setInputFrequencyOffset()

void SWGSDRangel::SWGFreqTrackerSettings::setInputFrequencyOffset ( qint64  input_frequency_offset)

◆ setLog2Decim()

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

Definition at line 285 of file SWGFreqTrackerSettings.cpp.

References log2_decim, and m_log2_decim_isSet.

Referenced by FreqTracker::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setPllPskOrder()

void SWGSDRangel::SWGFreqTrackerSettings::setPllPskOrder ( qint32  pll_psk_order)

Definition at line 355 of file SWGFreqTrackerSettings.cpp.

References m_pll_psk_order_isSet, and pll_psk_order.

Referenced by FreqTracker::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiAddress()

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

Definition at line 405 of file SWGFreqTrackerSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by FreqTracker::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiChannelIndex()

void SWGSDRangel::SWGFreqTrackerSettings::setReverseApiChannelIndex ( qint32  reverse_api_channel_index)

◆ setReverseApiDeviceIndex()

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

◆ setReverseApiPort()

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

Definition at line 415 of file SWGFreqTrackerSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by FreqTracker::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setRfBandwidth()

void SWGSDRangel::SWGFreqTrackerSettings::setRfBandwidth ( float  rf_bandwidth)

Definition at line 275 of file SWGFreqTrackerSettings.cpp.

References m_rf_bandwidth_isSet, and rf_bandwidth.

Referenced by FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setRgbColor()

void SWGSDRangel::SWGFreqTrackerSettings::setRgbColor ( qint32  rgb_color)

Definition at line 305 of file SWGFreqTrackerSettings.cpp.

References m_rgb_color_isSet, and rgb_color.

Referenced by FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setRrc()

void SWGSDRangel::SWGFreqTrackerSettings::setRrc ( qint32  rrc)

Definition at line 365 of file SWGFreqTrackerSettings.cpp.

References m_rrc_isSet, and rrc.

Referenced by FreqTracker::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setRrcRolloff()

void SWGSDRangel::SWGFreqTrackerSettings::setRrcRolloff ( qint32  rrc_rolloff)

Definition at line 375 of file SWGFreqTrackerSettings.cpp.

References m_rrc_rolloff_isSet, and rrc_rolloff.

Referenced by FreqTracker::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setSquelch()

void SWGSDRangel::SWGFreqTrackerSettings::setSquelch ( float  squelch)

Definition at line 295 of file SWGFreqTrackerSettings.cpp.

References m_squelch_isSet, and squelch.

Referenced by FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setSquelchGate()

void SWGSDRangel::SWGFreqTrackerSettings::setSquelchGate ( qint32  squelch_gate)

Definition at line 385 of file SWGFreqTrackerSettings.cpp.

References m_squelch_gate_isSet, and squelch_gate.

Referenced by FreqTracker::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setTitle()

void SWGSDRangel::SWGFreqTrackerSettings::setTitle ( QString *  title)

Definition at line 315 of file SWGFreqTrackerSettings.cpp.

References m_title_isSet, and title.

Referenced by FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setTrackerType()

void SWGSDRangel::SWGFreqTrackerSettings::setTrackerType ( qint32  tracker_type)

Definition at line 345 of file SWGFreqTrackerSettings.cpp.

References m_tracker_type_isSet, and tracker_type.

Referenced by FreqTracker::webapiFormatChannelSettings(), and FreqTracker::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setTracking()

void SWGSDRangel::SWGFreqTrackerSettings::setTracking ( qint32  tracking)

Definition at line 335 of file SWGFreqTrackerSettings.cpp.

References m_tracking_isSet, and tracking.

Referenced by FreqTracker::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setUseReverseApi()

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

Definition at line 395 of file SWGFreqTrackerSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by FreqTracker::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

Member Data Documentation

◆ alpha_ema

float SWGSDRangel::SWGFreqTrackerSettings::alpha_ema
private

◆ input_frequency_offset

qint64 SWGSDRangel::SWGFreqTrackerSettings::input_frequency_offset
private

◆ log2_decim

qint32 SWGSDRangel::SWGFreqTrackerSettings::log2_decim
private

◆ m_alpha_ema_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_alpha_ema_isSet
private

◆ m_input_frequency_offset_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_input_frequency_offset_isSet
private

◆ m_log2_decim_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_log2_decim_isSet
private

◆ m_pll_psk_order_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_pll_psk_order_isSet
private

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_reverse_api_address_isSet
private

Definition at line 146 of file SWGFreqTrackerSettings.h.

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

◆ m_reverse_api_channel_index_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_reverse_api_channel_index_isSet
private

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_reverse_api_port_isSet
private

◆ m_rf_bandwidth_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_rf_bandwidth_isSet
private

◆ m_rgb_color_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_rgb_color_isSet
private

◆ m_rrc_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_rrc_isSet
private

Definition at line 134 of file SWGFreqTrackerSettings.h.

Referenced by asJsonObject(), init(), isSet(), setRrc(), and SWGFreqTrackerSettings().

◆ m_rrc_rolloff_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_rrc_rolloff_isSet
private

◆ m_squelch_gate_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_squelch_gate_isSet
private

◆ m_squelch_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_squelch_isSet
private

◆ m_title_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_title_isSet
private

Definition at line 119 of file SWGFreqTrackerSettings.h.

Referenced by init(), setTitle(), and SWGFreqTrackerSettings().

◆ m_tracker_type_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_tracker_type_isSet
private

◆ m_tracking_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_tracking_isSet
private

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGFreqTrackerSettings::m_use_reverse_api_isSet
private

◆ pll_psk_order

qint32 SWGSDRangel::SWGFreqTrackerSettings::pll_psk_order
private

◆ reverse_api_address

QString* SWGSDRangel::SWGFreqTrackerSettings::reverse_api_address
private

◆ reverse_api_channel_index

qint32 SWGSDRangel::SWGFreqTrackerSettings::reverse_api_channel_index
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGFreqTrackerSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGFreqTrackerSettings::reverse_api_port
private

◆ rf_bandwidth

float SWGSDRangel::SWGFreqTrackerSettings::rf_bandwidth
private

◆ rgb_color

qint32 SWGSDRangel::SWGFreqTrackerSettings::rgb_color
private

◆ rrc

qint32 SWGSDRangel::SWGFreqTrackerSettings::rrc
private

◆ rrc_rolloff

qint32 SWGSDRangel::SWGFreqTrackerSettings::rrc_rolloff
private

◆ squelch

float SWGSDRangel::SWGFreqTrackerSettings::squelch
private

◆ squelch_gate

qint32 SWGSDRangel::SWGFreqTrackerSettings::squelch_gate
private

◆ title

QString* SWGSDRangel::SWGFreqTrackerSettings::title
private

◆ tracker_type

qint32 SWGSDRangel::SWGFreqTrackerSettings::tracker_type
private

◆ tracking

qint32 SWGSDRangel::SWGFreqTrackerSettings::tracking
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGFreqTrackerSettings::use_reverse_api
private

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