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

#include <SWGWFMDemodSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGWFMDemodSettings:
+ Collaboration diagram for SWGSDRangel::SWGWFMDemodSettings:

Public Member Functions

 SWGWFMDemodSettings ()
 
 SWGWFMDemodSettings (QString *json)
 
virtual ~SWGWFMDemodSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGWFMDemodSettingsfromJson (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 getAudioMute ()
 
void setAudioMute (qint32 audio_mute)
 
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_mute
 
bool m_audio_mute_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 SWGWFMDemodSettings.h.

Constructor & Destructor Documentation

◆ SWGWFMDemodSettings() [1/2]

SWGSDRangel::SWGWFMDemodSettings::SWGWFMDemodSettings ( )

Definition at line 30 of file SWGWFMDemodSettings.cpp.

References af_bandwidth, audio_device_name, audio_mute, input_frequency_offset, m_af_bandwidth_isSet, m_audio_device_name_isSet, m_audio_mute_isSet, m_input_frequency_offset_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_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, 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_mute = 0;
42  m_audio_mute_isSet = false;
43  rgb_color = 0;
44  m_rgb_color_isSet = false;
45  title = nullptr;
46  m_title_isSet = false;
47  audio_device_name = nullptr;
49  use_reverse_api = 0;
51  reverse_api_address = nullptr;
53  reverse_api_port = 0;
59 }

◆ SWGWFMDemodSettings() [2/2]

SWGSDRangel::SWGWFMDemodSettings::SWGWFMDemodSettings ( QString *  json)

Definition at line 25 of file SWGWFMDemodSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGWFMDemodSettings()

SWGSDRangel::SWGWFMDemodSettings::~SWGWFMDemodSettings ( )
virtual

Definition at line 61 of file SWGWFMDemodSettings.cpp.

References cleanup().

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

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGWFMDemodSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 163 of file SWGWFMDemodSettings.cpp.

References asJsonObject().

164 {
165  QJsonObject* obj = this->asJsonObject();
166 
167  QJsonDocument doc(*obj);
168  QByteArray bytes = doc.toJson();
169  delete obj;
170  return QString(bytes);
171 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 174 of file SWGWFMDemodSettings.cpp.

References af_bandwidth, audio_device_name, audio_mute, input_frequency_offset, m_af_bandwidth_isSet, m_audio_mute_isSet, m_input_frequency_offset_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_use_reverse_api_isSet, m_volume_isSet, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, title, SWGSDRangel::toJsonValue(), use_reverse_api, and volume.

Referenced by asJson().

174  {
175  QJsonObject* obj = new QJsonObject();
177  obj->insert("inputFrequencyOffset", QJsonValue(input_frequency_offset));
178  }
180  obj->insert("rfBandwidth", QJsonValue(rf_bandwidth));
181  }
183  obj->insert("afBandwidth", QJsonValue(af_bandwidth));
184  }
185  if(m_volume_isSet){
186  obj->insert("volume", QJsonValue(volume));
187  }
188  if(m_squelch_isSet){
189  obj->insert("squelch", QJsonValue(squelch));
190  }
191  if(m_audio_mute_isSet){
192  obj->insert("audioMute", QJsonValue(audio_mute));
193  }
194  if(m_rgb_color_isSet){
195  obj->insert("rgbColor", QJsonValue(rgb_color));
196  }
197  if(title != nullptr && *title != QString("")){
198  toJsonValue(QString("title"), title, obj, QString("QString"));
199  }
200  if(audio_device_name != nullptr && *audio_device_name != QString("")){
201  toJsonValue(QString("audioDeviceName"), audio_device_name, obj, QString("QString"));
202  }
204  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
205  }
206  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
207  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
208  }
210  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
211  }
213  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
214  }
216  obj->insert("reverseAPIChannelIndex", QJsonValue(reverse_api_channel_index));
217  }
218 
219  return obj;
220 }
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::SWGWFMDemodSettings::cleanup ( )

Definition at line 98 of file SWGWFMDemodSettings.cpp.

References audio_device_name, reverse_api_address, and title.

Referenced by ~SWGWFMDemodSettings().

98  {
99 
100 
101 
102 
103 
104 
105 
106  if(title != nullptr) {
107  delete title;
108  }
109  if(audio_device_name != nullptr) {
110  delete audio_device_name;
111  }
112 
113  if(reverse_api_address != nullptr) {
114  delete reverse_api_address;
115  }
116 
117 
118 
119 }
+ Here is the caller graph for this function:

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 122 of file SWGWFMDemodSettings.cpp.

