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

#include <SWGGLSpectrum.h>

+ Inheritance diagram for SWGSDRangel::SWGGLSpectrum:
+ Collaboration diagram for SWGSDRangel::SWGGLSpectrum:

Public Member Functions

 SWGGLSpectrum ()
 
 SWGGLSpectrum (QString *json)
 
virtual ~SWGGLSpectrum ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGGLSpectrumfromJson (QString &jsonString) override
 
qint32 getFftSize ()
 
void setFftSize (qint32 fft_size)
 
qint32 getFftOverlap ()
 
void setFftOverlap (qint32 fft_overlap)
 
qint32 getMFftWindow ()
 
void setMFftWindow (qint32 m_fft_window)
 
float getRefLevel ()
 
void setRefLevel (float ref_level)
 
float getPowerRange ()
 
void setPowerRange (float power_range)
 
qint32 getDisplayWaterfall ()
 
void setDisplayWaterfall (qint32 display_waterfall)
 
qint32 getInvertedWaterfall ()
 
void setInvertedWaterfall (qint32 inverted_waterfall)
 
qint32 getDisplayMaxHold ()
 
void setDisplayMaxHold (qint32 display_max_hold)
 
qint32 getDisplayHistogram ()
 
void setDisplayHistogram (qint32 display_histogram)
 
qint32 getDecay ()
 
void setDecay (qint32 decay)
 
qint32 getDisplayGrid ()
 
void setDisplayGrid (qint32 display_grid)
 
qint32 getInvert ()
 
void setInvert (qint32 invert)
 
qint32 getDisplayGridIntensity ()
 
void setDisplayGridIntensity (qint32 display_grid_intensity)
 
qint32 getDecayDivisor ()
 
void setDecayDivisor (qint32 decay_divisor)
 
qint32 getHistogramStroke ()
 
void setHistogramStroke (qint32 histogram_stroke)
 
qint32 getDisplayCurrent ()
 
void setDisplayCurrent (qint32 display_current)
 
qint32 getDisplayTraceIntensity ()
 
void setDisplayTraceIntensity (qint32 display_trace_intensity)
 
float getWaterfallShare ()
 
void setWaterfallShare (float waterfall_share)
 
qint32 getAveragingMode ()
 
void setAveragingMode (qint32 averaging_mode)
 
qint32 getAveragingValue ()
 
void setAveragingValue (qint32 averaging_value)
 
qint32 getLinear ()
 
void setLinear (qint32 linear)
 
virtual bool isSet () override
 
- Public Member Functions inherited from SWGSDRangel::SWGObject
virtual ~SWGObject ()
 

Private Attributes

qint32 fft_size
 
bool m_fft_size_isSet
 
qint32 fft_overlap
 
bool m_fft_overlap_isSet
 
qint32 m_fft_window
 
bool m_m_fft_window_isSet
 
float ref_level
 
bool m_ref_level_isSet
 
float power_range
 
bool m_power_range_isSet
 
qint32 display_waterfall
 
bool m_display_waterfall_isSet
 
qint32 inverted_waterfall
 
bool m_inverted_waterfall_isSet
 
qint32 display_max_hold
 
bool m_display_max_hold_isSet
 
qint32 display_histogram
 
bool m_display_histogram_isSet
 
qint32 decay
 
bool m_decay_isSet
 
qint32 display_grid
 
bool m_display_grid_isSet
 
qint32 invert
 
bool m_invert_isSet
 
qint32 display_grid_intensity
 
bool m_display_grid_intensity_isSet
 
qint32 decay_divisor
 
bool m_decay_divisor_isSet
 
qint32 histogram_stroke
 
bool m_histogram_stroke_isSet
 
qint32 display_current
 
bool m_display_current_isSet
 
qint32 display_trace_intensity
 
bool m_display_trace_intensity_isSet
 
float waterfall_share
 
bool m_waterfall_share_isSet
 
qint32 averaging_mode
 
bool m_averaging_mode_isSet
 
qint32 averaging_value
 
bool m_averaging_value_isSet
 
qint32 linear
 
bool m_linear_isSet
 

Detailed Description

Definition at line 31 of file SWGGLSpectrum.h.

Constructor & Destructor Documentation

◆ SWGGLSpectrum() [1/2]

SWGSDRangel::SWGGLSpectrum::SWGGLSpectrum ( )

Definition at line 30 of file SWGGLSpectrum.cpp.

