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

#include <SWGRemoteOutputSettings.h>

+ Inheritance diagram for SWGSDRangel::SWGRemoteOutputSettings:
+ Collaboration diagram for SWGSDRangel::SWGRemoteOutputSettings:

Public Member Functions

 SWGRemoteOutputSettings ()
 
 SWGRemoteOutputSettings (QString *json)
 
virtual ~SWGRemoteOutputSettings ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGRemoteOutputSettingsfromJson (QString &jsonString) override
 
qint32 getCenterFrequency ()
 
void setCenterFrequency (qint32 center_frequency)
 
qint32 getSampleRate ()
 
void setSampleRate (qint32 sample_rate)
 
float getTxDelay ()
 
void setTxDelay (float tx_delay)
 
qint32 getNbFecBlocks ()
 
void setNbFecBlocks (qint32 nb_fec_blocks)
 
QString * getApiAddress ()
 
void setApiAddress (QString *api_address)
 
qint32 getApiPort ()
 
void setApiPort (qint32 api_port)
 
QString * getDataAddress ()
 
void setDataAddress (QString *data_address)
 
qint32 getDataPort ()
 
void setDataPort (qint32 data_port)
 
qint32 getDeviceIndex ()
 
void setDeviceIndex (qint32 device_index)
 
qint32 getChannelIndex ()
 
void setChannelIndex (qint32 channel_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)
 
virtual bool isSet () override
 
- Public Member Functions inherited from SWGSDRangel::SWGObject
virtual ~SWGObject ()
 

Private Attributes

qint32 center_frequency
 
bool m_center_frequency_isSet
 
qint32 sample_rate
 
bool m_sample_rate_isSet
 
float tx_delay
 
bool m_tx_delay_isSet
 
qint32 nb_fec_blocks
 
bool m_nb_fec_blocks_isSet
 
QString * api_address
 
bool m_api_address_isSet
 
qint32 api_port
 
bool m_api_port_isSet
 
QString * data_address
 
bool m_data_address_isSet
 
qint32 data_port
 
bool m_data_port_isSet
 
qint32 device_index
 
bool m_device_index_isSet
 
qint32 channel_index
 
bool m_channel_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
 

Detailed Description

Definition at line 32 of file SWGRemoteOutputSettings.h.

Constructor & Destructor Documentation

◆ SWGRemoteOutputSettings() [1/2]

SWGSDRangel::SWGRemoteOutputSettings::SWGRemoteOutputSettings ( )

Definition at line 30 of file SWGRemoteOutputSettings.cpp.

References api_address, api_port, center_frequency, channel_index, data_address, data_port, device_index, m_api_address_isSet, m_api_port_isSet, m_center_frequency_isSet, m_channel_index_isSet, m_data_address_isSet, m_data_port_isSet, m_device_index_isSet, m_nb_fec_blocks_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_sample_rate_isSet, m_tx_delay_isSet, m_use_reverse_api_isSet, nb_fec_blocks, reverse_api_address, reverse_api_device_index, reverse_api_port, sample_rate, tx_delay, and use_reverse_api.

30  {
31  center_frequency = 0;
33  sample_rate = 0;
34  m_sample_rate_isSet = false;
35  tx_delay = 0.0f;
36  m_tx_delay_isSet = false;
37  nb_fec_blocks = 0;
38  m_nb_fec_blocks_isSet = false;
39  api_address = nullptr;
40  m_api_address_isSet = false;
41  api_port = 0;
42  m_api_port_isSet = false;
43  data_address = nullptr;
44  m_data_address_isSet = false;
45  data_port = 0;
46  m_data_port_isSet = false;
47  device_index = 0;
48  m_device_index_isSet = false;
49  channel_index = 0;
50  m_channel_index_isSet = false;
51  use_reverse_api = 0;
53  reverse_api_address = nullptr;
55  reverse_api_port = 0;
59 }

◆ SWGRemoteOutputSettings() [2/2]

SWGSDRangel::SWGRemoteOutputSettings::SWGRemoteOutputSettings ( QString *  json)

Definition at line 25 of file SWGRemoteOutputSettings.cpp.

References fromJson(), and init().

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

◆ ~SWGRemoteOutputSettings()

