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

#include <SWGBFMDemodSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGBFMDemodSettings:
+ Collaboration diagram for SWGSDRangel::SWGBFMDemodSettings:

Public Member Functions

 SWGBFMDemodSettings ()
 
 SWGBFMDemodSettings (QString *json)
 
virtual ~SWGBFMDemodSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGBFMDemodSettingsfromJson (QString &jsonString) override
 
qint64 getInputFrequencyOffset ()
 
void setInputFrequencyOffset (qint64 input_frequency_offset)
 
float getRfBandwidth ()
 
void setRfBandwidth (float rf_bandwidth)
 
float getAfBandwidth ()
 
void setAfBandwidth (float af_bandwidth)
 
float getVolume ()
 
void setVolume (float volume)
 
float getSquelch ()
 
void setSquelch (float squelch)
 
qint32 getAudioStereo ()
 
void setAudioStereo (qint32 audio_stereo)
 
qint32 getLsbStereo ()
 
void setLsbStereo (qint32 lsb_stereo)
 
qint32 getShowPilot ()
 
void setShowPilot (qint32 show_pilot)
 
qint32 getRdsActive ()
 
void setRdsActive (qint32 rds_active)
 
qint32 getRgbColor ()
 
void setRgbColor (qint32 rgb_color)
 
QString * getTitle ()
 
void setTitle (QString *title)
 
QString * getAudioDeviceName ()
 
void setAudioDeviceName (QString *audio_device_name)
 
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
 
float af_bandwidth
 
bool m_af_bandwidth_isSet
 
float volume
 
bool m_volume_isSet
 
float squelch
 
bool m_squelch_isSet
 
qint32 audio_stereo
 
bool m_audio_stereo_isSet
 
qint32 lsb_stereo
 
bool m_lsb_stereo_isSet
 
qint32 show_pilot
 
bool m_show_pilot_isSet
 
qint32 rds_active
 
bool m_rds_active_isSet
 
qint32 rgb_color
 
bool m_rgb_color_isSet
 
QString * title
 
bool m_title_isSet
 
QString * audio_device_name
 
bool m_audio_device_name_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 SWGBFMDemodSettings.h.

Constructor & Destructor Documentation

◆ SWGBFMDemodSettings() [1/2]

SWGSDRangel::SWGBFMDemodSettings::SWGBFMDemodSettings ( )

Definition at line 30 of file SWGBFMDemodSettings.cpp.

References af_bandwidth, audio_device_name, audio_stereo, input_frequency_offset, lsb_stereo, m_af_bandwidth_isSet, m_audio_device_name_isSet, m_audio_stereo_isSet, m_input_frequency_offset_isSet, m_lsb_stereo_isSet, m_rds_active_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_show_pilot_isSet, m_squelch_isSet, m_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, rds_active, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, show_pilot, squelch, title, use_reverse_api, and volume.

30  {
33  rf_bandwidth = 0.0f;
34  m_rf_bandwidth_isSet = false;
35  af_bandwidth = 0.0f;
36  m_af_bandwidth_isSet = false;
37  volume = 0.0f;
38  m_volume_isSet = false;
39  squelch = 0.0f;
40  m_squelch_isSet = false;
41  audio_stereo = 0;
42  m_audio_stereo_isSet = false;
43  lsb_stereo = 0;
44  m_lsb_stereo_isSet = false;
45  show_pilot = 0;
46  m_show_pilot_isSet = false;
47  rds_active = 0;
48  m_rds_active_isSet = false;
49  rgb_color = 0;
50  m_rgb_color_isSet = false;
51  title = nullptr;
52  m_title_isSet = false;
53  audio_device_name = nullptr;
55  use_reverse_api = 0;
57  reverse_api_address = nullptr;
59  reverse_api_port = 0;
65 }

◆ SWGBFMDemodSettings() [2/2]

SWGSDRangel::SWGBFMDemodSettings::SWGBFMDemodSettings ( QString *  json)

Definition at line 25 of file SWGBFMDemodSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGBFMDemodSettings()

SWGSDRangel::SWGBFMDemodSettings::~SWGBFMDemodSettings ( )
virtual

Definition at line 67 of file SWGBFMDemodSettings.cpp.

References cleanup().

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

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGBFMDemodSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 184 of file SWGBFMDemodSettings.cpp.

References asJsonObject().