References averaging_mode, averaging_value, decay, decay_divisor, display_current, display_grid, display_grid_intensity, display_histogram, display_max_hold, display_trace_intensity, display_waterfall, fft_overlap, fft_size, histogram_stroke, invert, inverted_waterfall, linear, m_averaging_mode_isSet, m_averaging_value_isSet, m_decay_divisor_isSet, m_decay_isSet, m_display_current_isSet, m_display_grid_intensity_isSet, m_display_grid_isSet, m_display_histogram_isSet, m_display_max_hold_isSet, m_display_trace_intensity_isSet, m_display_waterfall_isSet, m_fft_overlap_isSet, m_fft_size_isSet, m_fft_window, m_histogram_stroke_isSet, m_invert_isSet, m_inverted_waterfall_isSet, m_linear_isSet, m_m_fft_window_isSet, m_power_range_isSet, m_ref_level_isSet, m_waterfall_share_isSet, power_range, ref_level, and waterfall_share.

30  {
31  fft_size = 0;
32  m_fft_size_isSet = false;
33  fft_overlap = 0;
34  m_fft_overlap_isSet = false;
35  m_fft_window = 0;
36  m_m_fft_window_isSet = false;
37  ref_level = 0.0f;
38  m_ref_level_isSet = false;
39  power_range = 0.0f;
40  m_power_range_isSet = false;
45  display_max_hold = 0;
49  decay = 0;
50  m_decay_isSet = false;
51  display_grid = 0;
52  m_display_grid_isSet = false;
53  invert = 0;
54  m_invert_isSet = false;
57  decay_divisor = 0;
58  m_decay_divisor_isSet = false;
59  histogram_stroke = 0;
61  display_current = 0;
65  waterfall_share = 0.0f;
67  averaging_mode = 0;
68  m_averaging_mode_isSet = false;
69  averaging_value = 0;
71  linear = 0;
72  m_linear_isSet = false;
73 }

◆ SWGGLSpectrum() [2/2]

SWGSDRangel::SWGGLSpectrum::SWGGLSpectrum ( QString *  json)

Definition at line 25 of file SWGGLSpectrum.cpp.

References fromJson(), and init().

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

◆ ~SWGGLSpectrum()

SWGSDRangel::SWGGLSpectrum::~SWGGLSpectrum ( )
virtual

Definition at line 75 of file SWGGLSpectrum.cpp.

References cleanup().

75  {
76  this->cleanup();
77 }
+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGGLSpectrum::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 206 of file SWGGLSpectrum.cpp.

References asJsonObject().

207 {
208  QJsonObject* obj = this->asJsonObject();
209 
210  QJsonDocument doc(*obj);
211  QByteArray bytes = doc.toJson();
212  delete obj;
213  return QString(bytes);
214 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 217 of file SWGGLSpectrum.cpp.

References averaging_mode, averaging_value, decay, decay_divisor, display_current, display_grid, display_grid_intensity, display_histogram, display_max_hold, display_trace_intensity, display_waterfall, fft_overlap, fft_size, histogram_stroke, invert, inverted_waterfall, linear, m_averaging_mode_isSet, m_averaging_value_isSet, m_decay_divisor_isSet, m_decay_isSet, m_display_current_isSet, m_display_grid_intensity_isSet, m_display_grid_isSet, m_display_histogram_isSet, m_display_max_hold_isSet, m_display_trace_intensity_isSet, m_display_waterfall_isSet, m_fft_overlap_isSet, m_fft_size_isSet, m_fft_window, m_histogram_stroke_isSet, m_invert_isSet, m_inverted_waterfall_isSet, m_linear_isSet, m_m_fft_window_isSet, m_power_range_isSet, m_ref_level_isSet, m_waterfall_share_isSet, power_range, ref_level, and waterfall_share.

Referenced by asJson().

217  {
218  QJsonObject* obj = new QJsonObject();
219  if(m_fft_size_isSet){
220  obj->insert("fftSize", QJsonValue(fft_size));
221  }
223  obj->insert("fftOverlap", QJsonValue(fft_overlap));
224  }
226  obj->insert("m_fftWindow", QJsonValue(m_fft_window));
227  }
228  if(m_ref_level_isSet){
229  obj->insert("refLevel", QJsonValue(ref_level));
230  }
232  obj->insert("powerRange", QJsonValue(power_range));
233  }
235  obj->insert("displayWaterfall", QJsonValue(display_waterfall));
236  }
238  obj->insert("invertedWaterfall", QJsonValue(inverted_waterfall));
239  }
241  obj->insert("displayMaxHold", QJsonValue(display_max_hold));
242  }
244  obj->insert("displayHistogram", QJsonValue(display_histogram));
245  }
246  if(m_decay_isSet){
247  obj->insert("decay", QJsonValue(decay));
248  }
250  obj->insert("displayGrid", QJsonValue(display_grid));
251  }
252  if(m_invert_isSet){
253  obj->insert("invert", QJsonValue(invert));
254  }
256  obj->insert("displayGridIntensity", QJsonValue(display_grid_intensity));
257  }
259  obj->insert("decayDivisor", QJsonValue(decay_divisor));
260  }
262  obj->insert("histogramStroke", QJsonValue(histogram_stroke));
263  }
265  obj->insert("displayCurrent", QJsonValue(display_current));
266  }
268  obj->insert("displayTraceIntensity", QJsonValue(display_trace_intensity));
269  }
271  obj->insert("waterfallShare", QJsonValue(waterfall_share));
272  }
274  obj->insert("averagingMode", QJsonValue(averaging_mode));
275  }
277  obj->insert("averagingValue", QJsonValue(averaging_value));
278  }
279  if(m_linear_isSet){
280  obj->insert("linear", QJsonValue(linear));
281  }
282 
283  return obj;
284 }
+ Here is the caller graph for this function:

◆ cleanup()

void SWGSDRangel::SWGGLSpectrum::cleanup ( )

Definition at line 126 of file SWGGLSpectrum.cpp.

Referenced by ~SWGGLSpectrum().

126  {
127 
128 
129 
130 
131 
132 
133 
134 
135 
136 
137 
138 
139 
140 
141 
142 
143 
144 
145 
146 
147 
148 }
+ Here is the caller graph for this function:

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 151 of file SWGGLSpectrum.cpp.

References fromJsonObject().

Referenced by SWGGLSpectrum().

151  {
152  QByteArray array (json.toStdString().c_str());
153  QJsonDocument doc = QJsonDocument::fromJson(array);
154  QJsonObject jsonObject = doc.object();
155  this->fromJsonObject(jsonObject);
156  return this;
157 }
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::SWGGLSpectrum::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 160 of file SWGGLSpectrum.cpp.

References averaging_mode, averaging_value, decay, decay_divisor, display_current, display_grid, display_grid_intensity, display_histogram, display_max_hold, display_trace_intensity, display_waterfall, fft_overlap, fft_size, histogram_stroke, invert, inverted_waterfall, linear, m_fft_window, power_range, ref_level, SWGSDRangel::setValue(), and waterfall_share.

Referenced by fromJson().

160  {
161  ::SWGSDRangel::setValue(&fft_size, pJson["fftSize"], "qint32", "");
162 
163  ::SWGSDRangel::setValue(&fft_overlap, pJson["fftOverlap"], "qint32", "");
164 
165  ::SWGSDRangel::setValue(&m_fft_window, pJson["m_fftWindow"], "qint32", "");
166 
167  ::SWGSDRangel::setValue(&ref_level, pJson["refLevel"], "float", "");
168 
169  ::SWGSDRangel::setValue(&power_range, pJson["powerRange"], "float", "");
170 
171  ::SWGSDRangel::setValue(&display_waterfall, pJson["displayWaterfall"], "qint32", "");
172 
173  ::SWGSDRangel::setValue(&inverted_waterfall, pJson["invertedWaterfall"], "qint32", "");
174 
175  ::SWGSDRangel::setValue(&display_max_hold, pJson["displayMaxHold"], "qint32", "");
176 
177  ::SWGSDRangel::setValue(&display_histogram, pJson["displayHistogram"], "qint32", "");
178 
179  ::SWGSDRangel::setValue(&decay, pJson["decay"], "qint32", "");
180 
181  ::SWGSDRangel::setValue(&display_grid, pJson["displayGrid"], "qint32", "");
182 
183  ::SWGSDRangel::setValue(&invert, pJson["invert"], "qint32", "");
184 
185  ::SWGSDRangel::setValue(&display_grid_intensity, pJson["displayGridIntensity"], "qint32", "");
186 
187  ::SWGSDRangel::setValue(&decay_divisor, pJson["decayDivisor"], "qint32", "");
188 
189  ::SWGSDRangel::setValue(&histogram_stroke, pJson["histogramStroke"], "qint32", "");
190 
191  ::SWGSDRangel::setValue(&display_current, pJson["displayCurrent"], "qint32", "");
192 
193  ::SWGSDRangel::setValue(&display_trace_intensity, pJson["displayTraceIntensity"], "qint32", "");
194 
195  ::SWGSDRangel::setValue(&waterfall_share, pJson["waterfallShare"], "float", "");
196 
197  ::SWGSDRangel::setValue(&averaging_mode, pJson["averagingMode"], "qint32", "");
198 
199  ::SWGSDRangel::setValue(&averaging_value, pJson["averagingValue"], "qint32", "");
200 
201  ::SWGSDRangel::setValue(&linear, pJson["linear"], "qint32", "");
202 
203 }
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:

◆ getAveragingMode()

qint32 SWGSDRangel::SWGGLSpectrum::getAveragingMode ( )

Definition at line 467 of file SWGGLSpectrum.cpp.

References averaging_mode.

467  {
468  return averaging_mode;
469 }