SWGSDRangel::SWGRemoteOutputSettings::~SWGRemoteOutputSettings ( )
virtual

Definition at line 61 of file SWGRemoteOutputSettings.cpp.

References cleanup().

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

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGRemoteOutputSettings::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 174 of file SWGRemoteOutputSettings.cpp.

References api_address, api_port, center_frequency, channel_index, data_address, data_port, device_index, m_api_port_isSet, m_center_frequency_isSet, m_channel_index_isSet, m_data_port_isSet, m_device_index_isSet, m_nb_fec_blocks_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_sample_rate_isSet, m_tx_delay_isSet, m_use_reverse_api_isSet, nb_fec_blocks, reverse_api_address, reverse_api_device_index, reverse_api_port, sample_rate, SWGSDRangel::toJsonValue(), tx_delay, and use_reverse_api.

Referenced by asJson().

174  {
175  QJsonObject* obj = new QJsonObject();
177  obj->insert("centerFrequency", QJsonValue(center_frequency));
178  }
180  obj->insert("sampleRate", QJsonValue(sample_rate));
181  }
182  if(m_tx_delay_isSet){
183  obj->insert("txDelay", QJsonValue(tx_delay));
184  }
186  obj->insert("nbFECBlocks", QJsonValue(nb_fec_blocks));
187  }
188  if(api_address != nullptr && *api_address != QString("")){
189  toJsonValue(QString("apiAddress"), api_address, obj, QString("QString"));
190  }
191  if(m_api_port_isSet){
192  obj->insert("apiPort", QJsonValue(api_port));
193  }
194  if(data_address != nullptr && *data_address != QString("")){
195  toJsonValue(QString("dataAddress"), data_address, obj, QString("QString"));
196  }
197  if(m_data_port_isSet){
198  obj->insert("dataPort", QJsonValue(data_port));
199  }
201  obj->insert("deviceIndex", QJsonValue(device_index));
202  }
204  obj->insert("channelIndex", QJsonValue(channel_index));
205  }
207  obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
208  }
209  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
210  toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
211  }
213  obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
214  }
216  obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_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::SWGRemoteOutputSettings::cleanup ( )

Definition at line 98 of file SWGRemoteOutputSettings.cpp.

References api_address, data_address, and reverse_api_address.

Referenced by ~SWGRemoteOutputSettings().

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

◆ fromJson()

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 122 of file SWGRemoteOutputSettings.cpp.

References fromJsonObject().

Referenced by SWGRemoteOutputSettings().

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

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 131 of file SWGRemoteOutputSettings.cpp.

References api_address, api_port, center_frequency, channel_index, data_address, data_port, device_index, nb_fec_blocks, reverse_api_address, reverse_api_device_index, reverse_api_port, sample_rate, SWGSDRangel::setValue(), tx_delay, and use_reverse_api.

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