References fromJsonObject().

Referenced by SWGWFMDemodSettings().

122  {
123  QByteArray array (json.toStdString().c_str());
124  QJsonDocument doc = QJsonDocument::fromJson(array);
125  QJsonObject jsonObject = doc.object();
126  this->fromJsonObject(jsonObject);
127  return this;
128 }
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::SWGWFMDemodSettings::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 131 of file SWGWFMDemodSettings.cpp.

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

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

131  {
132  ::SWGSDRangel::setValue(&input_frequency_offset, pJson["inputFrequencyOffset"], "qint64", "");
133 
134  ::SWGSDRangel::setValue(&rf_bandwidth, pJson["rfBandwidth"], "float", "");
135 
136  ::SWGSDRangel::setValue(&af_bandwidth, pJson["afBandwidth"], "float", "");
137 
138  ::SWGSDRangel::setValue(&volume, pJson["volume"], "float", "");
139 
140  ::SWGSDRangel::setValue(&squelch, pJson["squelch"], "float", "");
141 
142  ::SWGSDRangel::setValue(&audio_mute, pJson["audioMute"], "qint32", "");
143 
144  ::SWGSDRangel::setValue(&rgb_color, pJson["rgbColor"], "qint32", "");
145 
146  ::SWGSDRangel::setValue(&title, pJson["title"], "QString", "QString");
147 
148  ::SWGSDRangel::setValue(&audio_device_name, pJson["audioDeviceName"], "QString", "QString");
149 
150  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
151 
152  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
153 
154  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
155 
156  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
157 
158  ::SWGSDRangel::setValue(&reverse_api_channel_index, pJson["reverseAPIChannelIndex"], "qint32", "");
159 
160 }
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::SWGWFMDemodSettings::getAfBandwidth ( )

Definition at line 243 of file SWGWFMDemodSettings.cpp.

References af_bandwidth.

Referenced by WFMDemod::webapiSettingsPutPatch().

243  {
244  return af_bandwidth;
245 }
+ Here is the caller graph for this function:

◆ getAudioDeviceName()

QString * SWGSDRangel::SWGWFMDemodSettings::getAudioDeviceName ( )

Definition at line 303 of file SWGWFMDemodSettings.cpp.

References audio_device_name.

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

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

◆ getAudioMute()

qint32 SWGSDRangel::SWGWFMDemodSettings::getAudioMute ( )

Definition at line 273 of file SWGWFMDemodSettings.cpp.

References audio_mute.

Referenced by WFMDemod::webapiSettingsPutPatch().

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

◆ getInputFrequencyOffset()

qint64 SWGSDRangel::SWGWFMDemodSettings::getInputFrequencyOffset ( )

Definition at line 223 of file SWGWFMDemodSettings.cpp.

References input_frequency_offset.

Referenced by WFMDemod::webapiSettingsPutPatch().

223  {
224  return input_frequency_offset;
225 }
+ Here is the caller graph for this function:

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGWFMDemodSettings::getReverseApiAddress ( )

Definition at line 323 of file SWGWFMDemodSettings.cpp.

References reverse_api_address.

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

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

◆ getReverseApiChannelIndex()

qint32 SWGSDRangel::SWGWFMDemodSettings::getReverseApiChannelIndex ( )

Definition at line 353 of file SWGWFMDemodSettings.cpp.

References reverse_api_channel_index.

Referenced by WFMDemod::webapiSettingsPutPatch().

353  {
355 }
+ Here is the caller graph for this function:

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGWFMDemodSettings::getReverseApiDeviceIndex ( )

Definition at line 343 of file SWGWFMDemodSettings.cpp.

References reverse_api_device_index.

Referenced by WFMDemod::webapiSettingsPutPatch().

343  {
345 }
+ Here is the caller graph for this function:

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGWFMDemodSettings::getReverseApiPort ( )

Definition at line 333 of file SWGWFMDemodSettings.cpp.

References reverse_api_port.

Referenced by WFMDemod::webapiSettingsPutPatch().

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

◆ getRfBandwidth()

float SWGSDRangel::SWGWFMDemodSettings::getRfBandwidth ( )

Definition at line 233 of file SWGWFMDemodSettings.cpp.

References rf_bandwidth.

Referenced by WFMDemod::webapiSettingsPutPatch().

233  {
234  return rf_bandwidth;
235 }
+ Here is the caller graph for this function:

◆ getRgbColor()

qint32 SWGSDRangel::SWGWFMDemodSettings::getRgbColor ( )

Definition at line 283 of file SWGWFMDemodSettings.cpp.