◆ getAveragingValue()

qint32 SWGSDRangel::SWGGLSpectrum::getAveragingValue ( )

Definition at line 477 of file SWGGLSpectrum.cpp.

References averaging_value.

477  {
478  return averaging_value;
479 }

◆ getDecay()

qint32 SWGSDRangel::SWGGLSpectrum::getDecay ( )

Definition at line 377 of file SWGGLSpectrum.cpp.

References decay.

377  {
378  return decay;
379 }

◆ getDecayDivisor()

qint32 SWGSDRangel::SWGGLSpectrum::getDecayDivisor ( )

Definition at line 417 of file SWGGLSpectrum.cpp.

References decay_divisor.

417  {
418  return decay_divisor;
419 }

◆ getDisplayCurrent()

qint32 SWGSDRangel::SWGGLSpectrum::getDisplayCurrent ( )

Definition at line 437 of file SWGGLSpectrum.cpp.

References display_current.

437  {
438  return display_current;
439 }

◆ getDisplayGrid()

qint32 SWGSDRangel::SWGGLSpectrum::getDisplayGrid ( )

Definition at line 387 of file SWGGLSpectrum.cpp.

References display_grid.

387  {
388  return display_grid;
389 }

◆ getDisplayGridIntensity()

qint32 SWGSDRangel::SWGGLSpectrum::getDisplayGridIntensity ( )

Definition at line 407 of file SWGGLSpectrum.cpp.

References display_grid_intensity.

407  {
408  return display_grid_intensity;
409 }

◆ getDisplayHistogram()

qint32 SWGSDRangel::SWGGLSpectrum::getDisplayHistogram ( )

Definition at line 367 of file SWGGLSpectrum.cpp.

References display_histogram.

367  {
368  return display_histogram;
369 }

◆ getDisplayMaxHold()

qint32 SWGSDRangel::SWGGLSpectrum::getDisplayMaxHold ( )

Definition at line 357 of file SWGGLSpectrum.cpp.

References display_max_hold.

357  {
358  return display_max_hold;
359 }

◆ getDisplayTraceIntensity()

qint32 SWGSDRangel::SWGGLSpectrum::getDisplayTraceIntensity ( )

Definition at line 447 of file SWGGLSpectrum.cpp.

References display_trace_intensity.

447  {
449 }

◆ getDisplayWaterfall()

qint32 SWGSDRangel::SWGGLSpectrum::getDisplayWaterfall ( )

Definition at line 337 of file SWGGLSpectrum.cpp.

References display_waterfall.

337  {
338  return display_waterfall;
339 }

◆ getFftOverlap()

qint32 SWGSDRangel::SWGGLSpectrum::getFftOverlap ( )

Definition at line 297 of file SWGGLSpectrum.cpp.

References fft_overlap.

297  {
298  return fft_overlap;
299 }

◆ getFftSize()

qint32 SWGSDRangel::SWGGLSpectrum::getFftSize ( )

Definition at line 287 of file SWGGLSpectrum.cpp.

References fft_size.

287  {
288  return fft_size;
289 }

◆ getHistogramStroke()

qint32 SWGSDRangel::SWGGLSpectrum::getHistogramStroke ( )

Definition at line 427 of file SWGGLSpectrum.cpp.

References histogram_stroke.

427  {
428  return histogram_stroke;
429 }

◆ getInvert()

qint32 SWGSDRangel::SWGGLSpectrum::getInvert ( )

Definition at line 397 of file SWGGLSpectrum.cpp.

References invert.

397  {
398  return invert;
399 }

◆ getInvertedWaterfall()

qint32 SWGSDRangel::SWGGLSpectrum::getInvertedWaterfall ( )

Definition at line 347 of file SWGGLSpectrum.cpp.

References inverted_waterfall.

347  {
348  return inverted_waterfall;
349 }

◆ getLinear()

qint32 SWGSDRangel::SWGGLSpectrum::getLinear ( )

Definition at line 487 of file SWGGLSpectrum.cpp.

References linear.

487  {
488  return linear;
489 }

◆ getMFftWindow()

qint32 SWGSDRangel::SWGGLSpectrum::getMFftWindow ( )

Definition at line 307 of file SWGGLSpectrum.cpp.

References m_fft_window.

307  {
308  return m_fft_window;
309 }

◆ getPowerRange()

float SWGSDRangel::SWGGLSpectrum::getPowerRange ( )

Definition at line 327 of file SWGGLSpectrum.cpp.

References power_range.

327  {
328  return power_range;
329 }

◆ getRefLevel()

float SWGSDRangel::SWGGLSpectrum::getRefLevel ( )

Definition at line 317 of file SWGGLSpectrum.cpp.

References ref_level.

317  {
318  return ref_level;
319 }

