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

#include <SWGChannelSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGChannelSettings:
+ Collaboration diagram for SWGSDRangel::SWGChannelSettings:

Public Member Functions

 SWGChannelSettings ()
 
 SWGChannelSettings (QString *json)
 
virtual ~SWGChannelSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGChannelSettingsfromJson (QString &jsonString) override
 
QString * getChannelType ()
 
void setChannelType (QString *channel_type)
 
qint32 getDirection ()
 
void setDirection (qint32 direction)
 
qint32 getOriginatorDeviceSetIndex ()
 
void setOriginatorDeviceSetIndex (qint32 originator_device_set_index)
 
qint32 getOriginatorChannelIndex ()
 
void setOriginatorChannelIndex (qint32 originator_channel_index)
 
SWGAMDemodSettingsgetAmDemodSettings ()
 
void setAmDemodSettings (SWGAMDemodSettings *am_demod_settings)
 
SWGAMModSettingsgetAmModSettings ()
 
void setAmModSettings (SWGAMModSettings *am_mod_settings)
 
SWGATVModSettingsgetAtvModSettings ()
 
void setAtvModSettings (SWGATVModSettings *atv_mod_settings)
 
SWGBFMDemodSettingsgetBfmDemodSettings ()
 
void setBfmDemodSettings (SWGBFMDemodSettings *bfm_demod_settings)
 
SWGDSDDemodSettingsgetDsdDemodSettings ()
 
void setDsdDemodSettings (SWGDSDDemodSettings *dsd_demod_settings)
 
SWGFileSourceSettingsgetFileSourceSettings ()
 
void setFileSourceSettings (SWGFileSourceSettings *file_source_settings)
 
SWGFreeDVDemodSettingsgetFreeDvDemodSettings ()
 
void setFreeDvDemodSettings (SWGFreeDVDemodSettings *free_dv_demod_settings)
 
SWGFreeDVModSettingsgetFreeDvModSettings ()
 
void setFreeDvModSettings (SWGFreeDVModSettings *free_dv_mod_settings)
 
SWGFreqTrackerSettingsgetFreqTrackerSettings ()
 
void setFreqTrackerSettings (SWGFreqTrackerSettings *freq_tracker_settings)
 
SWGNFMDemodSettingsgetNfmDemodSettings ()
 
void setNfmDemodSettings (SWGNFMDemodSettings *nfm_demod_settings)
 
SWGNFMModSettingsgetNfmModSettings ()
 
void setNfmModSettings (SWGNFMModSettings *nfm_mod_settings)
 
SWGLocalSinkSettingsgetLocalSinkSettings ()
 
void setLocalSinkSettings (SWGLocalSinkSettings *local_sink_settings)
 
SWGLocalSourceSettingsgetLocalSourceSettings ()
 
void setLocalSourceSettings (SWGLocalSourceSettings *local_source_settings)
 
SWGRemoteSinkSettingsgetRemoteSinkSettings ()
 
void setRemoteSinkSettings (SWGRemoteSinkSettings *remote_sink_settings)
 
SWGRemoteSourceSettingsgetRemoteSourceSettings ()
 
void setRemoteSourceSettings (SWGRemoteSourceSettings *remote_source_settings)
 
SWGSSBModSettingsgetSsbModSettings ()
 
void setSsbModSettings (SWGSSBModSettings *ssb_mod_settings)
 
SWGSSBDemodSettingsgetSsbDemodSettings ()
 
void setSsbDemodSettings (SWGSSBDemodSettings *ssb_demod_settings)
 
SWGUDPSourceSettingsgetUdpSourceSettings ()
 
void setUdpSourceSettings (SWGUDPSourceSettings *udp_source_settings)
 
SWGUDPSinkSettingsgetUdpSinkSettings ()
 
void setUdpSinkSettings (SWGUDPSinkSettings *udp_sink_settings)
 
SWGWFMDemodSettingsgetWfmDemodSettings ()
 
void setWfmDemodSettings (SWGWFMDemodSettings *wfm_demod_settings)
 
SWGWFMModSettingsgetWfmModSettings ()
 
void setWfmModSettings (SWGWFMModSettings *wfm_mod_settings)
 
virtual bool isSet () override
 
- Public Member Functions inherited from SWGSDRangel::SWGObject
virtual ~SWGObject ()
 

Private Attributes

QString * channel_type
 
bool m_channel_type_isSet
 
qint32 direction
 
bool m_direction_isSet
 
qint32 originator_device_set_index
 
bool m_originator_device_set_index_isSet
 
qint32 originator_channel_index
 
bool m_originator_channel_index_isSet
 
SWGAMDemodSettingsam_demod_settings
 
bool m_am_demod_settings_isSet
 
SWGAMModSettingsam_mod_settings
 
bool m_am_mod_settings_isSet
 
SWGATVModSettingsatv_mod_settings
 
bool m_atv_mod_settings_isSet
 
SWGBFMDemodSettingsbfm_demod_settings
 
bool m_bfm_demod_settings_isSet
 
SWGDSDDemodSettingsdsd_demod_settings
 
bool m_dsd_demod_settings_isSet
 
SWGFileSourceSettingsfile_source_settings
 
bool m_file_source_settings_isSet
 
SWGFreeDVDemodSettingsfree_dv_demod_settings
 
bool m_free_dv_demod_settings_isSet
 
SWGFreeDVModSettingsfree_dv_mod_settings
 
bool m_free_dv_mod_settings_isSet
 
SWGFreqTrackerSettingsfreq_tracker_settings
 
bool m_freq_tracker_settings_isSet
 
SWGNFMDemodSettingsnfm_demod_settings
 
bool m_nfm_demod_settings_isSet
 
SWGNFMModSettingsnfm_mod_settings
 
bool m_nfm_mod_settings_isSet
 
SWGLocalSinkSettingslocal_sink_settings
 
bool m_local_sink_settings_isSet
 
SWGLocalSourceSettingslocal_source_settings
 
bool m_local_source_settings_isSet
 
SWGRemoteSinkSettingsremote_sink_settings
 
bool m_remote_sink_settings_isSet
 
SWGRemoteSourceSettingsremote_source_settings
 
bool m_remote_source_settings_isSet
 
SWGSSBModSettingsssb_mod_settings
 
bool m_ssb_mod_settings_isSet
 
SWGSSBDemodSettingsssb_demod_settings
 
bool m_ssb_demod_settings_isSet
 
SWGUDPSourceSettingsudp_source_settings
 
bool m_udp_source_settings_isSet
 
SWGUDPSinkSettingsudp_sink_settings
 
bool m_udp_sink_settings_isSet
 
SWGWFMDemodSettingswfm_demod_settings
 
bool m_wfm_demod_settings_isSet
 
SWGWFMModSettingswfm_mod_settings
 
bool m_wfm_mod_settings_isSet
 

Detailed Description

Definition at line 53 of file SWGChannelSettings.h.

Constructor & Destructor Documentation

◆ SWGChannelSettings() [1/2]

SWGSDRangel::SWGChannelSettings::SWGChannelSettings ( )

Definition at line 30 of file SWGChannelSettings.cpp.