185 {
186  QJsonObject* obj = this->asJsonObject();
187 
188  QJsonDocument doc(*obj);
189  QByteArray bytes = doc.toJson();
190  delete obj;
191  return QString(bytes);
192 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 195 of file SWGBFMDemodSettings.cpp.

References af_bandwidth, audio_device_name, audio_stereo, input_frequency_offset, lsb_stereo, m_af_bandwidth_isSet, m_audio_stereo_isSet, m_input_frequency_offset_isSet, m_lsb_stereo_isSet, m_rds_active_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_show_pilot_isSet, m_squelch_isSet, m_use_reverse_api_isSet, m_volume_isSet, rds_active, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, show_pilot, squelch, title, SWGSDRangel::toJsonValue(), use_reverse_api, and volume.

Referenced by asJson().

195  {
196  QJsonObject* obj = new QJsonObject();
198  obj->insert("inputFrequencyOffset", QJsonValue(input_frequency_offset));
199  }
201  obj->insert("rfBandwidth", QJsonValue(rf_bandwidth));
202  }
204  obj->insert("afBandwidth", QJsonValue(af_bandwidth));
205  }
206  if(m_volume_isSet){
207  obj->insert("volume", QJsonValue(volume));
208  }
209  if(m_squelch_isSet){
210  obj->insert("squelch", QJsonValue(squelch));
211  }
213  obj->insert("audioStereo", QJsonValue(audio_stereo));
214  }
215  if(m_lsb_stereo_isSet){
216  obj->insert("lsbStereo", QJsonValue(lsb_stereo));
217  }
218  if(m_show_pilot_isSet){
219  obj->insert("showPilot", QJsonValue(show_pilot));
220  }
221  if(m_rds_active_isSet){
222  obj->insert("rdsActive", QJsonValue(rds_active));
223  }
224  if(m_rgb_color_isSet){
225  obj->insert("rgbColor", QJsonValue(rgb_color));
226  }
227  if(title != nullptr && *title != QString("")){
228  toJsonValue(QString("title"), title, obj, QString("QString"));
229  }
230  if(audio_device_name != nullptr && *audio_device_name != QString("")){
231  toJsonValue(QString("audioDeviceName"), audio_device_name, obj, QString("QString"));
232  }
234  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
235  }
236  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
237  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
238  }
240  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
241  }
243  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
244  }
246  obj->insert("reverseAPIChannelIndex", QJsonValue(reverse_api_channel_index));
247  }
248 
249  return obj;
250 }
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::SWGBFMDemodSettings::cleanup ( )

Definition at line 110 of file SWGBFMDemodSettings.cpp.

References audio_device_name, reverse_api_address, and title.

Referenced by ~SWGBFMDemodSettings().

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

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 137 of file SWGBFMDemodSettings.cpp.

References fromJsonObject().

Referenced by SWGBFMDemodSettings().

137  {
138  QByteArray array (json.toStdString().c_str());
139  QJsonDocument doc = QJsonDocument::fromJson(array);
140  QJsonObject jsonObject = doc.object();
141  this->fromJsonObject(jsonObject);
142  return this;
143 }
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::SWGBFMDemodSettings::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 146 of file SWGBFMDemodSettings.cpp.

References af_bandwidth, audio_device_name, audio_stereo, input_frequency_offset, lsb_stereo, rds_active, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, SWGSDRangel::setValue(), show_pilot, squelch, title, use_reverse_api, and volume.

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

146  {
147  ::SWGSDRangel::setValue(&input_frequency_offset, pJson["inputFrequencyOffset"], "qint64", "");
148 
149  ::SWGSDRangel::setValue(&rf_bandwidth, pJson["rfBandwidth"], "float", "");
150 
151  ::SWGSDRangel::setValue(&af_bandwidth, pJson["afBandwidth"], "float", "");
152 
153  ::SWGSDRangel::setValue(&volume, pJson["volume"], "float", "");
154 
155  ::SWGSDRangel::setValue(&squelch, pJson["squelch"], "float", "");
156 
157  ::SWGSDRangel::setValue(&audio_stereo, pJson["audioStereo"], "qint32", "");
158 
159  ::SWGSDRangel::setValue(&lsb_stereo, pJson["lsbStereo"], "qint32", "");
160 
161  ::SWGSDRangel::setValue(&show_pilot, pJson["showPilot"], "qint32", "");
162 
163  ::SWGSDRangel::setValue(&rds_active, pJson["rdsActive"], "qint32", "");
164 
165  ::SWGSDRangel::setValue(&rgb_color, pJson["rgbColor"], "qint32", "");
166 
167  ::SWGSDRangel::setValue(&title, pJson["title"], "QString", "QString");
168 
169  ::SWGSDRangel::setValue(&audio_device_name, pJson["audioDeviceName"], "QString", "QString");
170 
171  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
172 
173  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
174 
175  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
176 
177  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
178 
179  ::SWGSDRangel::setValue(&reverse_api_channel_index, pJson["reverseAPIChannelIndex"], "qint32", "");
180 
181 }
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:

◆ getAfBandwidth()

float SWGSDRangel::SWGBFMDemodSettings::getAfBandwidth ( )

Definition at line 273 of file SWGBFMDemodSettings.cpp.

References af_bandwidth.

Referenced by BFMDemod::webapiSettingsPutPatch().

273  {
274  return af_bandwidth;
275 }
+ Here is the caller graph for this function:

◆ getAudioDeviceName()

QString * SWGSDRangel::SWGBFMDemodSettings::getAudioDeviceName ( )

Definition at line 363 of file SWGBFMDemodSettings.cpp.

References audio_device_name.

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

363  {
364  return audio_device_name;
365 }
+ Here is the caller graph for this function:

◆ getAudioStereo()

qint32 SWGSDRangel::SWGBFMDemodSettings::getAudioStereo ( )

Definition at line 303 of file SWGBFMDemodSettings.cpp.

References audio_stereo.

Referenced by BFMDemod::webapiSettingsPutPatch().

303  {
304  return audio_stereo;
305 }
+ Here is the caller graph for this function:

◆ getInputFrequencyOffset()

qint64 SWGSDRangel::SWGBFMDemodSettings::getInputFrequencyOffset ( )

Definition at line 253 of file SWGBFMDemodSettings.cpp.

References input_frequency_offset.

Referenced by BFMDemod::webapiSettingsPutPatch().

253  {
254  return input_frequency_offset;
255 }
+ Here is the caller graph for this function:

◆ getLsbStereo()

qint32 SWGSDRangel::SWGBFMDemodSettings::getLsbStereo ( )

Definition at line 313 of file SWGBFMDemodSettings.cpp.

References lsb_stereo.

Referenced by BFMDemod::webapiSettingsPutPatch().

313  {
314  return lsb_stereo;
315 }
+ Here is the caller graph for this function:

◆ getRdsActive()

qint32 SWGSDRangel::SWGBFMDemodSettings::getRdsActive ( )

Definition at line 333 of file SWGBFMDemodSettings.cpp.

References rds_active.

Referenced by BFMDemod::webapiSettingsPutPatch().

333  {
334  return rds_active;
335 }
+ Here is the caller graph for this function:

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGBFMDemodSettings::getReverseApiAddress ( )

Definition at line 383 of file SWGBFMDemodSettings.cpp.

References reverse_api_address.

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

383  {
384  return reverse_api_address;
385 }
+ Here is the caller graph for this function:

◆ getReverseApiChannelIndex()

qint32 SWGSDRangel::SWGBFMDemodSettings::getReverseApiChannelIndex ( )

Definition at line 413 of file SWGBFMDemodSettings.cpp.

References reverse_api_channel_index.

Referenced by BFMDemod::webapiSettingsPutPatch().

413  {
415 }
+ Here is the caller graph for this function:

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGBFMDemodSettings::getReverseApiDeviceIndex ( )

Definition at line 403 of file SWGBFMDemodSettings.cpp.

References reverse_api_device_index.

Referenced by BFMDemod::webapiSettingsPutPatch().

403  {
405 }
+ Here is the caller graph for this function:

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGBFMDemodSettings::getReverseApiPort ( )

Definition at line 393 of file SWGBFMDemodSettings.cpp.

References reverse_api_port.

Referenced by BFMDemod::webapiSettingsPutPatch().

393  {
394  return reverse_api_port;
395 }
+ Here is the caller graph for this function:

◆ getRfBandwidth()

float SWGSDRangel::SWGBFMDemodSettings::getRfBandwidth ( )

Definition at line 263 of file SWGBFMDemodSettings.cpp.

References rf_bandwidth.