◆ getWaterfallShare()

float SWGSDRangel::SWGGLSpectrum::getWaterfallShare ( )

Definition at line 457 of file SWGGLSpectrum.cpp.

References waterfall_share.

457  {
458  return waterfall_share;
459 }

◆ init()

void SWGSDRangel::SWGGLSpectrum::init ( )

Definition at line 80 of file SWGGLSpectrum.cpp.

References averaging_mode, averaging_value, decay, decay_divisor, display_current, display_grid, display_grid_intensity, display_histogram, display_max_hold, display_trace_intensity, display_waterfall, fft_overlap, fft_size, histogram_stroke, invert, inverted_waterfall, linear, m_averaging_mode_isSet, m_averaging_value_isSet, m_decay_divisor_isSet, m_decay_isSet, m_display_current_isSet, m_display_grid_intensity_isSet, m_display_grid_isSet, m_display_histogram_isSet, m_display_max_hold_isSet, m_display_trace_intensity_isSet, m_display_waterfall_isSet, m_fft_overlap_isSet, m_fft_size_isSet, m_fft_window, m_histogram_stroke_isSet, m_invert_isSet, m_inverted_waterfall_isSet, m_linear_isSet, m_m_fft_window_isSet, m_power_range_isSet, m_ref_level_isSet, m_waterfall_share_isSet, power_range, ref_level, and waterfall_share.

Referenced by SWGGLSpectrum(), and WebAPIAdapterBase::webapiFormatPreset().