References am_demod_settings, am_mod_settings, atv_mod_settings, bfm_demod_settings, channel_type, direction, dsd_demod_settings, file_source_settings, free_dv_demod_settings, free_dv_mod_settings, freq_tracker_settings, local_sink_settings, local_source_settings, m_am_demod_settings_isSet, m_am_mod_settings_isSet, m_atv_mod_settings_isSet, m_bfm_demod_settings_isSet, m_channel_type_isSet, m_direction_isSet, m_dsd_demod_settings_isSet, m_file_source_settings_isSet, m_free_dv_demod_settings_isSet, m_free_dv_mod_settings_isSet, m_freq_tracker_settings_isSet, m_local_sink_settings_isSet, m_local_source_settings_isSet, m_nfm_demod_settings_isSet, m_nfm_mod_settings_isSet, m_originator_channel_index_isSet, m_originator_device_set_index_isSet, m_remote_sink_settings_isSet, m_remote_source_settings_isSet, m_ssb_demod_settings_isSet, m_ssb_mod_settings_isSet, m_udp_sink_settings_isSet, m_udp_source_settings_isSet, m_wfm_demod_settings_isSet, m_wfm_mod_settings_isSet, nfm_demod_settings, nfm_mod_settings, originator_channel_index, originator_device_set_index, remote_sink_settings, remote_source_settings, ssb_demod_settings, ssb_mod_settings, udp_sink_settings, udp_source_settings, wfm_demod_settings, and wfm_mod_settings.

30  {
31  channel_type = nullptr;
32  m_channel_type_isSet = false;
33  direction = 0;
34  m_direction_isSet = false;
39  am_demod_settings = nullptr;
41  am_mod_settings = nullptr;
43  atv_mod_settings = nullptr;
45  bfm_demod_settings = nullptr;
47  dsd_demod_settings = nullptr;
49  file_source_settings = nullptr;
51  free_dv_demod_settings = nullptr;
53  free_dv_mod_settings = nullptr;
55  freq_tracker_settings = nullptr;
57  nfm_demod_settings = nullptr;
59  nfm_mod_settings = nullptr;
61  local_sink_settings = nullptr;
63  local_source_settings = nullptr;
65  remote_sink_settings = nullptr;
67  remote_source_settings = nullptr;
69  ssb_mod_settings = nullptr;
71  ssb_demod_settings = nullptr;
73  udp_source_settings = nullptr;
75  udp_sink_settings = nullptr;
77  wfm_demod_settings = nullptr;
79  wfm_mod_settings = nullptr;
81 }
SWGDSDDemodSettings * dsd_demod_settings
SWGSSBDemodSettings * ssb_demod_settings
SWGRemoteSinkSettings * remote_sink_settings
SWGWFMDemodSettings * wfm_demod_settings
SWGFreeDVModSettings * free_dv_mod_settings
SWGFreqTrackerSettings * freq_tracker_settings
SWGNFMDemodSettings * nfm_demod_settings
SWGUDPSourceSettings * udp_source_settings
SWGFreeDVDemodSettings * free_dv_demod_settings
SWGFileSourceSettings * file_source_settings
SWGAMDemodSettings * am_demod_settings
SWGUDPSinkSettings * udp_sink_settings
SWGRemoteSourceSettings * remote_source_settings
SWGLocalSinkSettings * local_sink_settings
SWGBFMDemodSettings * bfm_demod_settings
SWGLocalSourceSettings * local_source_settings

◆ SWGChannelSettings() [2/2]

SWGSDRangel::SWGChannelSettings::SWGChannelSettings ( QString *  json)

Definition at line 25 of file SWGChannelSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGChannelSettings()

SWGSDRangel::SWGChannelSettings::~SWGChannelSettings ( )
virtual

Definition at line 83 of file SWGChannelSettings.cpp.

References cleanup().

83  {
84  this->cleanup();
85 }
+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGChannelSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 278 of file SWGChannelSettings.cpp.

References asJsonObject().