References rgb_color.

Referenced by WFMDemod::webapiSettingsPutPatch().

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

◆ getSquelch()

float SWGSDRangel::SWGWFMDemodSettings::getSquelch ( )

Definition at line 263 of file SWGWFMDemodSettings.cpp.

References squelch.

Referenced by WFMDemod::webapiSettingsPutPatch().

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

◆ getTitle()

QString * SWGSDRangel::SWGWFMDemodSettings::getTitle ( )

Definition at line 293 of file SWGWFMDemodSettings.cpp.

References title.

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

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

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGWFMDemodSettings::getUseReverseApi ( )

Definition at line 313 of file SWGWFMDemodSettings.cpp.

References use_reverse_api.

Referenced by WFMDemod::webapiSettingsPutPatch().

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

◆ getVolume()

float SWGSDRangel::SWGWFMDemodSettings::getVolume ( )

Definition at line 253 of file SWGWFMDemodSettings.cpp.

References volume.

Referenced by WFMDemod::webapiSettingsPutPatch().

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

◆ init()

void SWGSDRangel::SWGWFMDemodSettings::init ( )

Definition at line 66 of file SWGWFMDemodSettings.cpp.

References af_bandwidth, audio_device_name, audio_mute, input_frequency_offset, m_af_bandwidth_isSet, m_audio_device_name_isSet, m_audio_mute_isSet, m_input_frequency_offset_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_title_isSet, m_use_reverse_api_isSet, m_volume_isSet, reverse_api_address, reverse_api_channel_index, reverse_api_device_index, reverse_api_port, rf_bandwidth, rgb_color, squelch, title, use_reverse_api, and volume.

Referenced by SWGWFMDemodSettings(), and WFMDemod::webapiSettingsGet().