Referenced by BFMDemod::webapiSettingsPutPatch().

263  {
264  return rf_bandwidth;
265 }
+ Here is the caller graph for this function:

◆ getRgbColor()

qint32 SWGSDRangel::SWGBFMDemodSettings::getRgbColor ( )

Definition at line 343 of file SWGBFMDemodSettings.cpp.

References rgb_color.

Referenced by BFMDemod::webapiSettingsPutPatch().

343  {
344  return rgb_color;
345 }
+ Here is the caller graph for this function:

◆ getShowPilot()

qint32 SWGSDRangel::SWGBFMDemodSettings::getShowPilot ( )

Definition at line 323 of file SWGBFMDemodSettings.cpp.

References show_pilot.

Referenced by BFMDemod::webapiSettingsPutPatch().

323  {
324  return show_pilot;
325 }
+ Here is the caller graph for this function:

◆ getSquelch()

float SWGSDRangel::SWGBFMDemodSettings::getSquelch ( )

Definition at line 293 of file SWGBFMDemodSettings.cpp.

References squelch.

Referenced by BFMDemod::webapiSettingsPutPatch().

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

◆ getTitle()

QString * SWGSDRangel::SWGBFMDemodSettings::getTitle ( )

Definition at line 353 of file SWGBFMDemodSettings.cpp.

References title.

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

353  {
354  return title;
355 }
+ Here is the caller graph for this function:

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGBFMDemodSettings::getUseReverseApi ( )

Definition at line 373 of file SWGBFMDemodSettings.cpp.

References use_reverse_api.

Referenced by BFMDemod::webapiSettingsPutPatch().

373  {
374  return use_reverse_api;
375 }
+ Here is the caller graph for this function:

◆ getVolume()

float SWGSDRangel::SWGBFMDemodSettings::getVolume ( )

Definition at line 283 of file SWGBFMDemodSettings.cpp.

References volume.

Referenced by BFMDemod::webapiSettingsPutPatch().

283  {
284  return volume;
285 }
+ Here is the caller graph for this function:

◆ init()

void SWGSDRangel::SWGBFMDemodSettings::init ( )

Definition at line 72 of file SWGBFMDemodSettings.cpp.

References af_bandwidth, audio_device_name, audio_stereo, input_frequency_offset, lsb_stereo, m_af_bandwidth_isSet, m_audio_device_name_isSet, m_audio_stereo_isSet, m_input_frequency_offset_isSet, m_lsb_stereo_isSet, m_rds_active_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_show_pilot_isSet, m_squelch_isSet, m_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, rds_active, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, show_pilot, squelch, title, use_reverse_api, and volume.

Referenced by SWGBFMDemodSettings(), and BFMDemod::webapiSettingsGet().

