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

#include <SWGAMDemodSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGAMDemodSettings:
+ Collaboration diagram for SWGSDRangel::SWGAMDemodSettings:

Public Member Functions

 SWGAMDemodSettings ()
 
 SWGAMDemodSettings (QString *json)
 
virtual ~SWGAMDemodSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGAMDemodSettingsfromJson (QString &jsonString) override
 
qint64 getInputFrequencyOffset ()
 
void setInputFrequencyOffset (qint64 input_frequency_offset)
 
float getRfBandwidth ()
 
void setRfBandwidth (float rf_bandwidth)
 
float getSquelch ()
 
void setSquelch (float squelch)
 
float getVolume ()
 
void setVolume (float volume)
 
qint32 getAudioMute ()
 
void setAudioMute (qint32 audio_mute)
 
qint32 getBandpassEnable ()
 
void setBandpassEnable (qint32 bandpass_enable)
 
qint32 getRgbColor ()
 
void setRgbColor (qint32 rgb_color)
 
QString * getTitle ()
 
void setTitle (QString *title)
 
QString * getAudioDeviceName ()
 
void setAudioDeviceName (QString *audio_device_name)
 
qint32 getPll ()
 
void setPll (qint32 pll)
 
qint32 getSyncAmOperation ()
 
void setSyncAmOperation (qint32 sync_am_operation)
 
qint32 getStreamIndex ()
 
void setStreamIndex (qint32 stream_index)
 
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 squelch
 
bool m_squelch_isSet
 
float volume
 
bool m_volume_isSet
 
qint32 audio_mute
 
bool m_audio_mute_isSet
 
qint32 bandpass_enable
 
bool m_bandpass_enable_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 pll
 
bool m_pll_isSet
 
qint32 sync_am_operation
 
bool m_sync_am_operation_isSet
 
qint32 stream_index
 
bool m_stream_index_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 SWGAMDemodSettings.h.

Constructor & Destructor Documentation

◆ SWGAMDemodSettings() [1/2]

SWGSDRangel::SWGAMDemodSettings::SWGAMDemodSettings ( )

Definition at line 30 of file SWGAMDemodSettings.cpp.

References audio_device_name, audio_mute, bandpass_enable, input_frequency_offset, m_audio_device_name_isSet, m_audio_mute_isSet, m_bandpass_enable_isSet, m_input_frequency_offset_isSet, m_pll_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_squelch_isSet, m_stream_index_isSet, m_sync_am_operation_isSet, m_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, pll, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, stream_index, sync_am_operation, title, use_reverse_api, and volume.

30  {
33  rf_bandwidth = 0.0f;
34  m_rf_bandwidth_isSet = false;
35  squelch = 0.0f;
36  m_squelch_isSet = false;
37  volume = 0.0f;
38  m_volume_isSet = false;
39  audio_mute = 0;
40  m_audio_mute_isSet = false;
41  bandpass_enable = 0;
43  rgb_color = 0;
44  m_rgb_color_isSet = false;
45  title = nullptr;
46  m_title_isSet = false;
47  audio_device_name = nullptr;
49  pll = 0;
50  m_pll_isSet = false;
53  stream_index = 0;
54  m_stream_index_isSet = false;
55  use_reverse_api = 0;
57  reverse_api_address = nullptr;
59  reverse_api_port = 0;
65 }

◆ SWGAMDemodSettings() [2/2]

SWGSDRangel::SWGAMDemodSettings::SWGAMDemodSettings ( QString *  json)

Definition at line 25 of file SWGAMDemodSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGAMDemodSettings()

SWGSDRangel::SWGAMDemodSettings::~SWGAMDemodSettings ( )
virtual

Definition at line 67 of file SWGAMDemodSettings.cpp.

References cleanup().

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

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGAMDemodSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 195 of file SWGAMDemodSettings.cpp.