66  {
69  rf_bandwidth = 0.0f;
70  m_rf_bandwidth_isSet = false;
71  af_bandwidth = 0.0f;
72  m_af_bandwidth_isSet = false;
73  volume = 0.0f;
74  m_volume_isSet = false;
75  squelch = 0.0f;
76  m_squelch_isSet = false;
77  audio_mute = 0;
78  m_audio_mute_isSet = false;
79  rgb_color = 0;
80  m_rgb_color_isSet = false;
81  title = new QString("");
82  m_title_isSet = false;
83  audio_device_name = new QString("");
85  use_reverse_api = 0;
87  reverse_api_address = new QString("");
89  reverse_api_port = 0;
95 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGWFMDemodSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 364 of file SWGWFMDemodSettings.cpp.

References audio_device_name, m_af_bandwidth_isSet, m_audio_mute_isSet, m_input_frequency_offset_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_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().

364  {
365  bool isObjectUpdated = false;
366  do{
367  if(m_input_frequency_offset_isSet){ isObjectUpdated = true; break;}
368  if(m_rf_bandwidth_isSet){ isObjectUpdated = true; break;}
369  if(m_af_bandwidth_isSet){ isObjectUpdated = true; break;}
370  if(m_volume_isSet){ isObjectUpdated = true; break;}
371  if(m_squelch_isSet){ isObjectUpdated = true; break;}
372  if(m_audio_mute_isSet){ isObjectUpdated = true; break;}
373  if(m_rgb_color_isSet){ isObjectUpdated = true; break;}
374  if(title != nullptr && *title != QString("")){ isObjectUpdated = true; break;}
375  if(audio_device_name != nullptr && *audio_device_name != QString("")){ isObjectUpdated = true; break;}
376  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
377  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
378  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
379  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
380  if(m_reverse_api_channel_index_isSet){ isObjectUpdated = true; break;}
381  }while(false);
382  return isObjectUpdated;
383 }
+ Here is the caller graph for this function:

◆ setAfBandwidth()

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

Definition at line 247 of file SWGWFMDemodSettings.cpp.

References af_bandwidth, and m_af_bandwidth_isSet.

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

+ Here is the caller graph for this function:

◆ setAudioDeviceName()

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

Definition at line 307 of file SWGWFMDemodSettings.cpp.

References audio_device_name, and m_audio_device_name_isSet.

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

+ Here is the caller graph for this function:

◆ setAudioMute()

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

Definition at line 277 of file SWGWFMDemodSettings.cpp.

References audio_mute, and m_audio_mute_isSet.

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

+ Here is the caller graph for this function:

◆ setInputFrequencyOffset()

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

◆ setReverseApiAddress()

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

Definition at line 327 of file SWGWFMDemodSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by WFMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiChannelIndex()

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

Definition at line 357 of file SWGWFMDemodSettings.cpp.

References m_reverse_api_channel_index_isSet, and reverse_api_channel_index.

Referenced by WFMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiDeviceIndex()

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

Definition at line 347 of file SWGWFMDemodSettings.cpp.

References m_reverse_api_device_index_isSet, and reverse_api_device_index.

Referenced by WFMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setReverseApiPort()

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

Definition at line 337 of file SWGWFMDemodSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by WFMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setRfBandwidth()

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

Definition at line 237 of file SWGWFMDemodSettings.cpp.

References m_rf_bandwidth_isSet, and rf_bandwidth.

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

+ Here is the caller graph for this function:

◆ setRgbColor()

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

Definition at line 287 of file SWGWFMDemodSettings.cpp.

References m_rgb_color_isSet, and rgb_color.

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

+ Here is the caller graph for this function:

◆ setSquelch()

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

Definition at line 267 of file SWGWFMDemodSettings.cpp.

References m_squelch_isSet, and squelch.

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

+ Here is the caller graph for this function:

◆ setTitle()

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

Definition at line 297 of file SWGWFMDemodSettings.cpp.

References m_title_isSet, and title.

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

297  {
298  this->title = title;
299  this->m_title_isSet = true;
300 }
+ Here is the caller graph for this function:

◆ setUseReverseApi()

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

Definition at line 317 of file SWGWFMDemodSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by WFMDemod::webapiFormatChannelSettings().

+ Here is the caller graph for this function:

◆ setVolume()

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

Definition at line 257 of file SWGWFMDemodSettings.cpp.

References m_volume_isSet, and volume.

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

257  {
258  this->volume = volume;
259  this->m_volume_isSet = true;
260 }
+ Here is the caller graph for this function:

Member Data Documentation

◆ af_bandwidth

float SWGSDRangel::SWGWFMDemodSettings::af_bandwidth
private

◆ audio_device_name

QString* SWGSDRangel::SWGWFMDemodSettings::audio_device_name
private

◆ audio_mute

qint32 SWGSDRangel::SWGWFMDemodSettings::audio_mute
private

◆ input_frequency_offset

qint64 SWGSDRangel::SWGWFMDemodSettings::input_frequency_offset
private

◆ m_af_bandwidth_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_af_bandwidth_isSet
private

Definition at line 98 of file SWGWFMDemodSettings.h.

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

◆ m_audio_device_name_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_audio_device_name_isSet
private

Definition at line 116 of file SWGWFMDemodSettings.h.

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

◆ m_audio_mute_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_audio_mute_isSet
private

Definition at line 107 of file SWGWFMDemodSettings.h.

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

◆ m_input_frequency_offset_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_input_frequency_offset_isSet
private

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_reverse_api_address_isSet
private

Definition at line 122 of file SWGWFMDemodSettings.h.

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

◆ m_reverse_api_channel_index_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_reverse_api_channel_index_isSet
private

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_reverse_api_port_isSet
private

◆ m_rf_bandwidth_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_rf_bandwidth_isSet
private

Definition at line 95 of file SWGWFMDemodSettings.h.

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

◆ m_rgb_color_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_rgb_color_isSet
private

Definition at line 110 of file SWGWFMDemodSettings.h.

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

◆ m_squelch_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_squelch_isSet
private

Definition at line 104 of file SWGWFMDemodSettings.h.

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

◆ m_title_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_title_isSet
private

Definition at line 113 of file SWGWFMDemodSettings.h.

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

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_use_reverse_api_isSet
private

◆ m_volume_isSet

bool SWGSDRangel::SWGWFMDemodSettings::m_volume_isSet
private

Definition at line 101 of file SWGWFMDemodSettings.h.

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

◆ reverse_api_address

QString* SWGSDRangel::SWGWFMDemodSettings::reverse_api_address
private

◆ reverse_api_channel_index

qint32 SWGSDRangel::SWGWFMDemodSettings::reverse_api_channel_index
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGWFMDemodSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGWFMDemodSettings::reverse_api_port
private

◆ rf_bandwidth

float SWGSDRangel::SWGWFMDemodSettings::rf_bandwidth
private

◆ rgb_color

qint32 SWGSDRangel::SWGWFMDemodSettings::rgb_color
private

◆ squelch

float SWGSDRangel::SWGWFMDemodSettings::squelch
private

◆ title

QString* SWGSDRangel::SWGWFMDemodSettings::title
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGWFMDemodSettings::use_reverse_api
private

◆ volume

float SWGSDRangel::SWGWFMDemodSettings::volume
private

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