131  {
132  ::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint32", "");
133 
134  ::SWGSDRangel::setValue(&sample_rate, pJson["sampleRate"], "qint32", "");
135 
136  ::SWGSDRangel::setValue(&tx_delay, pJson["txDelay"], "float", "");
137 
138  ::SWGSDRangel::setValue(&nb_fec_blocks, pJson["nbFECBlocks"], "qint32", "");
139 
140  ::SWGSDRangel::setValue(&api_address, pJson["apiAddress"], "QString", "QString");
141 
142  ::SWGSDRangel::setValue(&api_port, pJson["apiPort"], "qint32", "");
143 
144  ::SWGSDRangel::setValue(&data_address, pJson["dataAddress"], "QString", "QString");
145 
146  ::SWGSDRangel::setValue(&data_port, pJson["dataPort"], "qint32", "");
147 
148  ::SWGSDRangel::setValue(&device_index, pJson["deviceIndex"], "qint32", "");
149 
150  ::SWGSDRangel::setValue(&channel_index, pJson["channelIndex"], "qint32", "");
151 
152  ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
153 
154  ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
155 
156  ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
157 
158  ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "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:

◆ getApiAddress()

QString * SWGSDRangel::SWGRemoteOutputSettings::getApiAddress ( )

Definition at line 263 of file SWGRemoteOutputSettings.cpp.

References api_address.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ getApiPort()

qint32 SWGSDRangel::SWGRemoteOutputSettings::getApiPort ( )

Definition at line 273 of file SWGRemoteOutputSettings.cpp.

References api_port.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ getCenterFrequency()

qint32 SWGSDRangel::SWGRemoteOutputSettings::getCenterFrequency ( )

Definition at line 223 of file SWGRemoteOutputSettings.cpp.

References center_frequency.

223  {
224  return center_frequency;
225 }

◆ getChannelIndex()

qint32 SWGSDRangel::SWGRemoteOutputSettings::getChannelIndex ( )

Definition at line 313 of file SWGRemoteOutputSettings.cpp.

References channel_index.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ getDataAddress()

QString * SWGSDRangel::SWGRemoteOutputSettings::getDataAddress ( )

Definition at line 283 of file SWGRemoteOutputSettings.cpp.

References data_address.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ getDataPort()

qint32 SWGSDRangel::SWGRemoteOutputSettings::getDataPort ( )

Definition at line 293 of file SWGRemoteOutputSettings.cpp.

References data_port.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ getDeviceIndex()

qint32 SWGSDRangel::SWGRemoteOutputSettings::getDeviceIndex ( )

Definition at line 303 of file SWGRemoteOutputSettings.cpp.

References device_index.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ getNbFecBlocks()

qint32 SWGSDRangel::SWGRemoteOutputSettings::getNbFecBlocks ( )

Definition at line 253 of file SWGRemoteOutputSettings.cpp.

References nb_fec_blocks.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ getReverseApiAddress()

QString * SWGSDRangel::SWGRemoteOutputSettings::getReverseApiAddress ( )

Definition at line 333 of file SWGRemoteOutputSettings.cpp.

References reverse_api_address.

Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiSettingsPutPatch().

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

◆ getReverseApiDeviceIndex()

qint32 SWGSDRangel::SWGRemoteOutputSettings::getReverseApiDeviceIndex ( )

Definition at line 353 of file SWGRemoteOutputSettings.cpp.

References reverse_api_device_index.

Referenced by RemoteOutput::webapiSettingsPutPatch().

+ Here is the caller graph for this function:

◆ getReverseApiPort()

qint32 SWGSDRangel::SWGRemoteOutputSettings::getReverseApiPort ( )

Definition at line 343 of file SWGRemoteOutputSettings.cpp.

References reverse_api_port.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ getSampleRate()

qint32 SWGSDRangel::SWGRemoteOutputSettings::getSampleRate ( )

Definition at line 233 of file SWGRemoteOutputSettings.cpp.

References sample_rate.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ getTxDelay()

float SWGSDRangel::SWGRemoteOutputSettings::getTxDelay ( )

Definition at line 243 of file SWGRemoteOutputSettings.cpp.

References tx_delay.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ getUseReverseApi()

qint32 SWGSDRangel::SWGRemoteOutputSettings::getUseReverseApi ( )

Definition at line 323 of file SWGRemoteOutputSettings.cpp.

References use_reverse_api.

Referenced by RemoteOutput::webapiSettingsPutPatch().

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

◆ init()

void SWGSDRangel::SWGRemoteOutputSettings::init ( )

Definition at line 66 of file SWGRemoteOutputSettings.cpp.

References api_address, api_port, center_frequency, channel_index, data_address, data_port, device_index, m_api_address_isSet, m_api_port_isSet, m_center_frequency_isSet, m_channel_index_isSet, m_data_address_isSet, m_data_port_isSet, m_device_index_isSet, m_nb_fec_blocks_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_sample_rate_isSet, m_tx_delay_isSet, m_use_reverse_api_isSet, nb_fec_blocks, reverse_api_address, reverse_api_device_index, reverse_api_port, sample_rate, tx_delay, and use_reverse_api.

Referenced by SWGRemoteOutputSettings(), and RemoteOutput::webapiSettingsGet().

66  {
67  center_frequency = 0;
69  sample_rate = 0;
70  m_sample_rate_isSet = false;
71  tx_delay = 0.0f;
72  m_tx_delay_isSet = false;
73  nb_fec_blocks = 0;
74  m_nb_fec_blocks_isSet = false;
75  api_address = new QString("");
76  m_api_address_isSet = false;
77  api_port = 0;
78  m_api_port_isSet = false;
79  data_address = new QString("");
80  m_data_address_isSet = false;
81  data_port = 0;
82  m_data_port_isSet = false;
83  device_index = 0;
84  m_device_index_isSet = false;
85  channel_index = 0;
86  m_channel_index_isSet = false;
87  use_reverse_api = 0;
89  reverse_api_address = new QString("");
91  reverse_api_port = 0;
95 }
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGRemoteOutputSettings::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 364 of file SWGRemoteOutputSettings.cpp.

References api_address, data_address, m_api_port_isSet, m_center_frequency_isSet, m_channel_index_isSet, m_data_port_isSet, m_device_index_isSet, m_nb_fec_blocks_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_sample_rate_isSet, m_tx_delay_isSet, m_use_reverse_api_isSet, and reverse_api_address.

Referenced by SWGSDRangel::SWGDeviceSettings::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::isSet(), and SWGSDRangel::SWGDeviceSettings::isSet().

364  {
365  bool isObjectUpdated = false;
366  do{
367  if(m_center_frequency_isSet){ isObjectUpdated = true; break;}
368  if(m_sample_rate_isSet){ isObjectUpdated = true; break;}
369  if(m_tx_delay_isSet){ isObjectUpdated = true; break;}
370  if(m_nb_fec_blocks_isSet){ isObjectUpdated = true; break;}
371  if(api_address != nullptr && *api_address != QString("")){ isObjectUpdated = true; break;}
372  if(m_api_port_isSet){ isObjectUpdated = true; break;}
373  if(data_address != nullptr && *data_address != QString("")){ isObjectUpdated = true; break;}
374  if(m_data_port_isSet){ isObjectUpdated = true; break;}
375  if(m_device_index_isSet){ isObjectUpdated = true; break;}
376  if(m_channel_index_isSet){ isObjectUpdated = true; break;}
377  if(m_use_reverse_api_isSet){ isObjectUpdated = true; break;}
378  if(reverse_api_address != nullptr && *reverse_api_address != QString("")){ isObjectUpdated = true; break;}
379  if(m_reverse_api_port_isSet){ isObjectUpdated = true; break;}
380  if(m_reverse_api_device_index_isSet){ isObjectUpdated = true; break;}
381  }while(false);
382  return isObjectUpdated;
383 }
+ Here is the caller graph for this function:

◆ setApiAddress()

void SWGSDRangel::SWGRemoteOutputSettings::setApiAddress ( QString *  api_address)

Definition at line 267 of file SWGRemoteOutputSettings.cpp.

References api_address, and m_api_address_isSet.

Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setApiPort()

void SWGSDRangel::SWGRemoteOutputSettings::setApiPort ( qint32  api_port)

Definition at line 277 of file SWGRemoteOutputSettings.cpp.

References api_port, and m_api_port_isSet.

Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setCenterFrequency()

void SWGSDRangel::SWGRemoteOutputSettings::setCenterFrequency ( qint32  center_frequency)

Definition at line 227 of file SWGRemoteOutputSettings.cpp.

References center_frequency, and m_center_frequency_isSet.

Referenced by RemoteOutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setChannelIndex()

void SWGSDRangel::SWGRemoteOutputSettings::setChannelIndex ( qint32  channel_index)

◆ setDataAddress()

void SWGSDRangel::SWGRemoteOutputSettings::setDataAddress ( QString *  data_address)

Definition at line 287 of file SWGRemoteOutputSettings.cpp.

References data_address, and m_data_address_isSet.

Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setDataPort()

void SWGSDRangel::SWGRemoteOutputSettings::setDataPort ( qint32  data_port)

Definition at line 297 of file SWGRemoteOutputSettings.cpp.

References data_port, and m_data_port_isSet.

Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setDeviceIndex()

void SWGSDRangel::SWGRemoteOutputSettings::setDeviceIndex ( qint32  device_index)

Definition at line 307 of file SWGRemoteOutputSettings.cpp.

References device_index, and m_device_index_isSet.

Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setNbFecBlocks()

void SWGSDRangel::SWGRemoteOutputSettings::setNbFecBlocks ( qint32  nb_fec_blocks)

◆ setReverseApiAddress()

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

Definition at line 337 of file SWGRemoteOutputSettings.cpp.

References m_reverse_api_address_isSet, and reverse_api_address.

Referenced by RemoteOutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setReverseApiDeviceIndex()

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

◆ setReverseApiPort()

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

Definition at line 347 of file SWGRemoteOutputSettings.cpp.

References m_reverse_api_port_isSet, and reverse_api_port.

Referenced by RemoteOutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

◆ setSampleRate()

void SWGSDRangel::SWGRemoteOutputSettings::setSampleRate ( qint32  sample_rate)

Definition at line 237 of file SWGRemoteOutputSettings.cpp.

References m_sample_rate_isSet, and sample_rate.

Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setTxDelay()

void SWGSDRangel::SWGRemoteOutputSettings::setTxDelay ( float  tx_delay)

Definition at line 247 of file SWGRemoteOutputSettings.cpp.

References m_tx_delay_isSet, and tx_delay.

Referenced by RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiReverseSendSettings().

+ Here is the caller graph for this function:

◆ setUseReverseApi()

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

Definition at line 327 of file SWGRemoteOutputSettings.cpp.

References m_use_reverse_api_isSet, and use_reverse_api.

Referenced by RemoteOutput::webapiFormatDeviceSettings().

+ Here is the caller graph for this function:

Member Data Documentation

◆ api_address

QString* SWGSDRangel::SWGRemoteOutputSettings::api_address
private

◆ api_port

qint32 SWGSDRangel::SWGRemoteOutputSettings::api_port
private

◆ center_frequency

qint32 SWGSDRangel::SWGRemoteOutputSettings::center_frequency
private

◆ channel_index

qint32 SWGSDRangel::SWGRemoteOutputSettings::channel_index
private

◆ data_address

QString* SWGSDRangel::SWGRemoteOutputSettings::data_address
private

◆ data_port

qint32 SWGSDRangel::SWGRemoteOutputSettings::data_port
private

◆ device_index

qint32 SWGSDRangel::SWGRemoteOutputSettings::device_index
private

◆ m_api_address_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_api_address_isSet
private

Definition at line 104 of file SWGRemoteOutputSettings.h.

Referenced by init(), setApiAddress(), and SWGRemoteOutputSettings().

◆ m_api_port_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_api_port_isSet
private

◆ m_center_frequency_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_center_frequency_isSet
private

◆ m_channel_index_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_channel_index_isSet
private

◆ m_data_address_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_data_address_isSet
private

Definition at line 110 of file SWGRemoteOutputSettings.h.

Referenced by init(), setDataAddress(), and SWGRemoteOutputSettings().

◆ m_data_port_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_data_port_isSet
private

◆ m_device_index_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_device_index_isSet
private

◆ m_nb_fec_blocks_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_nb_fec_blocks_isSet
private

◆ m_reverse_api_address_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_reverse_api_address_isSet
private

Definition at line 125 of file SWGRemoteOutputSettings.h.

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

◆ m_reverse_api_device_index_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_reverse_api_device_index_isSet
private

◆ m_reverse_api_port_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_reverse_api_port_isSet
private

◆ m_sample_rate_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_sample_rate_isSet
private

◆ m_tx_delay_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_tx_delay_isSet
private

◆ m_use_reverse_api_isSet

bool SWGSDRangel::SWGRemoteOutputSettings::m_use_reverse_api_isSet
private

◆ nb_fec_blocks

qint32 SWGSDRangel::SWGRemoteOutputSettings::nb_fec_blocks
private

◆ reverse_api_address

QString* SWGSDRangel::SWGRemoteOutputSettings::reverse_api_address
private

◆ reverse_api_device_index

qint32 SWGSDRangel::SWGRemoteOutputSettings::reverse_api_device_index
private

◆ reverse_api_port

qint32 SWGSDRangel::SWGRemoteOutputSettings::reverse_api_port
private

◆ sample_rate

qint32 SWGSDRangel::SWGRemoteOutputSettings::sample_rate
private

◆ tx_delay

float SWGSDRangel::SWGRemoteOutputSettings::tx_delay
private

◆ use_reverse_api

qint32 SWGSDRangel::SWGRemoteOutputSettings::use_reverse_api
private

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