80  {
81  fft_size = 0;
82  m_fft_size_isSet = false;
83  fft_overlap = 0;
84  m_fft_overlap_isSet = false;
85  m_fft_window = 0;
86  m_m_fft_window_isSet = false;
87  ref_level = 0.0f;
88  m_ref_level_isSet = false;
89  power_range = 0.0f;
90  m_power_range_isSet = false;
95  display_max_hold = 0;
99  decay = 0;
100  m_decay_isSet = false;
101  display_grid = 0;
102  m_display_grid_isSet = false;
103  invert = 0;
104  m_invert_isSet = false;
107  decay_divisor = 0;
108  m_decay_divisor_isSet = false;
109  histogram_stroke = 0;
110  m_histogram_stroke_isSet = false;
111  display_current = 0;
112  m_display_current_isSet = false;
115  waterfall_share = 0.0f;
116  m_waterfall_share_isSet = false;
117  averaging_mode = 0;
118  m_averaging_mode_isSet = false;
119  averaging_value = 0;
120  m_averaging_value_isSet = false;
121  linear = 0;
122  m_linear_isSet = false;
123 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGGLSpectrum::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 498 of file SWGGLSpectrum.cpp.

References m_averaging_mode_isSet, m_averaging_value_isSet, m_decay_divisor_isSet, m_decay_isSet, m_display_current_isSet, m_display_grid_intensity_isSet, m_display_grid_isSet, m_display_histogram_isSet, m_display_max_hold_isSet, m_display_trace_intensity_isSet, m_display_waterfall_isSet, m_fft_overlap_isSet, m_fft_size_isSet, m_histogram_stroke_isSet, m_invert_isSet, m_inverted_waterfall_isSet, m_linear_isSet, m_m_fft_window_isSet, m_power_range_isSet, m_ref_level_isSet, and m_waterfall_share_isSet.

Referenced by SWGSDRangel::SWGPreset::asJsonObject(), and SWGSDRangel::SWGPreset::isSet().

498  {
499  bool isObjectUpdated = false;
500  do{
501  if(m_fft_size_isSet){ isObjectUpdated = true; break;}
502  if(m_fft_overlap_isSet){ isObjectUpdated = true; break;}
503  if(m_m_fft_window_isSet){ isObjectUpdated = true; break;}
504  if(m_ref_level_isSet){ isObjectUpdated = true; break;}
505  if(m_power_range_isSet){ isObjectUpdated = true; break;}
506  if(m_display_waterfall_isSet){ isObjectUpdated = true; break;}
507  if(m_inverted_waterfall_isSet){ isObjectUpdated = true; break;}
508  if(m_display_max_hold_isSet){ isObjectUpdated = true; break;}
509  if(m_display_histogram_isSet){ isObjectUpdated = true; break;}
510  if(m_decay_isSet){ isObjectUpdated = true; break;}
511  if(m_display_grid_isSet){ isObjectUpdated = true; break;}
512  if(m_invert_isSet){ isObjectUpdated = true; break;}
513  if(m_display_grid_intensity_isSet){ isObjectUpdated = true; break;}
514  if(m_decay_divisor_isSet){ isObjectUpdated = true; break;}
515  if(m_histogram_stroke_isSet){ isObjectUpdated = true; break;}
516  if(m_display_current_isSet){ isObjectUpdated = true; break;}
517  if(m_display_trace_intensity_isSet){ isObjectUpdated = true; break;}
518  if(m_waterfall_share_isSet){ isObjectUpdated = true; break;}
519  if(m_averaging_mode_isSet){ isObjectUpdated = true; break;}
520  if(m_averaging_value_isSet){ isObjectUpdated = true; break;}
521  if(m_linear_isSet){ isObjectUpdated = true; break;}
522  }while(false);
523  return isObjectUpdated;
524 }
+ Here is the caller graph for this function:

◆ setAveragingMode()

void SWGSDRangel::SWGGLSpectrum::setAveragingMode ( qint32  averaging_mode)

Definition at line 471 of file SWGGLSpectrum.cpp.

References averaging_mode, and m_averaging_mode_isSet.

471  {
473  this->m_averaging_mode_isSet = true;
474 }

◆ setAveragingValue()

void SWGSDRangel::SWGGLSpectrum::setAveragingValue ( qint32  averaging_value)

Definition at line 481 of file SWGGLSpectrum.cpp.

References averaging_value, and m_averaging_value_isSet.

481  {
483  this->m_averaging_value_isSet = true;
484 }

◆ setDecay()

void SWGSDRangel::SWGGLSpectrum::setDecay ( qint32  decay)

Definition at line 381 of file SWGGLSpectrum.cpp.

References decay, and m_decay_isSet.

381  {
382  this->decay = decay;
383  this->m_decay_isSet = true;
384 }

◆ setDecayDivisor()

void SWGSDRangel::SWGGLSpectrum::setDecayDivisor ( qint32  decay_divisor)

Definition at line 421 of file SWGGLSpectrum.cpp.

References decay_divisor, and m_decay_divisor_isSet.

421  {
423  this->m_decay_divisor_isSet = true;
424 }

◆ setDisplayCurrent()

void SWGSDRangel::SWGGLSpectrum::setDisplayCurrent ( qint32  display_current)

Definition at line 441 of file SWGGLSpectrum.cpp.

References display_current, and m_display_current_isSet.

441  {
443  this->m_display_current_isSet = true;
444 }

◆ setDisplayGrid()

void SWGSDRangel::SWGGLSpectrum::setDisplayGrid ( qint32  display_grid)

Definition at line 391 of file SWGGLSpectrum.cpp.

References display_grid, and m_display_grid_isSet.

391  {
392  this->display_grid = display_grid;
393  this->m_display_grid_isSet = true;
394 }

◆ setDisplayGridIntensity()

void SWGSDRangel::SWGGLSpectrum::setDisplayGridIntensity ( qint32  display_grid_intensity)

◆ setDisplayHistogram()

void SWGSDRangel::SWGGLSpectrum::setDisplayHistogram ( qint32  display_histogram)

Definition at line 371 of file SWGGLSpectrum.cpp.

References display_histogram, and m_display_histogram_isSet.

371  {
373  this->m_display_histogram_isSet = true;
374 }

◆ setDisplayMaxHold()

void SWGSDRangel::SWGGLSpectrum::setDisplayMaxHold ( qint32  display_max_hold)

Definition at line 361 of file SWGGLSpectrum.cpp.

References display_max_hold, and m_display_max_hold_isSet.

361  {
363  this->m_display_max_hold_isSet = true;
364 }

◆ setDisplayTraceIntensity()

void SWGSDRangel::SWGGLSpectrum::setDisplayTraceIntensity ( qint32  display_trace_intensity)

◆ setDisplayWaterfall()

void SWGSDRangel::SWGGLSpectrum::setDisplayWaterfall ( qint32  display_waterfall)

Definition at line 341 of file SWGGLSpectrum.cpp.

References display_waterfall, and m_display_waterfall_isSet.

341  {
343  this->m_display_waterfall_isSet = true;
344 }

◆ setFftOverlap()

void SWGSDRangel::SWGGLSpectrum::setFftOverlap ( qint32  fft_overlap)

Definition at line 301 of file SWGGLSpectrum.cpp.

References fft_overlap, and m_fft_overlap_isSet.

301  {
302  this->fft_overlap = fft_overlap;
303  this->m_fft_overlap_isSet = true;
304 }

◆ setFftSize()

void SWGSDRangel::SWGGLSpectrum::setFftSize ( qint32  fft_size)

Definition at line 291 of file SWGGLSpectrum.cpp.

References fft_size, and m_fft_size_isSet.

291  {
292  this->fft_size = fft_size;
293  this->m_fft_size_isSet = true;
294 }

◆ setHistogramStroke()

void SWGSDRangel::SWGGLSpectrum::setHistogramStroke ( qint32  histogram_stroke)

Definition at line 431 of file SWGGLSpectrum.cpp.

References histogram_stroke, and m_histogram_stroke_isSet.

431  {
433  this->m_histogram_stroke_isSet = true;
434 }

◆ setInvert()

void SWGSDRangel::SWGGLSpectrum::setInvert ( qint32  invert)

Definition at line 401 of file SWGGLSpectrum.cpp.

References invert, and m_invert_isSet.

401  {
402  this->invert = invert;
403  this->m_invert_isSet = true;
404 }

◆ setInvertedWaterfall()

void SWGSDRangel::SWGGLSpectrum::setInvertedWaterfall ( qint32  inverted_waterfall)

Definition at line 351 of file SWGGLSpectrum.cpp.

References inverted_waterfall, and m_inverted_waterfall_isSet.

351  {
353  this->m_inverted_waterfall_isSet = true;
354 }

◆ setLinear()

void SWGSDRangel::SWGGLSpectrum::setLinear ( qint32  linear)

Definition at line 491 of file SWGGLSpectrum.cpp.

References linear, and m_linear_isSet.

491  {
492  this->linear = linear;
493  this->m_linear_isSet = true;
494 }

◆ setMFftWindow()

void SWGSDRangel::SWGGLSpectrum::setMFftWindow ( qint32  m_fft_window)

Definition at line 311 of file SWGGLSpectrum.cpp.

References m_fft_window, and m_m_fft_window_isSet.

311  {
312  this->m_fft_window = m_fft_window;
313  this->m_m_fft_window_isSet = true;
314 }

◆ setPowerRange()

void SWGSDRangel::SWGGLSpectrum::setPowerRange ( float  power_range)

Definition at line 331 of file SWGGLSpectrum.cpp.

References m_power_range_isSet, and power_range.

331  {
332  this->power_range = power_range;
333  this->m_power_range_isSet = true;
334 }

◆ setRefLevel()

void SWGSDRangel::SWGGLSpectrum::setRefLevel ( float  ref_level)

Definition at line 321 of file SWGGLSpectrum.cpp.

References m_ref_level_isSet, and ref_level.

321  {
322  this->ref_level = ref_level;
323  this->m_ref_level_isSet = true;
324 }

◆ setWaterfallShare()

void SWGSDRangel::SWGGLSpectrum::setWaterfallShare ( float  waterfall_share)

Definition at line 461 of file SWGGLSpectrum.cpp.

References m_waterfall_share_isSet, and waterfall_share.

461  {
463  this->m_waterfall_share_isSet = true;
464 }

Member Data Documentation

◆ averaging_mode

qint32 SWGSDRangel::SWGGLSpectrum::averaging_mode
private

◆ averaging_value

qint32 SWGSDRangel::SWGGLSpectrum::averaging_value
private

◆ decay

qint32 SWGSDRangel::SWGGLSpectrum::decay
private

Definition at line 138 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), fromJsonObject(), getDecay(), init(), setDecay(), and SWGGLSpectrum().