72  {
75  rf_bandwidth = 0.0f;
76  m_rf_bandwidth_isSet = false;
77  af_bandwidth = 0.0f;
78  m_af_bandwidth_isSet = false;
79  volume = 0.0f;
80  m_volume_isSet = false;
81  squelch = 0.0f;
82  m_squelch_isSet = false;
83  audio_stereo = 0;
84  m_audio_stereo_isSet = false;
85  lsb_stereo = 0;
86  m_lsb_stereo_isSet = false;
87  show_pilot = 0;
88  m_show_pilot_isSet = false;
89  rds_active = 0;
90  m_rds_active_isSet = false;
91  rgb_color = 0;
92  m_rgb_color_isSet = false;
93  title = new QString("");
94  m_title_isSet = false;
95  audio_device_name = new QString("");
97  use_reverse_api = 0;
99  reverse_api_address = new QString("");
101  reverse_api_port = 0;
102  m_reverse_api_port_isSet = false;
107 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGBFMDemodSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 424 of file SWGBFMDemodSettings.cpp.

References audio_device_name, m_af_bandwidth_isSet, m_audio_stereo_isSet, m_input_frequency_offset_isSet, m_lsb_stereo_isSet, m_rds_active_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_show_pilot_isSet, m_squelch_isSet, m_use_reverse_api_isSet, m_volume_isSet, reverse_api_address, and title.

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

424  {
425  bool isObjectUpdated = false;
426  do{
427  if(m_input_frequency_offset_isSet){ isObjectUpdated = true; break;}
428  if(m_rf_bandwidth_isSet){ isObjectUpdated = true; break;}
429  if(m_af_bandwidth_isSet){ isObjectUpdated = true; break;}
430  if(m_volume_isSet){ isObjectUpdated = true; break;}
431  if(m_squelch_isSet){ isObjectUpdated = true; break;}
432  if(m_audio_stereo_isSet){ isObjectUpdated = true; break;}
433  if(m_lsb_stereo_isSet){ isObjectUpdated = true; break;}
434  if(m_show_pilot_isSet){ isObjectUpdated = true; break;}
435  if(m_rds_active_isSet){ isObjectUpdated = true; break;}
436  if(m_rgb_color_isSet){ isObjectUpdated = true; break;}
437  if(title != nullptr && *title != QString("")){ isObjectUpdated = true; break;}
438  if(audio_device_name != nullptr && *audio_device_name != QString("")){ isObjectUpdated = true; break;}
439  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
440  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
441  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
442  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
443  if(m_reverse_api_channel_index_isSet){ isObjectUpdated = true; break;}
444  }while(false);
445  return isObjectUpdated;
446 }
+ Here is the caller graph for this function:

◆ setAfBandwidth()

void SWGSDRangel::SWGBFMDemodSettings::setAfBandwidth ( float  af_bandwidth)

Definition at line 277 of file SWGBFMDemodSettings.cpp.

References af_bandwidth, and m_af_bandwidth_isSet.

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

+ Here is the caller graph for this function:

◆ setAudioDeviceName()

void SWGSDRangel::SWGBFMDemodSettings::setAudioDeviceName ( QString *  audio_device_name)

Definition at line 367 of file SWGBFMDemodSettings.cpp.

References audio_device_name, and m_audio_device_name_isSet.

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

+ Here is the caller graph for this function:

◆ setAudioStereo()

void SWGSDRangel::SWGBFMDemodSettings::setAudioStereo ( qint32  audio_stereo)

Definition at line 307 of file SWGBFMDemodSettings.cpp.

References audio_stereo, and m_audio_stereo_isSet.

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

+ Here is the caller graph for this function:

◆ setInputFrequencyOffset()

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

◆ setLsbStereo()

void SWGSDRangel::SWGBFMDemodSettings::setLsbStereo ( qint32  lsb_stereo)

Definition at line 317 of file SWGBFMDemodSettings.cpp.

References lsb_stereo, and m_lsb_stereo_isSet.

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

+ Here is the caller graph for this function:

◆ setRdsActive()

void SWGSDRangel::SWGBFMDemodSettings::setRdsActive ( qint32  rds_active)

Definition at line 337 of file SWGBFMDemodSettings.cpp.

References m_rds_active_isSet, and rds_active.

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

+ Here is the caller graph for this function:

◆ setReverseApiAddress()

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

Definition at line 387 of file SWGBFMDemodSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by BFMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiChannelIndex()

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

Definition at line 417 of file SWGBFMDemodSettings.cpp.

References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.

Referenced by BFMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiDeviceIndex()

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

Definition at line 407 of file SWGBFMDemodSettings.cpp.

References m_reverse_api_device_index_isSet, and reverse_api_device_index.

Referenced by BFMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiPort()

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

Definition at line 397 of file SWGBFMDemodSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by BFMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setRfBandwidth()

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

Definition at line 267 of file SWGBFMDemodSettings.cpp.

References m_rf_bandwidth_isSet, and rf_bandwidth.

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

+ Here is the caller graph for this function:

◆ setRgbColor()

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

Definition at line 347 of file SWGBFMDemodSettings.cpp.

References m_rgb_color_isSet, and rgb_color.

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

+ Here is the caller graph for this function:

◆ setShowPilot()

void SWGSDRangel::SWGBFMDemodSettings::setShowPilot ( qint32  show_pilot)

Definition at line 327 of file SWGBFMDemodSettings.cpp.

References m_show_pilot_isSet, and show_pilot.

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

+ Here is the caller graph for this function:

◆ setSquelch()

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

Definition at line 297 of file SWGBFMDemodSettings.cpp.

References m_squelch_isSet, and squelch.

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

+ Here is the caller graph for this function:

◆ setTitle()

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

Definition at line 357 of file SWGBFMDemodSettings.cpp.

References m_title_isSet, and title.

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

357  {
358  this->title = title;
359  this->m_title_isSet = true;
360 }
+ Here is the caller graph for this function:

◆ setUseReverseApi()

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

Definition at line 377 of file SWGBFMDemodSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by BFMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setVolume()

void SWGSDRangel::SWGBFMDemodSettings::setVolume ( float  volume)

Definition at line 287 of file SWGBFMDemodSettings.cpp.

References m_volume_isSet, and volume.

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

287  {
288  this->volume = volume;
289  this->m_volume_isSet = true;
290 }
+ Here is the caller graph for this function:

Member Data Documentation

◆ af_bandwidth

float SWGSDRangel::SWGBFMDemodSettings::af_bandwidth
private

◆ audio_device_name

QString* SWGSDRangel::SWGBFMDemodSettings::audio_device_name
private

◆ audio_stereo

qint32 SWGSDRangel::SWGBFMDemodSettings::audio_stereo
private

◆ input_frequency_offset

qint64 SWGSDRangel::SWGBFMDemodSettings::input_frequency_offset
private

◆ lsb_stereo

qint32 SWGSDRangel::SWGBFMDemodSettings::lsb_stereo
private

◆ m_af_bandwidth_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_af_bandwidth_isSet
private

Definition at line 107 of file SWGBFMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setAfBandwidth(), and SWGBFMDemodSettings().

◆ m_audio_device_name_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_audio_device_name_isSet
private

Definition at line 134 of file SWGBFMDemodSettings.h.

Referenced by init(), setAudioDeviceName(), and SWGBFMDemodSettings().

◆ m_audio_stereo_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_audio_stereo_isSet
private

Definition at line 116 of file SWGBFMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setAudioStereo(), and SWGBFMDemodSettings().

◆ m_input_frequency_offset_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_input_frequency_offset_isSet
private

◆ m_lsb_stereo_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_lsb_stereo_isSet
private

Definition at line 119 of file SWGBFMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setLsbStereo(), and SWGBFMDemodSettings().

◆ m_rds_active_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_rds_active_isSet
private

Definition at line 125 of file SWGBFMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setRdsActive(), and SWGBFMDemodSettings().

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_reverse_api_address_isSet
private

Definition at line 140 of file SWGBFMDemodSettings.h.

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

◆ m_reverse_api_channel_index_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_reverse_api_channel_index_isSet
private

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_reverse_api_port_isSet
private

◆ m_rf_bandwidth_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_rf_bandwidth_isSet
private

Definition at line 104 of file SWGBFMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setRfBandwidth(), and SWGBFMDemodSettings().

◆ m_rgb_color_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_rgb_color_isSet
private

Definition at line 128 of file SWGBFMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setRgbColor(), and SWGBFMDemodSettings().

◆ m_show_pilot_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_show_pilot_isSet
private

Definition at line 122 of file SWGBFMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setShowPilot(), and SWGBFMDemodSettings().

◆ m_squelch_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_squelch_isSet
private

Definition at line 113 of file SWGBFMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setSquelch(), and SWGBFMDemodSettings().

◆ m_title_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_title_isSet
private

Definition at line 131 of file SWGBFMDemodSettings.h.

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

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_use_reverse_api_isSet
private

◆ m_volume_isSet

bool SWGSDRangel::SWGBFMDemodSettings::m_volume_isSet
private

Definition at line 110 of file SWGBFMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setVolume(), and SWGBFMDemodSettings().

◆ rds_active

qint32 SWGSDRangel::SWGBFMDemodSettings::rds_active
private

◆ reverse_api_address

QString* SWGSDRangel::SWGBFMDemodSettings::reverse_api_address
private

◆ reverse_api_channel_index

qint32 SWGSDRangel::SWGBFMDemodSettings::reverse_api_channel_index
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGBFMDemodSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGBFMDemodSettings::reverse_api_port
private

◆ rf_bandwidth

float SWGSDRangel::SWGBFMDemodSettings::rf_bandwidth
private

◆ rgb_color

qint32 SWGSDRangel::SWGBFMDemodSettings::rgb_color
private

◆ show_pilot

qint32 SWGSDRangel::SWGBFMDemodSettings::show_pilot
private

◆ squelch

float SWGSDRangel::SWGBFMDemodSettings::squelch
private

◆ title

QString* SWGSDRangel::SWGBFMDemodSettings::title
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGBFMDemodSettings::use_reverse_api
private

◆ volume

float SWGSDRangel::SWGBFMDemodSettings::volume
private

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