References audio_device_name, audio_mute, bandpass_enable, input_frequency_offset, m_audio_mute_isSet, m_bandpass_enable_isSet, m_input_frequency_offset_isSet, m_pll_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_squelch_isSet, m_stream_index_isSet, m_sync_am_operation_isSet, m_use_reverse_api_isSet, m_volume_isSet, pll, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, stream_index, sync_am_operation, 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  }
203  if(m_squelch_isSet){
204  obj->insert("squelch", QJsonValue(squelch));
205  }
206  if(m_volume_isSet){
207  obj->insert("volume", QJsonValue(volume));
208  }
209  if(m_audio_mute_isSet){
210  obj->insert("audioMute", QJsonValue(audio_mute));
211  }
213  obj->insert("bandpassEnable", QJsonValue(bandpass_enable));
214  }
215  if(m_rgb_color_isSet){
216  obj->insert("rgbColor", QJsonValue(rgb_color));
217  }
218  if(title != nullptr && *title != QString("")){
219  toJsonValue(QString("title"), title, obj, QString("QString"));
220  }
221  if(audio_device_name != nullptr && *audio_device_name != QString("")){
222  toJsonValue(QString("audioDeviceName"), audio_device_name, obj, QString("QString"));
223  }
224  if(m_pll_isSet){
225  obj->insert("pll", QJsonValue(pll));
226  }
228  obj->insert("syncAMOperation", QJsonValue(sync_am_operation));
229  }
231  obj->insert("streamIndex", QJsonValue(stream_index));
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::SWGAMDemodSettings::cleanup ( )

Definition at line 110 of file SWGAMDemodSettings.cpp.

References audio_device_name, reverse_api_address, and title.

Referenced by ~SWGAMDemodSettings().