◆ decay_divisor

qint32 SWGSDRangel::SWGGLSpectrum::decay_divisor
private

◆ display_current

qint32 SWGSDRangel::SWGGLSpectrum::display_current
private

◆ display_grid

qint32 SWGSDRangel::SWGGLSpectrum::display_grid
private

◆ display_grid_intensity

qint32 SWGSDRangel::SWGGLSpectrum::display_grid_intensity
private

◆ display_histogram

qint32 SWGSDRangel::SWGGLSpectrum::display_histogram
private

◆ display_max_hold

qint32 SWGSDRangel::SWGGLSpectrum::display_max_hold
private

◆ display_trace_intensity

qint32 SWGSDRangel::SWGGLSpectrum::display_trace_intensity
private

◆ display_waterfall

qint32 SWGSDRangel::SWGGLSpectrum::display_waterfall
private

◆ fft_overlap

qint32 SWGSDRangel::SWGGLSpectrum::fft_overlap
private

◆ fft_size

qint32 SWGSDRangel::SWGGLSpectrum::fft_size
private

◆ histogram_stroke

qint32 SWGSDRangel::SWGGLSpectrum::histogram_stroke
private

◆ invert

qint32 SWGSDRangel::SWGGLSpectrum::invert
private

Definition at line 144 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), fromJsonObject(), getInvert(), init(), setInvert(), and SWGGLSpectrum().

◆ inverted_waterfall

qint32 SWGSDRangel::SWGGLSpectrum::inverted_waterfall
private

◆ linear

qint32 SWGSDRangel::SWGGLSpectrum::linear
private

Definition at line 171 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), fromJsonObject(), getLinear(), init(), setLinear(), and SWGGLSpectrum().

◆ m_averaging_mode_isSet

bool SWGSDRangel::SWGGLSpectrum::m_averaging_mode_isSet
private