Referenced by SWGSDRangel::SWGDeviceSetApi::devicesetChannelPost(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatch(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPut(), WebAPIRequestMapper::devicesetChannelSettingsService(), WFMMod::webapiReverseSendCWSettings(), AMMod::webapiReverseSendCWSettings(), NFMMod::webapiReverseSendCWSettings(), FreeDVMod::webapiReverseSendCWSettings(), SSBMod::webapiReverseSendCWSettings(), LocalSink::webapiReverseSendSettings(), LocalSource::webapiReverseSendSettings(), RemoteSink::webapiReverseSendSettings(), WFMDemod::webapiReverseSendSettings(), AMDemod::webapiReverseSendSettings(), FreqTracker::webapiReverseSendSettings(), UDPSink::webapiReverseSendSettings(), RemoteSource::webapiReverseSendSettings(), UDPSource::webapiReverseSendSettings(), NFMDemod::webapiReverseSendSettings(), DSDDemod::webapiReverseSendSettings(), BFMDemod::webapiReverseSendSettings(), WFMMod::webapiReverseSendSettings(), AMMod::webapiReverseSendSettings(), SSBDemod::webapiReverseSendSettings(), NFMMod::webapiReverseSendSettings(), FreeDVMod::webapiReverseSendSettings(), SSBMod::webapiReverseSendSettings(), FreeDVDemod::webapiReverseSendSettings(), FileSource::webapiReverseSendSettings(), and ATVMod::webapiReverseSendSettings().

279 {
280  QJsonObject* obj = this->asJsonObject();
281 
282  QJsonDocument doc(*obj);
283  QByteArray bytes = doc.toJson();
284  delete obj;
285  return QString(bytes);
286 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ asJsonObject()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 289 of file SWGChannelSettings.cpp.

References am_demod_settings, am_mod_settings, atv_mod_settings, bfm_demod_settings, channel_type, direction, dsd_demod_settings, file_source_settings, free_dv_demod_settings, free_dv_mod_settings, freq_tracker_settings, SWGSDRangel::SWGRemoteSourceSettings::isSet(), SWGSDRangel::SWGLocalSinkSettings::isSet(), SWGSDRangel::SWGLocalSourceSettings::isSet(), SWGSDRangel::SWGFileSourceSettings::isSet(), SWGSDRangel::SWGRemoteSinkSettings::isSet(), SWGSDRangel::SWGWFMDemodSettings::isSet(), SWGSDRangel::SWGFreeDVDemodSettings::isSet(), SWGSDRangel::SWGBFMDemodSettings::isSet(), SWGSDRangel::SWGAMDemodSettings::isSet(), SWGSDRangel::SWGAMModSettings::isSet(), SWGSDRangel::SWGFreqTrackerSettings::isSet(), SWGSDRangel::SWGWFMModSettings::isSet(), SWGSDRangel::SWGFreeDVModSettings::isSet(), SWGSDRangel::SWGNFMDemodSettings::isSet(), SWGSDRangel::SWGNFMModSettings::isSet(), SWGSDRangel::SWGSSBDemodSettings::isSet(), SWGSDRangel::SWGSSBModSettings::isSet(), SWGSDRangel::SWGUDPSinkSettings::isSet(), SWGSDRangel::SWGUDPSourceSettings::isSet(), SWGSDRangel::SWGDSDDemodSettings::isSet(), SWGSDRangel::SWGATVModSettings::isSet(), local_sink_settings, local_source_settings, m_direction_isSet, m_originator_channel_index_isSet, m_originator_device_set_index_isSet, nfm_demod_settings, nfm_mod_settings, originator_channel_index, originator_device_set_index, remote_sink_settings, remote_source_settings, ssb_demod_settings, ssb_mod_settings, SWGSDRangel::toJsonValue(), udp_sink_settings, udp_source_settings, wfm_demod_settings, and wfm_mod_settings.

Referenced by asJson().

289  {
290  QJsonObject* obj = new QJsonObject();
291  if(channel_type != nullptr && *channel_type != QString("")){
292  toJsonValue(QString("channelType"), channel_type, obj, QString("QString"));
293  }
294  if(m_direction_isSet){
295  obj->insert("direction", QJsonValue(direction));
296  }
298  obj->insert("originatorDeviceSetIndex", QJsonValue(originator_device_set_index));
299  }
301  obj->insert("originatorChannelIndex", QJsonValue(originator_channel_index));
302  }
303  if((am_demod_settings != nullptr) && (am_demod_settings->isSet())){
304  toJsonValue(QString("AMDemodSettings"), am_demod_settings, obj, QString("SWGAMDemodSettings"));
305  }
306  if((am_mod_settings != nullptr) && (am_mod_settings->isSet())){
307  toJsonValue(QString("AMModSettings"), am_mod_settings, obj, QString("SWGAMModSettings"));
308  }
309  if((atv_mod_settings != nullptr) && (atv_mod_settings->isSet())){
310  toJsonValue(QString("ATVModSettings"), atv_mod_settings, obj, QString("SWGATVModSettings"));
311  }
312  if((bfm_demod_settings != nullptr) && (bfm_demod_settings->isSet())){
313  toJsonValue(QString("BFMDemodSettings"), bfm_demod_settings, obj, QString("SWGBFMDemodSettings"));
314  }
315  if((dsd_demod_settings != nullptr) && (dsd_demod_settings->isSet())){
316  toJsonValue(QString("DSDDemodSettings"), dsd_demod_settings, obj, QString("SWGDSDDemodSettings"));
317  }
318  if((file_source_settings != nullptr) && (file_source_settings->isSet())){
319  toJsonValue(QString("FileSourceSettings"), file_source_settings, obj, QString("SWGFileSourceSettings"));
320  }
321  if((free_dv_demod_settings != nullptr) && (free_dv_demod_settings->isSet())){
322  toJsonValue(QString("FreeDVDemodSettings"), free_dv_demod_settings, obj, QString("SWGFreeDVDemodSettings"));
323  }
324  if((free_dv_mod_settings != nullptr) && (free_dv_mod_settings->isSet())){
325  toJsonValue(QString("FreeDVModSettings"), free_dv_mod_settings, obj, QString("SWGFreeDVModSettings"));
326  }
327  if((freq_tracker_settings != nullptr) && (freq_tracker_settings->isSet())){
328  toJsonValue(QString("FreqTrackerSettings"), freq_tracker_settings, obj, QString("SWGFreqTrackerSettings"));
329  }
330  if((nfm_demod_settings != nullptr) && (nfm_demod_settings->isSet())){
331  toJsonValue(QString("NFMDemodSettings"), nfm_demod_settings, obj, QString("SWGNFMDemodSettings"));
332  }
333  if((nfm_mod_settings != nullptr) && (nfm_mod_settings->isSet())){
334  toJsonValue(QString("NFMModSettings"), nfm_mod_settings, obj, QString("SWGNFMModSettings"));
335  }
336  if((local_sink_settings != nullptr) && (local_sink_settings->isSet())){
337  toJsonValue(QString("LocalSinkSettings"), local_sink_settings, obj, QString("SWGLocalSinkSettings"));
338  }
339  if((local_source_settings != nullptr) && (local_source_settings->isSet())){
340  toJsonValue(QString("LocalSourceSettings"), local_source_settings, obj, QString("SWGLocalSourceSettings"));
341  }
342  if((remote_sink_settings != nullptr) && (remote_sink_settings->isSet())){
343  toJsonValue(QString("RemoteSinkSettings"), remote_sink_settings, obj, QString("SWGRemoteSinkSettings"));
344  }
345  if((remote_source_settings != nullptr) && (remote_source_settings->isSet())){
346  toJsonValue(QString("RemoteSourceSettings"), remote_source_settings, obj, QString("SWGRemoteSourceSettings"));
347  }
348  if((ssb_mod_settings != nullptr) && (ssb_mod_settings->isSet())){
349  toJsonValue(QString("SSBModSettings"), ssb_mod_settings, obj, QString("SWGSSBModSettings"));
350  }
351  if((ssb_demod_settings != nullptr) && (ssb_demod_settings->isSet())){
352  toJsonValue(QString("SSBDemodSettings"), ssb_demod_settings, obj, QString("SWGSSBDemodSettings"));
353  }
354  if((udp_source_settings != nullptr) && (udp_source_settings->isSet())){
355  toJsonValue(QString("UDPSourceSettings"), udp_source_settings, obj, QString("SWGUDPSourceSettings"));
356  }
357  if((udp_sink_settings != nullptr) && (udp_sink_settings->isSet())){
358  toJsonValue(QString("UDPSinkSettings"), udp_sink_settings, obj, QString("SWGUDPSinkSettings"));
359  }
360  if((wfm_demod_settings != nullptr) && (wfm_demod_settings->isSet())){
361  toJsonValue(QString("WFMDemodSettings"), wfm_demod_settings, obj, QString("SWGWFMDemodSettings"));
362  }
363  if((wfm_mod_settings != nullptr) && (wfm_mod_settings->isSet())){
364  toJsonValue(QString("WFMModSettings"), wfm_mod_settings, obj, QString("SWGWFMModSettings"));
365  }
366 
367  return obj;
368 }
SWGDSDDemodSettings * dsd_demod_settings
SWGSSBDemodSettings * ssb_demod_settings
void toJsonValue(QString name, void *value, QJsonObject *output, QString type)
Definition: SWGHelpers.cpp:383
SWGRemoteSinkSettings * remote_sink_settings
SWGWFMDemodSettings * wfm_demod_settings
SWGFreeDVModSettings * free_dv_mod_settings
SWGFreqTrackerSettings * freq_tracker_settings
SWGNFMDemodSettings * nfm_demod_settings
SWGUDPSourceSettings * udp_source_settings
SWGFreeDVDemodSettings * free_dv_demod_settings
SWGFileSourceSettings * file_source_settings
SWGAMDemodSettings * am_demod_settings
SWGUDPSinkSettings * udp_sink_settings
SWGRemoteSourceSettings * remote_source_settings
virtual bool isSet() override
SWGLocalSinkSettings * local_sink_settings
SWGBFMDemodSettings * bfm_demod_settings
SWGLocalSourceSettings * local_source_settings
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cleanup()

void SWGSDRangel::SWGChannelSettings::cleanup ( )

Definition at line 142 of file SWGChannelSettings.cpp.

References am_demod_settings, am_mod_settings, atv_mod_settings, bfm_demod_settings, channel_type, dsd_demod_settings, file_source_settings, free_dv_demod_settings, free_dv_mod_settings, freq_tracker_settings, local_sink_settings, local_source_settings, nfm_demod_settings, nfm_mod_settings, remote_sink_settings, remote_source_settings, ssb_demod_settings, ssb_mod_settings, udp_sink_settings, udp_source_settings, wfm_demod_settings, and wfm_mod_settings.

Referenced by WebAPIRequestMapper::resetChannelSettings(), and ~SWGChannelSettings().

142  {
143  if(channel_type != nullptr) {
144  delete channel_type;
145  }
146 
147 
148 
149  if(am_demod_settings != nullptr) {
150  delete am_demod_settings;
151  }
152  if(am_mod_settings != nullptr) {
153  delete am_mod_settings;
154  }
155  if(atv_mod_settings != nullptr) {
156  delete atv_mod_settings;
157  }
158  if(bfm_demod_settings != nullptr) {
159  delete bfm_demod_settings;
160  }
161  if(dsd_demod_settings != nullptr) {
162  delete dsd_demod_settings;
163  }
164  if(file_source_settings != nullptr) {
165  delete file_source_settings;
166  }
167  if(free_dv_demod_settings != nullptr) {
168  delete free_dv_demod_settings;
169  }
170  if(free_dv_mod_settings != nullptr) {
171  delete free_dv_mod_settings;
172  }
173  if(freq_tracker_settings != nullptr) {
174  delete freq_tracker_settings;
175  }
176  if(nfm_demod_settings != nullptr) {
177  delete nfm_demod_settings;
178  }
179  if(nfm_mod_settings != nullptr) {
180  delete nfm_mod_settings;
181  }
182  if(local_sink_settings != nullptr) {
183  delete local_sink_settings;
184  }
185  if(local_source_settings != nullptr) {
186  delete local_source_settings;
187  }
188  if(remote_sink_settings != nullptr) {
189  delete remote_sink_settings;
190  }
191  if(remote_source_settings != nullptr) {
192  delete remote_source_settings;
193  }
194  if(ssb_mod_settings != nullptr) {
195  delete ssb_mod_settings;
196  }
197  if(ssb_demod_settings != nullptr) {
198  delete ssb_demod_settings;
199  }
200  if(udp_source_settings != nullptr) {
201  delete udp_source_settings;
202  }
203  if(udp_sink_settings != nullptr) {
204  delete udp_sink_settings;
205  }
206  if(wfm_demod_settings != nullptr) {
207  delete wfm_demod_settings;
208  }
209  if(wfm_mod_settings != nullptr) {
210  delete wfm_mod_settings;
211  }
212 }
SWGDSDDemodSettings * dsd_demod_settings
SWGSSBDemodSettings * ssb_demod_settings
SWGRemoteSinkSettings * remote_sink_settings
SWGWFMDemodSettings * wfm_demod_settings
SWGFreeDVModSettings * free_dv_mod_settings
SWGFreqTrackerSettings * freq_tracker_settings
SWGNFMDemodSettings * nfm_demod_settings
SWGUDPSourceSettings * udp_source_settings
SWGFreeDVDemodSettings * free_dv_demod_settings
SWGFileSourceSettings * file_source_settings
SWGAMDemodSettings * am_demod_settings
SWGUDPSinkSettings * udp_sink_settings
SWGRemoteSourceSettings * remote_source_settings
SWGLocalSinkSettings * local_sink_settings
SWGBFMDemodSettings * bfm_demod_settings
SWGLocalSourceSettings * local_source_settings
+ Here is the caller graph for this function:

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 215 of file SWGChannelSettings.cpp.

References fromJsonObject().

Referenced by SWGChannelSettings().

215  {
216  QByteArray array (json.toStdString().c_str());
217  QJsonDocument doc = QJsonDocument::fromJson(array);
218  QJsonObject jsonObject = doc.object();
219  this->fromJsonObject(jsonObject);
220  return this;
221 }
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::SWGChannelSettings::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 224 of file SWGChannelSettings.cpp.

References am_demod_settings, am_mod_settings, atv_mod_settings, bfm_demod_settings, channel_type, direction, dsd_demod_settings, file_source_settings, free_dv_demod_settings, free_dv_mod_settings, freq_tracker_settings, local_sink_settings, local_source_settings, nfm_demod_settings, nfm_mod_settings, originator_channel_index, originator_device_set_index, remote_sink_settings, remote_source_settings, SWGSDRangel::setValue(), ssb_demod_settings, ssb_mod_settings, udp_sink_settings, udp_source_settings, wfm_demod_settings, and wfm_mod_settings.

Referenced by fromJson().

224  {
225  ::SWGSDRangel::setValue(&channel_type, pJson["channelType"], "QString", "QString");
226 
227  ::SWGSDRangel::setValue(&direction, pJson["direction"], "qint32", "");
228 
229  ::SWGSDRangel::setValue(&originator_device_set_index, pJson["originatorDeviceSetIndex"], "qint32", "");
230 
231  ::SWGSDRangel::setValue(&originator_channel_index, pJson["originatorChannelIndex"], "qint32", "");
232 
233  ::SWGSDRangel::setValue(&am_demod_settings, pJson["AMDemodSettings"], "SWGAMDemodSettings", "SWGAMDemodSettings");
234 
235  ::SWGSDRangel::setValue(&am_mod_settings, pJson["AMModSettings"], "SWGAMModSettings", "SWGAMModSettings");
236 
237  ::SWGSDRangel::setValue(&atv_mod_settings, pJson["ATVModSettings"], "SWGATVModSettings", "SWGATVModSettings");
238 
239  ::SWGSDRangel::setValue(&bfm_demod_settings, pJson["BFMDemodSettings"], "SWGBFMDemodSettings", "SWGBFMDemodSettings");
240 
241  ::SWGSDRangel::setValue(&dsd_demod_settings, pJson["DSDDemodSettings"], "SWGDSDDemodSettings", "SWGDSDDemodSettings");
242 
243  ::SWGSDRangel::setValue(&file_source_settings, pJson["FileSourceSettings"], "SWGFileSourceSettings", "SWGFileSourceSettings");
244 
245  ::SWGSDRangel::setValue(&free_dv_demod_settings, pJson["FreeDVDemodSettings"], "SWGFreeDVDemodSettings", "SWGFreeDVDemodSettings");
246 
247  ::SWGSDRangel::setValue(&free_dv_mod_settings, pJson["FreeDVModSettings"], "SWGFreeDVModSettings", "SWGFreeDVModSettings");
248 
249  ::SWGSDRangel::setValue(&freq_tracker_settings, pJson["FreqTrackerSettings"], "SWGFreqTrackerSettings", "SWGFreqTrackerSettings");
250 
251  ::SWGSDRangel::setValue(&nfm_demod_settings, pJson["NFMDemodSettings"], "SWGNFMDemodSettings", "SWGNFMDemodSettings");
252 
253  ::SWGSDRangel::setValue(&nfm_mod_settings, pJson["NFMModSettings"], "SWGNFMModSettings", "SWGNFMModSettings");
254 
255  ::SWGSDRangel::setValue(&local_sink_settings, pJson["LocalSinkSettings"], "SWGLocalSinkSettings", "SWGLocalSinkSettings");
256 
257  ::SWGSDRangel::setValue(&local_source_settings, pJson["LocalSourceSettings"], "SWGLocalSourceSettings", "SWGLocalSourceSettings");
258 
259  ::SWGSDRangel::setValue(&remote_sink_settings, pJson["RemoteSinkSettings"], "SWGRemoteSinkSettings", "SWGRemoteSinkSettings");
260 
261  ::SWGSDRangel::setValue(&remote_source_settings, pJson["RemoteSourceSettings"], "SWGRemoteSourceSettings", "SWGRemoteSourceSettings");
262 
263  ::SWGSDRangel::setValue(&ssb_mod_settings, pJson["SSBModSettings"], "SWGSSBModSettings", "SWGSSBModSettings");
264 
265  ::SWGSDRangel::setValue(&ssb_demod_settings, pJson["SSBDemodSettings"], "SWGSSBDemodSettings", "SWGSSBDemodSettings");
266 
267  ::SWGSDRangel::setValue(&udp_source_settings, pJson["UDPSourceSettings"], "SWGUDPSourceSettings", "SWGUDPSourceSettings");
268 
269  ::SWGSDRangel::setValue(&udp_sink_settings, pJson["UDPSinkSettings"], "SWGUDPSinkSettings", "SWGUDPSinkSettings");
270 
271  ::SWGSDRangel::setValue(&wfm_demod_settings, pJson["WFMDemodSettings"], "SWGWFMDemodSettings", "SWGWFMDemodSettings");
272 
273  ::SWGSDRangel::setValue(&wfm_mod_settings, pJson["WFMModSettings"], "SWGWFMModSettings", "SWGWFMModSettings");
274 
275 }
SWGDSDDemodSettings * dsd_demod_settings
SWGSSBDemodSettings * ssb_demod_settings
SWGRemoteSinkSettings * remote_sink_settings
SWGWFMDemodSettings * wfm_demod_settings
SWGFreeDVModSettings * free_dv_mod_settings
SWGFreqTrackerSettings * freq_tracker_settings
SWGNFMDemodSettings * nfm_demod_settings
SWGUDPSourceSettings * udp_source_settings
SWGFreeDVDemodSettings * free_dv_demod_settings
SWGFileSourceSettings * file_source_settings
SWGAMDemodSettings * am_demod_settings
SWGUDPSinkSettings * udp_sink_settings
SWGRemoteSourceSettings * remote_source_settings
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
Definition: SWGHelpers.cpp:25
SWGLocalSinkSettings * local_sink_settings
SWGBFMDemodSettings * bfm_demod_settings
SWGLocalSourceSettings * local_source_settings
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAmDemodSettings()

SWGAMDemodSettings * SWGSDRangel::SWGChannelSettings::getAmDemodSettings ( )

◆ getAmModSettings()

SWGAMModSettings * SWGSDRangel::SWGChannelSettings::getAmModSettings ( )

◆ getAtvModSettings()

SWGATVModSettings * SWGSDRangel::SWGChannelSettings::getAtvModSettings ( )

◆ getBfmDemodSettings()

SWGBFMDemodSettings * SWGSDRangel::SWGChannelSettings::getBfmDemodSettings ( )

◆ getChannelType()

QString * SWGSDRangel::SWGChannelSettings::getChannelType ( )

◆ getDirection()

qint32 SWGSDRangel::SWGChannelSettings::getDirection ( )

Definition at line 381 of file SWGChannelSettings.cpp.

References direction.

Referenced by WebAPIAdapterGUI::devicesetChannelPost(), WebAPIAdapterSrv::devicesetChannelPost(), and WebAPIRequestMapper::validateChannelSettings().

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

◆ getDsdDemodSettings()

SWGDSDDemodSettings * SWGSDRangel::SWGChannelSettings::getDsdDemodSettings ( )

◆ getFileSourceSettings()

SWGFileSourceSettings * SWGSDRangel::SWGChannelSettings::getFileSourceSettings ( )

Definition at line 461 of file SWGChannelSettings.cpp.

References file_source_settings.

Referenced by FileSource::webapiFormatChannelSettings(), FileSource::webapiReverseSendSettings(), FileSource::webapiSettingsGet(), and FileSource::webapiSettingsPutPatch().

461  {
462  return file_source_settings;
463 }
SWGFileSourceSettings * file_source_settings
+ Here is the caller graph for this function:

◆ getFreeDvDemodSettings()

SWGFreeDVDemodSettings * SWGSDRangel::SWGChannelSettings::getFreeDvDemodSettings ( )

◆ getFreeDvModSettings()

SWGFreeDVModSettings * SWGSDRangel::SWGChannelSettings::getFreeDvModSettings ( )

◆ getFreqTrackerSettings()

SWGFreqTrackerSettings * SWGSDRangel::SWGChannelSettings::getFreqTrackerSettings ( )

◆ getLocalSinkSettings()

SWGLocalSinkSettings * SWGSDRangel::SWGChannelSettings::getLocalSinkSettings ( )

◆ getLocalSourceSettings()

SWGLocalSourceSettings * SWGSDRangel::SWGChannelSettings::getLocalSourceSettings ( )

◆ getNfmDemodSettings()

SWGNFMDemodSettings * SWGSDRangel::SWGChannelSettings::getNfmDemodSettings ( )

◆ getNfmModSettings()

SWGNFMModSettings * SWGSDRangel::SWGChannelSettings::getNfmModSettings ( )

◆ getOriginatorChannelIndex()

qint32 SWGSDRangel::SWGChannelSettings::getOriginatorChannelIndex ( )

Definition at line 401 of file SWGChannelSettings.cpp.

References originator_channel_index.

401  {
403 }

◆ getOriginatorDeviceSetIndex()

qint32 SWGSDRangel::SWGChannelSettings::getOriginatorDeviceSetIndex ( )

Definition at line 391 of file SWGChannelSettings.cpp.

References originator_device_set_index.

391  {
393 }

◆ getRemoteSinkSettings()

SWGRemoteSinkSettings * SWGSDRangel::SWGChannelSettings::getRemoteSinkSettings ( )

◆ getRemoteSourceSettings()

SWGRemoteSourceSettings * SWGSDRangel::SWGChannelSettings::getRemoteSourceSettings ( )

◆ getSsbDemodSettings()

SWGSSBDemodSettings * SWGSDRangel::SWGChannelSettings::getSsbDemodSettings ( )

◆ getSsbModSettings()

SWGSSBModSettings * SWGSDRangel::SWGChannelSettings::getSsbModSettings ( )

◆ getUdpSinkSettings()

SWGUDPSinkSettings * SWGSDRangel::SWGChannelSettings::getUdpSinkSettings ( )

◆ getUdpSourceSettings()

SWGUDPSourceSettings * SWGSDRangel::SWGChannelSettings::getUdpSourceSettings ( )

◆ getWfmDemodSettings()

SWGWFMDemodSettings * SWGSDRangel::SWGChannelSettings::getWfmDemodSettings ( )

◆ getWfmModSettings()

SWGWFMModSettings * SWGSDRangel::SWGChannelSettings::getWfmModSettings ( )

◆ init()

void SWGSDRangel::SWGChannelSettings::init ( )

Definition at line 88 of file SWGChannelSettings.cpp.

References am_demod_settings, am_mod_settings, atv_mod_settings, bfm_demod_settings, channel_type, direction, dsd_demod_settings, file_source_settings, free_dv_demod_settings, free_dv_mod_settings, freq_tracker_settings, local_sink_settings, local_source_settings, m_am_demod_settings_isSet, m_am_mod_settings_isSet, m_atv_mod_settings_isSet, m_bfm_demod_settings_isSet, m_channel_type_isSet, m_direction_isSet, m_dsd_demod_settings_isSet, m_file_source_settings_isSet, m_free_dv_demod_settings_isSet, m_free_dv_mod_settings_isSet, m_freq_tracker_settings_isSet, m_local_sink_settings_isSet, m_local_source_settings_isSet, m_nfm_demod_settings_isSet, m_nfm_mod_settings_isSet, m_originator_channel_index_isSet, m_originator_device_set_index_isSet, m_remote_sink_settings_isSet, m_remote_source_settings_isSet, m_ssb_demod_settings_isSet, m_ssb_mod_settings_isSet, m_udp_sink_settings_isSet, m_udp_source_settings_isSet, m_wfm_demod_settings_isSet, m_wfm_mod_settings_isSet, nfm_demod_settings, nfm_mod_settings, originator_channel_index, originator_device_set_index, remote_sink_settings, remote_source_settings, ssb_demod_settings, ssb_mod_settings, udp_sink_settings, udp_source_settings, wfm_demod_settings, and wfm_mod_settings.

Referenced by SWGChannelSettings().

88  {
89  channel_type = new QString("");
90  m_channel_type_isSet = false;
91  direction = 0;
92  m_direction_isSet = false;
97  am_demod_settings = new SWGAMDemodSettings();
99  am_mod_settings = new SWGAMModSettings();
100  m_am_mod_settings_isSet = false;
101  atv_mod_settings = new SWGATVModSettings();
102  m_atv_mod_settings_isSet = false;
103  bfm_demod_settings = new SWGBFMDemodSettings();
105  dsd_demod_settings = new SWGDSDDemodSettings();
107  file_source_settings = new SWGFileSourceSettings();
109  free_dv_demod_settings = new SWGFreeDVDemodSettings();
111  free_dv_mod_settings = new SWGFreeDVModSettings();
113  freq_tracker_settings = new SWGFreqTrackerSettings();
115  nfm_demod_settings = new SWGNFMDemodSettings();
117  nfm_mod_settings = new SWGNFMModSettings();
118  m_nfm_mod_settings_isSet = false;
119  local_sink_settings = new SWGLocalSinkSettings();
121  local_source_settings = new SWGLocalSourceSettings();
123  remote_sink_settings = new SWGRemoteSinkSettings();
125  remote_source_settings = new SWGRemoteSourceSettings();
127  ssb_mod_settings = new SWGSSBModSettings();
128  m_ssb_mod_settings_isSet = false;
129  ssb_demod_settings = new SWGSSBDemodSettings();
131  udp_source_settings = new SWGUDPSourceSettings();
133  udp_sink_settings = new SWGUDPSinkSettings();
135  wfm_demod_settings = new SWGWFMDemodSettings();
137  wfm_mod_settings = new SWGWFMModSettings();
138  m_wfm_mod_settings_isSet = false;
139 }
SWGDSDDemodSettings * dsd_demod_settings
SWGSSBDemodSettings * ssb_demod_settings
SWGRemoteSinkSettings * remote_sink_settings
SWGWFMDemodSettings * wfm_demod_settings
SWGFreeDVModSettings * free_dv_mod_settings
SWGFreqTrackerSettings * freq_tracker_settings
SWGNFMDemodSettings * nfm_demod_settings
SWGUDPSourceSettings * udp_source_settings
SWGFreeDVDemodSettings * free_dv_demod_settings
SWGFileSourceSettings * file_source_settings
SWGAMDemodSettings * am_demod_settings
SWGUDPSinkSettings * udp_sink_settings
SWGRemoteSourceSettings * remote_source_settings
SWGLocalSinkSettings * local_sink_settings
SWGBFMDemodSettings * bfm_demod_settings
SWGLocalSourceSettings * local_source_settings
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGChannelSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 622 of file SWGChannelSettings.cpp.

References am_demod_settings, am_mod_settings, atv_mod_settings, bfm_demod_settings, channel_type, dsd_demod_settings, file_source_settings, free_dv_demod_settings, free_dv_mod_settings, freq_tracker_settings, SWGSDRangel::SWGRemoteSourceSettings::isSet(), SWGSDRangel::SWGLocalSinkSettings::isSet(), SWGSDRangel::SWGLocalSourceSettings::isSet(), SWGSDRangel::SWGFileSourceSettings::isSet(), SWGSDRangel::SWGRemoteSinkSettings::isSet(), SWGSDRangel::SWGWFMDemodSettings::isSet(), SWGSDRangel::SWGFreeDVDemodSettings::isSet(), SWGSDRangel::SWGBFMDemodSettings::isSet(), SWGSDRangel::SWGAMDemodSettings::isSet(), SWGSDRangel::SWGAMModSettings::isSet(), SWGSDRangel::SWGFreqTrackerSettings::isSet(), SWGSDRangel::SWGFreeDVModSettings::isSet(), SWGSDRangel::SWGWFMModSettings::isSet(), SWGSDRangel::SWGNFMDemodSettings::isSet(), SWGSDRangel::SWGNFMModSettings::isSet(), SWGSDRangel::SWGSSBDemodSettings::isSet(), SWGSDRangel::SWGSSBModSettings::isSet(), SWGSDRangel::SWGUDPSourceSettings::isSet(), SWGSDRangel::SWGUDPSinkSettings::isSet(), SWGSDRangel::SWGDSDDemodSettings::isSet(), SWGSDRangel::SWGATVModSettings::isSet(), local_sink_settings, local_source_settings, m_direction_isSet, m_originator_channel_index_isSet, m_originator_device_set_index_isSet, nfm_demod_settings, nfm_mod_settings, remote_sink_settings, remote_source_settings, ssb_demod_settings, ssb_mod_settings, udp_sink_settings, udp_source_settings, wfm_demod_settings, and wfm_mod_settings.

622  {
623  bool isObjectUpdated = false;
624  do{
625  if(channel_type != nullptr && *channel_type != QString("")){ isObjectUpdated = true; break;}
626  if(m_direction_isSet){ isObjectUpdated = true; break;}
627  if(m_originator_device_set_index_isSet){ isObjectUpdated = true; break;}
628  if(m_originator_channel_index_isSet){ isObjectUpdated = true; break;}
629  if(am_demod_settings != nullptr && am_demod_settings->isSet()){ isObjectUpdated = true; break;}
630  if(am_mod_settings != nullptr && am_mod_settings->isSet()){ isObjectUpdated = true; break;}
631  if(atv_mod_settings != nullptr && atv_mod_settings->isSet()){ isObjectUpdated = true; break;}
632  if(bfm_demod_settings != nullptr && bfm_demod_settings->isSet()){ isObjectUpdated = true; break;}
633  if(dsd_demod_settings != nullptr && dsd_demod_settings->isSet()){ isObjectUpdated = true; break;}
634  if(file_source_settings != nullptr && file_source_settings->isSet()){ isObjectUpdated = true; break;}
635  if(free_dv_demod_settings != nullptr && free_dv_demod_settings->isSet()){ isObjectUpdated = true; break;}
636  if(free_dv_mod_settings != nullptr && free_dv_mod_settings->isSet()){ isObjectUpdated = true; break;}
637  if(freq_tracker_settings != nullptr && freq_tracker_settings->isSet()){ isObjectUpdated = true; break;}
638  if(nfm_demod_settings != nullptr && nfm_demod_settings->isSet()){ isObjectUpdated = true; break;}
639  if(nfm_mod_settings != nullptr && nfm_mod_settings->isSet()){ isObjectUpdated = true; break;}
640  if(local_sink_settings != nullptr && local_sink_settings->isSet()){ isObjectUpdated = true; break;}
641  if(local_source_settings != nullptr && local_source_settings->isSet()){ isObjectUpdated = true; break;}
642  if(remote_sink_settings != nullptr && remote_sink_settings->isSet()){ isObjectUpdated = true; break;}
643  if(remote_source_settings != nullptr && remote_source_settings->isSet()){ isObjectUpdated = true; break;}
644  if(ssb_mod_settings != nullptr && ssb_mod_settings->isSet()){ isObjectUpdated = true; break;}
645  if(ssb_demod_settings != nullptr && ssb_demod_settings->isSet()){ isObjectUpdated = true; break;}
646  if(udp_source_settings != nullptr && udp_source_settings->isSet()){ isObjectUpdated = true; break;}
647  if(udp_sink_settings != nullptr && udp_sink_settings->isSet()){ isObjectUpdated = true; break;}
648  if(wfm_demod_settings != nullptr && wfm_demod_settings->isSet()){ isObjectUpdated = true; break;}
649  if(wfm_mod_settings != nullptr && wfm_mod_settings->isSet()){ isObjectUpdated = true; break;}
650  }while(false);
651  return isObjectUpdated;
652 }
SWGDSDDemodSettings * dsd_demod_settings
SWGSSBDemodSettings * ssb_demod_settings
SWGRemoteSinkSettings * remote_sink_settings
SWGWFMDemodSettings * wfm_demod_settings
SWGFreeDVModSettings * free_dv_mod_settings
SWGFreqTrackerSettings * freq_tracker_settings
SWGNFMDemodSettings * nfm_demod_settings
SWGUDPSourceSettings * udp_source_settings
SWGFreeDVDemodSettings * free_dv_demod_settings
SWGFileSourceSettings * file_source_settings
SWGAMDemodSettings * am_demod_settings
SWGUDPSinkSettings * udp_sink_settings
SWGRemoteSourceSettings * remote_source_settings
virtual bool isSet() override
SWGLocalSinkSettings * local_sink_settings
SWGBFMDemodSettings * bfm_demod_settings
SWGLocalSourceSettings * local_source_settings
+ Here is the call graph for this function:

◆ setAmDemodSettings()

void SWGSDRangel::SWGChannelSettings::setAmDemodSettings ( SWGAMDemodSettings am_demod_settings)

◆ setAmModSettings()

void SWGSDRangel::SWGChannelSettings::setAmModSettings ( SWGAMModSettings am_mod_settings)

◆ setAtvModSettings()

void SWGSDRangel::SWGChannelSettings::setAtvModSettings ( SWGATVModSettings atv_mod_settings)

◆ setBfmDemodSettings()

void SWGSDRangel::SWGChannelSettings::setBfmDemodSettings ( SWGBFMDemodSettings bfm_demod_settings)

◆ setChannelType()

void SWGSDRangel::SWGChannelSettings::setChannelType ( QString *  channel_type)

Definition at line 375 of file SWGChannelSettings.cpp.

References channel_type, and m_channel_type_isSet.

Referenced by WebAPIRequestMapper::devicesetChannelService(), WebAPIAdapterGUI::devicesetChannelSettingsGet(), WebAPIAdapterSrv::devicesetChannelSettingsGet(), WebAPIRequestMapper::resetChannelSettings(), WebAPIRequestMapper::validateChannelSettings(), WFMMod::webapiReverseSendCWSettings(), AMMod::webapiReverseSendCWSettings(), NFMMod::webapiReverseSendCWSettings(), FreeDVMod::webapiReverseSendCWSettings(), SSBMod::webapiReverseSendCWSettings(), LocalSink::webapiReverseSendSettings(), LocalSource::webapiReverseSendSettings(), RemoteSink::webapiReverseSendSettings(), WFMDemod::webapiReverseSendSettings(), AMDemod::webapiReverseSendSettings(), FreqTracker::webapiReverseSendSettings(), UDPSink::webapiReverseSendSettings(), RemoteSource::webapiReverseSendSettings(), UDPSource::webapiReverseSendSettings(), NFMDemod::webapiReverseSendSettings(), DSDDemod::webapiReverseSendSettings(), BFMDemod::webapiReverseSendSettings(), WFMMod::webapiReverseSendSettings(), AMMod::webapiReverseSendSettings(), SSBDemod::webapiReverseSendSettings(), NFMMod::webapiReverseSendSettings(), FreeDVMod::webapiReverseSendSettings(), SSBMod::webapiReverseSendSettings(), FreeDVDemod::webapiReverseSendSettings(), FileSource::webapiReverseSendSettings(), and ATVMod::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setDirection()

void SWGSDRangel::SWGChannelSettings::setDirection ( qint32  direction)

Definition at line 385 of file SWGChannelSettings.cpp.

References direction, and m_direction_isSet.

Referenced by WebAPIRequestMapper::devicesetChannelService(), WebAPIAdapterGUI::devicesetChannelSettingsGet(), WebAPIAdapterSrv::devicesetChannelSettingsGet(), WebAPIRequestMapper::validateChannelSettings(), WFMMod::webapiReverseSendCWSettings(), AMMod::webapiReverseSendCWSettings(), NFMMod::webapiReverseSendCWSettings(), FreeDVMod::webapiReverseSendCWSettings(), SSBMod::webapiReverseSendCWSettings(), LocalSink::webapiReverseSendSettings(), LocalSource::webapiReverseSendSettings(), RemoteSink::webapiReverseSendSettings(), WFMDemod::webapiReverseSendSettings(), AMDemod::webapiReverseSendSettings(), FreqTracker::webapiReverseSendSettings(), UDPSink::webapiReverseSendSettings(), RemoteSource::webapiReverseSendSettings(), UDPSource::webapiReverseSendSettings(), NFMDemod::webapiReverseSendSettings(), DSDDemod::webapiReverseSendSettings(), BFMDemod::webapiReverseSendSettings(), WFMMod::webapiReverseSendSettings(), AMMod::webapiReverseSendSettings(), SSBDemod::webapiReverseSendSettings(), NFMMod::webapiReverseSendSettings(), FreeDVMod::webapiReverseSendSettings(), SSBMod::webapiReverseSendSettings(), FreeDVDemod::webapiReverseSendSettings(), FileSource::webapiReverseSendSettings(), and ATVMod::webapiReverseSendSettings().

385  {
386  this->direction = direction;
387  this->m_direction_isSet = true;
388 }
+ Here is the caller graph for this function:

◆ setDsdDemodSettings()

void SWGSDRangel::SWGChannelSettings::setDsdDemodSettings ( SWGDSDDemodSettings dsd_demod_settings)

◆ setFileSourceSettings()

void SWGSDRangel::SWGChannelSettings::setFileSourceSettings ( SWGFileSourceSettings file_source_settings)

Definition at line 465 of file SWGChannelSettings.cpp.

References file_source_settings, and m_file_source_settings_isSet.

Referenced by FileSource::webapiReverseSendSettings(), and FileSource::webapiSettingsGet().

465  {
467  this->m_file_source_settings_isSet = true;
468 }
SWGFileSourceSettings * file_source_settings
+ Here is the caller graph for this function:

◆ setFreeDvDemodSettings()

void SWGSDRangel::SWGChannelSettings::setFreeDvDemodSettings ( SWGFreeDVDemodSettings free_dv_demod_settings)

◆ setFreeDvModSettings()

void SWGSDRangel::SWGChannelSettings::setFreeDvModSettings ( SWGFreeDVModSettings free_dv_mod_settings)

◆ setFreqTrackerSettings()

void SWGSDRangel::SWGChannelSettings::setFreqTrackerSettings ( SWGFreqTrackerSettings freq_tracker_settings)

◆ setLocalSinkSettings()

void SWGSDRangel::SWGChannelSettings::setLocalSinkSettings ( SWGLocalSinkSettings local_sink_settings)

◆ setLocalSourceSettings()

void SWGSDRangel::SWGChannelSettings::setLocalSourceSettings ( SWGLocalSourceSettings local_source_settings)

◆ setNfmDemodSettings()

void SWGSDRangel::SWGChannelSettings::setNfmDemodSettings ( SWGNFMDemodSettings nfm_demod_settings)

◆ setNfmModSettings()

void SWGSDRangel::SWGChannelSettings::setNfmModSettings ( SWGNFMModSettings nfm_mod_settings)

◆ setOriginatorChannelIndex()

void SWGSDRangel::SWGChannelSettings::setOriginatorChannelIndex ( qint32  originator_channel_index)

◆ setOriginatorDeviceSetIndex()

void SWGSDRangel::SWGChannelSettings::setOriginatorDeviceSetIndex ( qint32  originator_device_set_index)

◆ setRemoteSinkSettings()

void SWGSDRangel::SWGChannelSettings::setRemoteSinkSettings ( SWGRemoteSinkSettings remote_sink_settings)

◆ setRemoteSourceSettings()

void SWGSDRangel::SWGChannelSettings::setRemoteSourceSettings ( SWGRemoteSourceSettings remote_source_settings)

◆ setSsbDemodSettings()

void SWGSDRangel::SWGChannelSettings::setSsbDemodSettings ( SWGSSBDemodSettings ssb_demod_settings)

◆ setSsbModSettings()

void SWGSDRangel::SWGChannelSettings::setSsbModSettings ( SWGSSBModSettings ssb_mod_settings)

◆ setUdpSinkSettings()

void SWGSDRangel::SWGChannelSettings::setUdpSinkSettings ( SWGUDPSinkSettings udp_sink_settings)

◆ setUdpSourceSettings()

void SWGSDRangel::SWGChannelSettings::setUdpSourceSettings ( SWGUDPSourceSettings udp_source_settings)

◆ setWfmDemodSettings()

void SWGSDRangel::SWGChannelSettings::setWfmDemodSettings ( SWGWFMDemodSettings wfm_demod_settings)

◆ setWfmModSettings()

void SWGSDRangel::SWGChannelSettings::setWfmModSettings ( SWGWFMModSettings wfm_mod_settings)

Member Data Documentation

◆ am_demod_settings

SWGAMDemodSettings* SWGSDRangel::SWGChannelSettings::am_demod_settings
private

◆ am_mod_settings

SWGAMModSettings* SWGSDRangel::SWGChannelSettings::am_mod_settings
private

◆ atv_mod_settings

SWGATVModSettings* SWGSDRangel::SWGChannelSettings::atv_mod_settings
private

◆ bfm_demod_settings

SWGBFMDemodSettings* SWGSDRangel::SWGChannelSettings::bfm_demod_settings
private

◆ channel_type

QString* SWGSDRangel::SWGChannelSettings::channel_type
private

◆ direction

qint32 SWGSDRangel::SWGChannelSettings::direction
private

◆ dsd_demod_settings

SWGDSDDemodSettings* SWGSDRangel::SWGChannelSettings::dsd_demod_settings
private

◆ file_source_settings

SWGFileSourceSettings* SWGSDRangel::SWGChannelSettings::file_source_settings
private

◆ free_dv_demod_settings

SWGFreeDVDemodSettings* SWGSDRangel::SWGChannelSettings::free_dv_demod_settings
private

◆ free_dv_mod_settings

SWGFreeDVModSettings* SWGSDRangel::SWGChannelSettings::free_dv_mod_settings
private

◆ freq_tracker_settings

SWGFreqTrackerSettings* SWGSDRangel::SWGChannelSettings::freq_tracker_settings
private

◆ local_sink_settings

SWGLocalSinkSettings* SWGSDRangel::SWGChannelSettings::local_sink_settings
private

◆ local_source_settings

SWGLocalSourceSettings* SWGSDRangel::SWGChannelSettings::local_source_settings
private

◆ m_am_demod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_am_demod_settings_isSet
private

Definition at line 158 of file SWGChannelSettings.h.

Referenced by init(), setAmDemodSettings(), and SWGChannelSettings().

◆ m_am_mod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_am_mod_settings_isSet
private

Definition at line 161 of file SWGChannelSettings.h.

Referenced by init(), setAmModSettings(), and SWGChannelSettings().

◆ m_atv_mod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_atv_mod_settings_isSet
private

Definition at line 164 of file SWGChannelSettings.h.

Referenced by init(), setAtvModSettings(), and SWGChannelSettings().

◆ m_bfm_demod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_bfm_demod_settings_isSet
private

Definition at line 167 of file SWGChannelSettings.h.

Referenced by init(), setBfmDemodSettings(), and SWGChannelSettings().

◆ m_channel_type_isSet

bool SWGSDRangel::SWGChannelSettings::m_channel_type_isSet
private

Definition at line 146 of file SWGChannelSettings.h.

Referenced by init(), setChannelType(), and SWGChannelSettings().

◆ m_direction_isSet

bool SWGSDRangel::SWGChannelSettings::m_direction_isSet
private

Definition at line 149 of file SWGChannelSettings.h.

Referenced by asJsonObject(), init(), isSet(), setDirection(), and SWGChannelSettings().

◆ m_dsd_demod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_dsd_demod_settings_isSet
private

Definition at line 170 of file SWGChannelSettings.h.

Referenced by init(), setDsdDemodSettings(), and SWGChannelSettings().

◆ m_file_source_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_file_source_settings_isSet
private

Definition at line 173 of file SWGChannelSettings.h.

Referenced by init(), setFileSourceSettings(), and SWGChannelSettings().

◆ m_free_dv_demod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_free_dv_demod_settings_isSet
private

Definition at line 176 of file SWGChannelSettings.h.

Referenced by init(), setFreeDvDemodSettings(), and SWGChannelSettings().

◆ m_free_dv_mod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_free_dv_mod_settings_isSet
private

Definition at line 179 of file SWGChannelSettings.h.

Referenced by init(), setFreeDvModSettings(), and SWGChannelSettings().

◆ m_freq_tracker_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_freq_tracker_settings_isSet
private

Definition at line 182 of file SWGChannelSettings.h.

Referenced by init(), setFreqTrackerSettings(), and SWGChannelSettings().

◆ m_local_sink_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_local_sink_settings_isSet
private

Definition at line 191 of file SWGChannelSettings.h.

Referenced by init(), setLocalSinkSettings(), and SWGChannelSettings().

◆ m_local_source_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_local_source_settings_isSet
private

Definition at line 194 of file SWGChannelSettings.h.

Referenced by init(), setLocalSourceSettings(), and SWGChannelSettings().

◆ m_nfm_demod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_nfm_demod_settings_isSet
private

Definition at line 185 of file SWGChannelSettings.h.

Referenced by init(), setNfmDemodSettings(), and SWGChannelSettings().

◆ m_nfm_mod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_nfm_mod_settings_isSet
private

Definition at line 188 of file SWGChannelSettings.h.

Referenced by init(), setNfmModSettings(), and SWGChannelSettings().

◆ m_originator_channel_index_isSet

bool SWGSDRangel::SWGChannelSettings::m_originator_channel_index_isSet
private

◆ m_originator_device_set_index_isSet

bool SWGSDRangel::SWGChannelSettings::m_originator_device_set_index_isSet
private

◆ m_remote_sink_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_remote_sink_settings_isSet
private

Definition at line 197 of file SWGChannelSettings.h.

Referenced by init(), setRemoteSinkSettings(), and SWGChannelSettings().

◆ m_remote_source_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_remote_source_settings_isSet
private

Definition at line 200 of file SWGChannelSettings.h.

Referenced by init(), setRemoteSourceSettings(), and SWGChannelSettings().

◆ m_ssb_demod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_ssb_demod_settings_isSet
private

Definition at line 206 of file SWGChannelSettings.h.

Referenced by init(), setSsbDemodSettings(), and SWGChannelSettings().

◆ m_ssb_mod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_ssb_mod_settings_isSet
private

Definition at line 203 of file SWGChannelSettings.h.

Referenced by init(), setSsbModSettings(), and SWGChannelSettings().

◆ m_udp_sink_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_udp_sink_settings_isSet
private

Definition at line 212 of file SWGChannelSettings.h.

Referenced by init(), setUdpSinkSettings(), and SWGChannelSettings().

◆ m_udp_source_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_udp_source_settings_isSet
private

Definition at line 209 of file SWGChannelSettings.h.

Referenced by init(), setUdpSourceSettings(), and SWGChannelSettings().

◆ m_wfm_demod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_wfm_demod_settings_isSet
private

Definition at line 215 of file SWGChannelSettings.h.

Referenced by init(), setWfmDemodSettings(), and SWGChannelSettings().

◆ m_wfm_mod_settings_isSet

bool SWGSDRangel::SWGChannelSettings::m_wfm_mod_settings_isSet
private

Definition at line 218 of file SWGChannelSettings.h.

Referenced by init(), setWfmModSettings(), and SWGChannelSettings().

◆ nfm_demod_settings

SWGNFMDemodSettings* SWGSDRangel::SWGChannelSettings::nfm_demod_settings
private

◆ nfm_mod_settings

SWGNFMModSettings* SWGSDRangel::SWGChannelSettings::nfm_mod_settings
private

◆ originator_channel_index

qint32 SWGSDRangel::SWGChannelSettings::originator_channel_index
private

◆ originator_device_set_index

qint32 SWGSDRangel::SWGChannelSettings::originator_device_set_index
private

◆ remote_sink_settings

SWGRemoteSinkSettings* SWGSDRangel::SWGChannelSettings::remote_sink_settings
private

◆ remote_source_settings

SWGRemoteSourceSettings* SWGSDRangel::SWGChannelSettings::remote_source_settings
private

◆ ssb_demod_settings

SWGSSBDemodSettings* SWGSDRangel::SWGChannelSettings::ssb_demod_settings
private

◆ ssb_mod_settings

SWGSSBModSettings* SWGSDRangel::SWGChannelSettings::ssb_mod_settings
private

◆ udp_sink_settings

SWGUDPSinkSettings* SWGSDRangel::SWGChannelSettings::udp_sink_settings
private

◆ udp_source_settings

SWGUDPSourceSettings* SWGSDRangel::SWGChannelSettings::udp_source_settings
private

◆ wfm_demod_settings

SWGWFMDemodSettings* SWGSDRangel::SWGChannelSettings::wfm_demod_settings
private

◆ wfm_mod_settings

SWGWFMModSettings* SWGSDRangel::SWGChannelSettings::wfm_mod_settings
private

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