110  {
111 
112 
113 
114 
115 
116 
117 
118  if(title != nullptr) {
119  delete title;
120  }
121  if(audio_device_name != nullptr) {
122  delete audio_device_name;
123  }
124 
125 
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()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 137 of file SWGAMDemodSettings.cpp.

References fromJsonObject().

Referenced by SWGAMDemodSettings().

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 146 of file SWGAMDemodSettings.cpp.

References audio_device_name, audio_mute, bandpass_enable, input_frequency_offset, pll, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, SWGSDRangel::setValue(), squelch, stream_index, sync_am_operation, 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(&squelch, pJson["squelch"], "float", "");
152 
153  ::SWGSDRangel::setValue(&volume, pJson["volume"], "float", "");
154 
155  ::SWGSDRangel::setValue(&audio_mute, pJson["audioMute"], "qint32", "");
156 
157  ::SWGSDRangel::setValue(&bandpass_enable, pJson["bandpassEnable"], "qint32", "");
158 
159  ::SWGSDRangel::setValue(&rgb_color, pJson["rgbColor"], "qint32", "");
160 
161  ::SWGSDRangel::setValue(&title, pJson["title"], "QString", "QString");
162 
163  ::SWGSDRangel::setValue(&audio_device_name, pJson["audioDeviceName"], "QString", "QString");
164 
165  ::SWGSDRangel::setValue(&pll, pJson["pll"], "qint32", "");
166 
167  ::SWGSDRangel::setValue(&sync_am_operation, pJson["syncAMOperation"], "qint32", "");
168 
169  ::SWGSDRangel::setValue(&stream_index, pJson["streamIndex"], "qint32", "");
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:

◆ getAudioDeviceName()

QString * SWGSDRangel::SWGAMDemodSettings::getAudioDeviceName ( )

Definition at line 333 of file SWGAMDemodSettings.cpp.

References audio_device_name.

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

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

◆ getAudioMute()

qint32 SWGSDRangel::SWGAMDemodSettings::getAudioMute ( )

Definition at line 293 of file SWGAMDemodSettings.cpp.

References audio_mute.

Referenced by AMDemod::webapiSettingsPutPatch().

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

◆ getBandpassEnable()

qint32 SWGSDRangel::SWGAMDemodSettings::getBandpassEnable ( )

Definition at line 303 of file SWGAMDemodSettings.cpp.

References bandpass_enable.

Referenced by AMDemod::webapiSettingsPutPatch().

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

◆ getInputFrequencyOffset()

qint64 SWGSDRangel::SWGAMDemodSettings::getInputFrequencyOffset ( )

Definition at line 253 of file SWGAMDemodSettings.cpp.

References input_frequency_offset.

Referenced by AMDemod::webapiSettingsPutPatch().

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

◆ getPll()

qint32 SWGSDRangel::SWGAMDemodSettings::getPll ( )

Definition at line 343 of file SWGAMDemodSettings.cpp.

References pll.

Referenced by AMDemod::webapiSettingsPutPatch().

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

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGAMDemodSettings::getReverseApiAddress ( )

Definition at line 383 of file SWGAMDemodSettings.cpp.

References reverse_api_address.

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

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

◆ getReverseApiChannelIndex()

qint32 SWGSDRangel::SWGAMDemodSettings::getReverseApiChannelIndex ( )

Definition at line 413 of file SWGAMDemodSettings.cpp.

References reverse_api_channel_index.

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

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

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGAMDemodSettings::getReverseApiDeviceIndex ( )

Definition at line 403 of file SWGAMDemodSettings.cpp.

References reverse_api_device_index.

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

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

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGAMDemodSettings::getReverseApiPort ( )

Definition at line 393 of file SWGAMDemodSettings.cpp.

References reverse_api_port.

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

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

◆ getRfBandwidth()

float SWGSDRangel::SWGAMDemodSettings::getRfBandwidth ( )

Definition at line 263 of file SWGAMDemodSettings.cpp.

References rf_bandwidth.

Referenced by AMDemod::webapiSettingsPutPatch().

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

◆ getRgbColor()

qint32 SWGSDRangel::SWGAMDemodSettings::getRgbColor ( )

Definition at line 313 of file SWGAMDemodSettings.cpp.

References rgb_color.

Referenced by AMDemod::webapiSettingsPutPatch().

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

◆ getSquelch()

float SWGSDRangel::SWGAMDemodSettings::getSquelch ( )

Definition at line 273 of file SWGAMDemodSettings.cpp.

References squelch.

Referenced by AMDemod::webapiSettingsPutPatch().

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

◆ getStreamIndex()

qint32 SWGSDRangel::SWGAMDemodSettings::getStreamIndex ( )

Definition at line 363 of file SWGAMDemodSettings.cpp.

References stream_index.

Referenced by AMDemod::webapiSettingsPutPatch().

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

◆ getSyncAmOperation()

qint32 SWGSDRangel::SWGAMDemodSettings::getSyncAmOperation ( )

Definition at line 353 of file SWGAMDemodSettings.cpp.

References sync_am_operation.

Referenced by AMDemod::webapiSettingsPutPatch().

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

◆ getTitle()

QString * SWGSDRangel::SWGAMDemodSettings::getTitle ( )

Definition at line 323 of file SWGAMDemodSettings.cpp.

References title.

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

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

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGAMDemodSettings::getUseReverseApi ( )

Definition at line 373 of file SWGAMDemodSettings.cpp.

References use_reverse_api.

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

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

◆ getVolume()

float SWGSDRangel::SWGAMDemodSettings::getVolume ( )

Definition at line 283 of file SWGAMDemodSettings.cpp.

References volume.

Referenced by AMDemod::webapiSettingsPutPatch().

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

◆ init()

void SWGSDRangel::SWGAMDemodSettings::init ( )

Definition at line 72 of file SWGAMDemodSettings.cpp.

References audio_device_name, audio_mute, bandpass_enable, input_frequency_offset, m_audio_device_name_isSet, m_audio_mute_isSet, m_bandpass_enable_isSet, m_input_frequency_offset_isSet, m_pll_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_squelch_isSet, m_stream_index_isSet, m_sync_am_operation_isSet, m_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, pll, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, stream_index, sync_am_operation, title, use_reverse_api, and volume.

Referenced by SWGAMDemodSettings(), and AMDemod::webapiSettingsGet().

72  {
75  rf_bandwidth = 0.0f;
76  m_rf_bandwidth_isSet = false;
77  squelch = 0.0f;
78  m_squelch_isSet = false;
79  volume = 0.0f;
80  m_volume_isSet = false;
81  audio_mute = 0;
82  m_audio_mute_isSet = false;
83  bandpass_enable = 0;
85  rgb_color = 0;
86  m_rgb_color_isSet = false;
87  title = new QString("");
88  m_title_isSet = false;
89  audio_device_name = new QString("");
91  pll = 0;
92  m_pll_isSet = false;
95  stream_index = 0;
96  m_stream_index_isSet = false;
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::SWGAMDemodSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 424 of file SWGAMDemodSettings.cpp.

References audio_device_name, m_audio_mute_isSet, m_bandpass_enable_isSet, m_input_frequency_offset_isSet, m_pll_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_squelch_isSet, m_stream_index_isSet, m_sync_am_operation_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_squelch_isSet){ isObjectUpdated = true; break;}
430  if(m_volume_isSet){ isObjectUpdated = true; break;}
431  if(m_audio_mute_isSet){ isObjectUpdated = true; break;}
432  if(m_bandpass_enable_isSet){ isObjectUpdated = true; break;}
433  if(m_rgb_color_isSet){ isObjectUpdated = true; break;}
434  if(title != nullptr && *title != QString("")){ isObjectUpdated = true; break;}
435  if(audio_device_name != nullptr && *audio_device_name != QString("")){ isObjectUpdated = true; break;}
436  if(m_pll_isSet){ isObjectUpdated = true; break;}
437  if(m_sync_am_operation_isSet){ isObjectUpdated = true; break;}
438  if(m_stream_index_isSet){ 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:

◆ setAudioDeviceName()

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

Definition at line 337 of file SWGAMDemodSettings.cpp.

References audio_device_name, and m_audio_device_name_isSet.

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

+ Here is the caller graph for this function:

◆ setAudioMute()

void SWGSDRangel::SWGAMDemodSettings::setAudioMute ( qint32  audio_mute)

Definition at line 297 of file SWGAMDemodSettings.cpp.

References audio_mute, and m_audio_mute_isSet.

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

+ Here is the caller graph for this function:

◆ setBandpassEnable()

void SWGSDRangel::SWGAMDemodSettings::setBandpassEnable ( qint32  bandpass_enable)

Definition at line 307 of file SWGAMDemodSettings.cpp.

References bandpass_enable, and m_bandpass_enable_isSet.

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

+ Here is the caller graph for this function:

◆ setInputFrequencyOffset()

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

◆ setPll()

void SWGSDRangel::SWGAMDemodSettings::setPll ( qint32  pll)

Definition at line 347 of file SWGAMDemodSettings.cpp.

References m_pll_isSet, and pll.

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

347  {
348  this->pll = pll;
349  this->m_pll_isSet = true;
350 }
+ Here is the caller graph for this function:

◆ setReverseApiAddress()

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

Definition at line 387 of file SWGAMDemodSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by AMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiChannelIndex()

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

Definition at line 417 of file SWGAMDemodSettings.cpp.

References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.

Referenced by AMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiDeviceIndex()

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

Definition at line 407 of file SWGAMDemodSettings.cpp.

References m_reverse_api_device_index_isSet, and reverse_api_device_index.

Referenced by AMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiPort()

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

Definition at line 397 of file SWGAMDemodSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by AMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setRfBandwidth()

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

Definition at line 267 of file SWGAMDemodSettings.cpp.

References m_rf_bandwidth_isSet, and rf_bandwidth.

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

+ Here is the caller graph for this function:

◆ setRgbColor()

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

Definition at line 317 of file SWGAMDemodSettings.cpp.

References m_rgb_color_isSet, and rgb_color.

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

317  {
318  this->rgb_color = rgb_color;
319  this->m_rgb_color_isSet = true;
320 }
+ Here is the caller graph for this function:

◆ setSquelch()

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

Definition at line 277 of file SWGAMDemodSettings.cpp.

References m_squelch_isSet, and squelch.

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

277  {
278  this->squelch = squelch;
279  this->m_squelch_isSet = true;
280 }
+ Here is the caller graph for this function:

◆ setStreamIndex()

void SWGSDRangel::SWGAMDemodSettings::setStreamIndex ( qint32  stream_index)

Definition at line 367 of file SWGAMDemodSettings.cpp.

References m_stream_index_isSet, and stream_index.

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

+ Here is the caller graph for this function:

◆ setSyncAmOperation()

void SWGSDRangel::SWGAMDemodSettings::setSyncAmOperation ( qint32  sync_am_operation)

Definition at line 357 of file SWGAMDemodSettings.cpp.

References m_sync_am_operation_isSet, and sync_am_operation.

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

+ Here is the caller graph for this function:

◆ setTitle()

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

Definition at line 327 of file SWGAMDemodSettings.cpp.

References m_title_isSet, and title.

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

327  {
328  this->title = title;
329  this->m_title_isSet = true;
330 }
+ Here is the caller graph for this function:

◆ setUseReverseApi()

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

Definition at line 377 of file SWGAMDemodSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by AMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setVolume()

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

Definition at line 287 of file SWGAMDemodSettings.cpp.

References m_volume_isSet, and volume.

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

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

Member Data Documentation

◆ audio_device_name

QString* SWGSDRangel::SWGAMDemodSettings::audio_device_name
private

◆ audio_mute

qint32 SWGSDRangel::SWGAMDemodSettings::audio_mute
private

◆ bandpass_enable

qint32 SWGSDRangel::SWGAMDemodSettings::bandpass_enable
private

◆ input_frequency_offset

qint64 SWGSDRangel::SWGAMDemodSettings::input_frequency_offset
private

◆ m_audio_device_name_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_audio_device_name_isSet
private

Definition at line 125 of file SWGAMDemodSettings.h.

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

◆ m_audio_mute_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_audio_mute_isSet
private

Definition at line 113 of file SWGAMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setAudioMute(), and SWGAMDemodSettings().

◆ m_bandpass_enable_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_bandpass_enable_isSet
private

◆ m_input_frequency_offset_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_input_frequency_offset_isSet
private

◆ m_pll_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_pll_isSet
private

Definition at line 128 of file SWGAMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setPll(), and SWGAMDemodSettings().

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_reverse_api_address_isSet
private

Definition at line 140 of file SWGAMDemodSettings.h.

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

◆ m_reverse_api_channel_index_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_reverse_api_channel_index_isSet
private

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_reverse_api_port_isSet
private

◆ m_rf_bandwidth_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_rf_bandwidth_isSet
private

Definition at line 104 of file SWGAMDemodSettings.h.

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

◆ m_rgb_color_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_rgb_color_isSet
private

Definition at line 119 of file SWGAMDemodSettings.h.

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

◆ m_squelch_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_squelch_isSet
private

Definition at line 107 of file SWGAMDemodSettings.h.

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

◆ m_stream_index_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_stream_index_isSet
private

Definition at line 134 of file SWGAMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setStreamIndex(), and SWGAMDemodSettings().

◆ m_sync_am_operation_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_sync_am_operation_isSet
private

◆ m_title_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_title_isSet
private

Definition at line 122 of file SWGAMDemodSettings.h.

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

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_use_reverse_api_isSet
private

Definition at line 137 of file SWGAMDemodSettings.h.

Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGAMDemodSettings().

◆ m_volume_isSet

bool SWGSDRangel::SWGAMDemodSettings::m_volume_isSet
private

Definition at line 110 of file SWGAMDemodSettings.h.

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

◆ pll

qint32 SWGSDRangel::SWGAMDemodSettings::pll
private

◆ reverse_api_address

QString* SWGSDRangel::SWGAMDemodSettings::reverse_api_address
private

◆ reverse_api_channel_index

qint32 SWGSDRangel::SWGAMDemodSettings::reverse_api_channel_index
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGAMDemodSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGAMDemodSettings::reverse_api_port
private

◆ rf_bandwidth

float SWGSDRangel::SWGAMDemodSettings::rf_bandwidth
private

◆ rgb_color

qint32 SWGSDRangel::SWGAMDemodSettings::rgb_color
private

◆ squelch

float SWGSDRangel::SWGAMDemodSettings::squelch
private

◆ stream_index

qint32 SWGSDRangel::SWGAMDemodSettings::stream_index
private

◆ sync_am_operation

qint32 SWGSDRangel::SWGAMDemodSettings::sync_am_operation
private

◆ title

QString* SWGSDRangel::SWGAMDemodSettings::title
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGAMDemodSettings::use_reverse_api
private

◆ volume

float SWGSDRangel::SWGAMDemodSettings::volume
private

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