Definition at line 166 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setAveragingMode(), and SWGGLSpectrum().

◆ m_averaging_value_isSet

bool SWGSDRangel::SWGGLSpectrum::m_averaging_value_isSet
private

Definition at line 169 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setAveragingValue(), and SWGGLSpectrum().

◆ m_decay_divisor_isSet

bool SWGSDRangel::SWGGLSpectrum::m_decay_divisor_isSet
private

Definition at line 151 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setDecayDivisor(), and SWGGLSpectrum().

◆ m_decay_isSet

bool SWGSDRangel::SWGGLSpectrum::m_decay_isSet
private

Definition at line 139 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setDecay(), and SWGGLSpectrum().

◆ m_display_current_isSet

bool SWGSDRangel::SWGGLSpectrum::m_display_current_isSet
private

Definition at line 157 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setDisplayCurrent(), and SWGGLSpectrum().

◆ m_display_grid_intensity_isSet

bool SWGSDRangel::SWGGLSpectrum::m_display_grid_intensity_isSet
private

Definition at line 148 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setDisplayGridIntensity(), and SWGGLSpectrum().

◆ m_display_grid_isSet

bool SWGSDRangel::SWGGLSpectrum::m_display_grid_isSet
private

Definition at line 142 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setDisplayGrid(), and SWGGLSpectrum().

◆ m_display_histogram_isSet

bool SWGSDRangel::SWGGLSpectrum::m_display_histogram_isSet
private

Definition at line 136 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setDisplayHistogram(), and SWGGLSpectrum().

◆ m_display_max_hold_isSet

bool SWGSDRangel::SWGGLSpectrum::m_display_max_hold_isSet
private

Definition at line 133 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setDisplayMaxHold(), and SWGGLSpectrum().

◆ m_display_trace_intensity_isSet

bool SWGSDRangel::SWGGLSpectrum::m_display_trace_intensity_isSet
private

Definition at line 160 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setDisplayTraceIntensity(), and SWGGLSpectrum().

◆ m_display_waterfall_isSet

bool SWGSDRangel::SWGGLSpectrum::m_display_waterfall_isSet
private

Definition at line 127 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setDisplayWaterfall(), and SWGGLSpectrum().

◆ m_fft_overlap_isSet

bool SWGSDRangel::SWGGLSpectrum::m_fft_overlap_isSet
private

Definition at line 115 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setFftOverlap(), and SWGGLSpectrum().

◆ m_fft_size_isSet

bool SWGSDRangel::SWGGLSpectrum::m_fft_size_isSet
private

Definition at line 112 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setFftSize(), and SWGGLSpectrum().

◆ m_fft_window

qint32 SWGSDRangel::SWGGLSpectrum::m_fft_window
private

◆ m_histogram_stroke_isSet

bool SWGSDRangel::SWGGLSpectrum::m_histogram_stroke_isSet
private

Definition at line 154 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setHistogramStroke(), and SWGGLSpectrum().

◆ m_invert_isSet

bool SWGSDRangel::SWGGLSpectrum::m_invert_isSet
private

Definition at line 145 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setInvert(), and SWGGLSpectrum().

◆ m_inverted_waterfall_isSet

bool SWGSDRangel::SWGGLSpectrum::m_inverted_waterfall_isSet
private

Definition at line 130 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setInvertedWaterfall(), and SWGGLSpectrum().

◆ m_linear_isSet

bool SWGSDRangel::SWGGLSpectrum::m_linear_isSet
private

Definition at line 172 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setLinear(), and SWGGLSpectrum().

◆ m_m_fft_window_isSet

bool SWGSDRangel::SWGGLSpectrum::m_m_fft_window_isSet
private

Definition at line 118 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setMFftWindow(), and SWGGLSpectrum().

◆ m_power_range_isSet

bool SWGSDRangel::SWGGLSpectrum::m_power_range_isSet
private

Definition at line 124 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setPowerRange(), and SWGGLSpectrum().

◆ m_ref_level_isSet

bool SWGSDRangel::SWGGLSpectrum::m_ref_level_isSet
private

Definition at line 121 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setRefLevel(), and SWGGLSpectrum().

◆ m_waterfall_share_isSet

bool SWGSDRangel::SWGGLSpectrum::m_waterfall_share_isSet
private

Definition at line 163 of file SWGGLSpectrum.h.

Referenced by asJsonObject(), init(), isSet(), setWaterfallShare(), and SWGGLSpectrum().

◆ power_range

float SWGSDRangel::SWGGLSpectrum::power_range
private

◆ ref_level

float SWGSDRangel::SWGGLSpectrum::ref_level
private

◆ waterfall_share

float SWGSDRangel::SWGGLSpectrum::waterfall_share
private

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