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.
Signals | Public Member Functions | Public Attributes | Private Member Functions | List of all members
SWGSDRangel::SWGDeviceSetApi Class Reference

#include <SWGDeviceSetApi.h>

Inherits QObject.

Signals

void devicesetChannelDeleteSignal (SWGChannelSettings *summary)
 
void devicesetChannelPostSignal (SWGSuccessResponse *summary)
 
void devicesetChannelReportGetSignal (SWGChannelReport *summary)
 
void devicesetChannelSettingsGetSignal (SWGChannelSettings *summary)
 
void devicesetChannelSettingsPatchSignal (SWGChannelSettings *summary)
 
void devicesetChannelSettingsPutSignal (SWGChannelSettings *summary)
 
void devicesetChannelsReportGetSignal (SWGChannelsDetail *summary)
 
void devicesetDevicePutSignal (SWGDeviceListItem *summary)
 
void devicesetDeviceReportGetSignal (SWGDeviceReport *summary)
 
void devicesetDeviceRunDeleteSignal (SWGDeviceState *summary)
 
void devicesetDeviceRunGetSignal (SWGDeviceState *summary)
 
void devicesetDeviceRunPostSignal (SWGDeviceState *summary)
 
void devicesetDeviceSettingsGetSignal (SWGDeviceSettings *summary)
 
void devicesetDeviceSettingsPatchSignal (SWGDeviceSettings *summary)
 
void devicesetDeviceSettingsPutSignal (SWGDeviceSettings *summary)
 
void devicesetFocusPatchSignal (SWGSuccessResponse *summary)
 
void devicesetGetSignal (SWGDeviceSet *summary)
 
void instanceDeviceSetDeleteSignal (SWGSuccessResponse *summary)
 
void instanceDeviceSetPostSignal (SWGSuccessResponse *summary)
 
void devicesetChannelDeleteSignalE (SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelPostSignalE (SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelReportGetSignalE (SWGChannelReport *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelSettingsGetSignalE (SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelSettingsPatchSignalE (SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelSettingsPutSignalE (SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelsReportGetSignalE (SWGChannelsDetail *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDevicePutSignalE (SWGDeviceListItem *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceReportGetSignalE (SWGDeviceReport *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceRunDeleteSignalE (SWGDeviceState *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceRunGetSignalE (SWGDeviceState *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceRunPostSignalE (SWGDeviceState *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceSettingsGetSignalE (SWGDeviceSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceSettingsPatchSignalE (SWGDeviceSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceSettingsPutSignalE (SWGDeviceSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetFocusPatchSignalE (SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetGetSignalE (SWGDeviceSet *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void instanceDeviceSetDeleteSignalE (SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void instanceDeviceSetPostSignalE (SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelDeleteSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelPostSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelReportGetSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelSettingsGetSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelSettingsPatchSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelSettingsPutSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetChannelsReportGetSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDevicePutSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceReportGetSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceRunDeleteSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceRunGetSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceRunPostSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceSettingsGetSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceSettingsPatchSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetDeviceSettingsPutSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetFocusPatchSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void devicesetGetSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void instanceDeviceSetDeleteSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 
void instanceDeviceSetPostSignalEFull (SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
 

Public Member Functions

 SWGDeviceSetApi ()
 
 SWGDeviceSetApi (QString host, QString basePath)
 
 ~SWGDeviceSetApi ()
 
void devicesetChannelDelete (qint32 device_set_index, qint32 channel_index)
 
void devicesetChannelPost (qint32 device_set_index, SWGChannelSettings &body)
 
void devicesetChannelReportGet (qint32 device_set_index, qint32 channel_index)
 
void devicesetChannelSettingsGet (qint32 device_set_index, qint32 channel_index)
 
void devicesetChannelSettingsPatch (qint32 device_set_index, qint32 channel_index, SWGChannelSettings &body)
 
void devicesetChannelSettingsPut (qint32 device_set_index, qint32 channel_index, SWGChannelSettings &body)
 
void devicesetChannelsReportGet (qint32 device_set_index)
 
void devicesetDevicePut (qint32 device_set_index, SWGDeviceListItem &body)
 
void devicesetDeviceReportGet (qint32 device_set_index)
 
void devicesetDeviceRunDelete (qint32 device_set_index, SWGDeviceSettings &body)
 
void devicesetDeviceRunGet (qint32 device_set_index)
 
void devicesetDeviceRunPost (qint32 device_set_index, SWGDeviceSettings &body)
 
void devicesetDeviceSettingsGet (qint32 device_set_index)
 
void devicesetDeviceSettingsPatch (qint32 device_set_index, SWGDeviceSettings &body)
 
void devicesetDeviceSettingsPut (qint32 device_set_index, SWGDeviceSettings &body)
 
void devicesetFocusPatch (qint32 device_set_index)
 
void devicesetGet (qint32 device_set_index)
 
void instanceDeviceSetDelete ()
 
void instanceDeviceSetPost (qint32 direction)
 

Public Attributes

QString host
 
QString basePath
 
QMap< QString, QString > defaultHeaders
 

Private Member Functions

void devicesetChannelDeleteCallback (SWGHttpRequestWorker *worker)
 
void devicesetChannelPostCallback (SWGHttpRequestWorker *worker)
 
void devicesetChannelReportGetCallback (SWGHttpRequestWorker *worker)
 
void devicesetChannelSettingsGetCallback (SWGHttpRequestWorker *worker)
 
void devicesetChannelSettingsPatchCallback (SWGHttpRequestWorker *worker)
 
void devicesetChannelSettingsPutCallback (SWGHttpRequestWorker *worker)
 
void devicesetChannelsReportGetCallback (SWGHttpRequestWorker *worker)
 
void devicesetDevicePutCallback (SWGHttpRequestWorker *worker)
 
void devicesetDeviceReportGetCallback (SWGHttpRequestWorker *worker)
 
void devicesetDeviceRunDeleteCallback (SWGHttpRequestWorker *worker)
 
void devicesetDeviceRunGetCallback (SWGHttpRequestWorker *worker)
 
void devicesetDeviceRunPostCallback (SWGHttpRequestWorker *worker)
 
void devicesetDeviceSettingsGetCallback (SWGHttpRequestWorker *worker)
 
void devicesetDeviceSettingsPatchCallback (SWGHttpRequestWorker *worker)
 
void devicesetDeviceSettingsPutCallback (SWGHttpRequestWorker *worker)
 
void devicesetFocusPatchCallback (SWGHttpRequestWorker *worker)
 
void devicesetGetCallback (SWGHttpRequestWorker *worker)
 
void instanceDeviceSetDeleteCallback (SWGHttpRequestWorker *worker)
 
void instanceDeviceSetPostCallback (SWGHttpRequestWorker *worker)
 

Detailed Description

Definition at line 33 of file SWGDeviceSetApi.h.

Constructor & Destructor Documentation

◆ SWGDeviceSetApi() [1/2]

SWGSDRangel::SWGDeviceSetApi::SWGDeviceSetApi ( )

Definition at line 22 of file SWGDeviceSetApi.cpp.

22 {}

◆ SWGDeviceSetApi() [2/2]

SWGSDRangel::SWGDeviceSetApi::SWGDeviceSetApi ( QString  host,
QString  basePath 
)

Definition at line 26 of file SWGDeviceSetApi.cpp.

References basePath, and host.

26  {
27  this->host = host;
28  this->basePath = basePath;
29 }

◆ ~SWGDeviceSetApi()

SWGSDRangel::SWGDeviceSetApi::~SWGDeviceSetApi ( )

Definition at line 24 of file SWGDeviceSetApi.cpp.

24 {}

Member Function Documentation

◆ devicesetChannelDelete()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelDelete ( qint32  device_set_index,
qint32  channel_index 
)

Definition at line 32 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, devicesetChannelDeleteCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), and SWGSDRangel::stringValue().

32  {
33  QString fullPath;
34  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}");
35 
36  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
37  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
38  QString channel_indexPathParam("{"); channel_indexPathParam.append("channelIndex").append("}");
39  fullPath.replace(channel_indexPathParam, stringValue(channel_index));
40 
41 
42  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
43  SWGHttpRequestInput input(fullPath, "DELETE");
44 
45 
46 
47 
48 
49  foreach(QString key, this->defaultHeaders.keys()) {
50  input.headers.insert(key, this->defaultHeaders.value(key));
51  }
52 
53  connect(worker,
55  this,
57 
58  worker->execute(&input);
59 }
void devicesetChannelDeleteCallback(SWGHttpRequestWorker *worker)
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetChannelDeleteCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelDeleteCallback ( SWGHttpRequestWorker worker)
private

Definition at line 62 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetChannelDeleteSignal(), devicesetChannelDeleteSignalE(), devicesetChannelDeleteSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetChannelDelete().

62  {
63  QString msg;
64  QString error_str = worker->error_str;
65  QNetworkReply::NetworkError error_type = worker->error_type;
66 
67  if (worker->error_type == QNetworkReply::NoError) {
68  msg = QString("Success! %1 bytes").arg(worker->response.length());
69  }
70  else {
71  msg = "Error: " + worker->error_str;
72  }
73 
74 
75  QString json(worker->response);
76  SWGChannelSettings* output = static_cast<SWGChannelSettings*>(create(json, QString("SWGChannelSettings")));
77  worker->deleteLater();
78 
79  if (worker->error_type == QNetworkReply::NoError) {
80  emit devicesetChannelDeleteSignal(output);
81  } else {
82  emit devicesetChannelDeleteSignalE(output, error_type, error_str);
83  emit devicesetChannelDeleteSignalEFull(worker, error_type, error_str);
84  }
85 }
void devicesetChannelDeleteSignalE(SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void * create(QString type)
void devicesetChannelDeleteSignal(SWGChannelSettings *summary)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetChannelDeleteSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelDeleteSignal ( SWGChannelSettings summary)
signal

Referenced by devicesetChannelDeleteCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelDeleteSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelDeleteSignalE ( SWGChannelSettings summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelDeleteCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelDeleteSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelDeleteSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelDeleteCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelPost()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelPost ( qint32  device_set_index,
SWGChannelSettings body 
)

Definition at line 88 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::SWGChannelSettings::asJson(), basePath, defaultHeaders, devicesetChannelPostCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), SWGSDRangel::SWGHttpRequestInput::request_body, and SWGSDRangel::stringValue().

88  {
89  QString fullPath;
90  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/channel");
91 
92  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
93  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
94 
95 
96  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
97  SWGHttpRequestInput input(fullPath, "POST");
98 
99 
100 
101  QString output = body.asJson();
102  input.request_body.append(output);
103 
104 
105 
106  foreach(QString key, this->defaultHeaders.keys()) {
107  input.headers.insert(key, this->defaultHeaders.value(key));
108  }
109 
110  connect(worker,
112  this,
114 
115  worker->execute(&input);
116 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetChannelPostCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetChannelPostCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelPostCallback ( SWGHttpRequestWorker worker)
private

Definition at line 119 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetChannelPostSignal(), devicesetChannelPostSignalE(), devicesetChannelPostSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetChannelPost().

119  {
120  QString msg;
121  QString error_str = worker->error_str;
122  QNetworkReply::NetworkError error_type = worker->error_type;
123 
124  if (worker->error_type == QNetworkReply::NoError) {
125  msg = QString("Success! %1 bytes").arg(worker->response.length());
126  }
127  else {
128  msg = "Error: " + worker->error_str;
129  }
130 
131 
132  QString json(worker->response);
133  SWGSuccessResponse* output = static_cast<SWGSuccessResponse*>(create(json, QString("SWGSuccessResponse")));
134  worker->deleteLater();
135 
136  if (worker->error_type == QNetworkReply::NoError) {
137  emit devicesetChannelPostSignal(output);
138  } else {
139  emit devicesetChannelPostSignalE(output, error_type, error_str);
140  emit devicesetChannelPostSignalEFull(worker, error_type, error_str);
141  }
142 }
void * create(QString type)
void devicesetChannelPostSignal(SWGSuccessResponse *summary)
void devicesetChannelPostSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelPostSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetChannelPostSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelPostSignal ( SWGSuccessResponse summary)
signal

Referenced by devicesetChannelPostCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelPostSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelPostSignalE ( SWGSuccessResponse summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelPostCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelPostSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelPostSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelPostCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelReportGet()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelReportGet ( qint32  device_set_index,
qint32  channel_index 
)

Definition at line 145 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, devicesetChannelReportGetCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), and SWGSDRangel::stringValue().

145  {
146  QString fullPath;
147  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/report");
148 
149  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
150  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
151  QString channel_indexPathParam("{"); channel_indexPathParam.append("channelIndex").append("}");
152  fullPath.replace(channel_indexPathParam, stringValue(channel_index));
153 
154 
155  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
156  SWGHttpRequestInput input(fullPath, "GET");
157 
158 
159 
160 
161 
162  foreach(QString key, this->defaultHeaders.keys()) {
163  input.headers.insert(key, this->defaultHeaders.value(key));
164  }
165 
166  connect(worker,
168  this,
170 
171  worker->execute(&input);
172 }
void on_execution_finished(SWGHttpRequestWorker *worker)
void devicesetChannelReportGetCallback(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetChannelReportGetCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelReportGetCallback ( SWGHttpRequestWorker worker)
private

Definition at line 175 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetChannelReportGetSignal(), devicesetChannelReportGetSignalE(), devicesetChannelReportGetSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetChannelReportGet().

175  {
176  QString msg;
177  QString error_str = worker->error_str;
178  QNetworkReply::NetworkError error_type = worker->error_type;
179 
180  if (worker->error_type == QNetworkReply::NoError) {
181  msg = QString("Success! %1 bytes").arg(worker->response.length());
182  }
183  else {
184  msg = "Error: " + worker->error_str;
185  }
186 
187 
188  QString json(worker->response);
189  SWGChannelReport* output = static_cast<SWGChannelReport*>(create(json, QString("SWGChannelReport")));
190  worker->deleteLater();
191 
192  if (worker->error_type == QNetworkReply::NoError) {
193  emit devicesetChannelReportGetSignal(output);
194  } else {
195  emit devicesetChannelReportGetSignalE(output, error_type, error_str);
196  emit devicesetChannelReportGetSignalEFull(worker, error_type, error_str);
197  }
198 }
void devicesetChannelReportGetSignal(SWGChannelReport *summary)
void * create(QString type)
void devicesetChannelReportGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelReportGetSignalE(SWGChannelReport *summary, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetChannelReportGetSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelReportGetSignal ( SWGChannelReport summary)
signal

Referenced by devicesetChannelReportGetCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelReportGetSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelReportGetSignalE ( SWGChannelReport summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelReportGetCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelReportGetSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelReportGetSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelReportGetCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelSettingsGet()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsGet ( qint32  device_set_index,
qint32  channel_index 
)

Definition at line 201 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, devicesetChannelSettingsGetCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), and SWGSDRangel::stringValue().

201  {
202  QString fullPath;
203  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings");
204 
205  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
206  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
207  QString channel_indexPathParam("{"); channel_indexPathParam.append("channelIndex").append("}");
208  fullPath.replace(channel_indexPathParam, stringValue(channel_index));
209 
210 
211  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
212  SWGHttpRequestInput input(fullPath, "GET");
213 
214 
215 
216 
217 
218  foreach(QString key, this->defaultHeaders.keys()) {
219  input.headers.insert(key, this->defaultHeaders.value(key));
220  }
221 
222  connect(worker,
224  this,
226 
227  worker->execute(&input);
228 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetChannelSettingsGetCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetChannelSettingsGetCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsGetCallback ( SWGHttpRequestWorker worker)
private

Definition at line 231 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetChannelSettingsGetSignal(), devicesetChannelSettingsGetSignalE(), devicesetChannelSettingsGetSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetChannelSettingsGet().

231  {
232  QString msg;
233  QString error_str = worker->error_str;
234  QNetworkReply::NetworkError error_type = worker->error_type;
235 
236  if (worker->error_type == QNetworkReply::NoError) {
237  msg = QString("Success! %1 bytes").arg(worker->response.length());
238  }
239  else {
240  msg = "Error: " + worker->error_str;
241  }
242 
243 
244  QString json(worker->response);
245  SWGChannelSettings* output = static_cast<SWGChannelSettings*>(create(json, QString("SWGChannelSettings")));
246  worker->deleteLater();
247 
248  if (worker->error_type == QNetworkReply::NoError) {
250  } else {
251  emit devicesetChannelSettingsGetSignalE(output, error_type, error_str);
252  emit devicesetChannelSettingsGetSignalEFull(worker, error_type, error_str);
253  }
254 }
void devicesetChannelSettingsGetSignal(SWGChannelSettings *summary)
void devicesetChannelSettingsGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsGetSignalE(SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void * create(QString type)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetChannelSettingsGetSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsGetSignal ( SWGChannelSettings summary)
signal

Referenced by devicesetChannelSettingsGetCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelSettingsGetSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsGetSignalE ( SWGChannelSettings summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelSettingsGetCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelSettingsGetSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsGetSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelSettingsGetCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelSettingsPatch()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatch ( qint32  device_set_index,
qint32  channel_index,
SWGChannelSettings body 
)

Definition at line 257 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::SWGChannelSettings::asJson(), basePath, defaultHeaders, devicesetChannelSettingsPatchCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), SWGSDRangel::SWGHttpRequestInput::request_body, and SWGSDRangel::stringValue().

257  {
258  QString fullPath;
259  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings");
260 
261  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
262  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
263  QString channel_indexPathParam("{"); channel_indexPathParam.append("channelIndex").append("}");
264  fullPath.replace(channel_indexPathParam, stringValue(channel_index));
265 
266 
267  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
268  SWGHttpRequestInput input(fullPath, "PATCH");
269 
270 
271 
272  QString output = body.asJson();
273  input.request_body.append(output);
274 
275 
276 
277  foreach(QString key, this->defaultHeaders.keys()) {
278  input.headers.insert(key, this->defaultHeaders.value(key));
279  }
280 
281  connect(worker,
283  this,
285 
286  worker->execute(&input);
287 }
void devicesetChannelSettingsPatchCallback(SWGHttpRequestWorker *worker)
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetChannelSettingsPatchCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatchCallback ( SWGHttpRequestWorker worker)
private

Definition at line 290 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetChannelSettingsPatchSignal(), devicesetChannelSettingsPatchSignalE(), devicesetChannelSettingsPatchSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetChannelSettingsPatch().

290  {
291  QString msg;
292  QString error_str = worker->error_str;
293  QNetworkReply::NetworkError error_type = worker->error_type;
294 
295  if (worker->error_type == QNetworkReply::NoError) {
296  msg = QString("Success! %1 bytes").arg(worker->response.length());
297  }
298  else {
299  msg = "Error: " + worker->error_str;
300  }
301 
302 
303  QString json(worker->response);
304  SWGChannelSettings* output = static_cast<SWGChannelSettings*>(create(json, QString("SWGChannelSettings")));
305  worker->deleteLater();
306 
307  if (worker->error_type == QNetworkReply::NoError) {
309  } else {
310  emit devicesetChannelSettingsPatchSignalE(output, error_type, error_str);
311  emit devicesetChannelSettingsPatchSignalEFull(worker, error_type, error_str);
312  }
313 }
void devicesetChannelSettingsPatchSignal(SWGChannelSettings *summary)
void devicesetChannelSettingsPatchSignalE(SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void * create(QString type)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetChannelSettingsPatchSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatchSignal ( SWGChannelSettings summary)
signal

Referenced by devicesetChannelSettingsPatchCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelSettingsPatchSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatchSignalE ( SWGChannelSettings summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelSettingsPatchCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelSettingsPatchSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatchSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelSettingsPatchCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelSettingsPut()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPut ( qint32  device_set_index,
qint32  channel_index,
SWGChannelSettings body 
)

Definition at line 316 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::SWGChannelSettings::asJson(), basePath, defaultHeaders, devicesetChannelSettingsPutCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), SWGSDRangel::SWGHttpRequestInput::request_body, and SWGSDRangel::stringValue().

316  {
317  QString fullPath;
318  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings");
319 
320  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
321  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
322  QString channel_indexPathParam("{"); channel_indexPathParam.append("channelIndex").append("}");
323  fullPath.replace(channel_indexPathParam, stringValue(channel_index));
324 
325 
326  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
327  SWGHttpRequestInput input(fullPath, "PUT");
328 
329 
330 
331  QString output = body.asJson();
332  input.request_body.append(output);
333 
334 
335 
336  foreach(QString key, this->defaultHeaders.keys()) {
337  input.headers.insert(key, this->defaultHeaders.value(key));
338  }
339 
340  connect(worker,
342  this,
344 
345  worker->execute(&input);
346 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetChannelSettingsPutCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetChannelSettingsPutCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPutCallback ( SWGHttpRequestWorker worker)
private

Definition at line 349 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetChannelSettingsPutSignal(), devicesetChannelSettingsPutSignalE(), devicesetChannelSettingsPutSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetChannelSettingsPut().

349  {
350  QString msg;
351  QString error_str = worker->error_str;
352  QNetworkReply::NetworkError error_type = worker->error_type;
353 
354  if (worker->error_type == QNetworkReply::NoError) {
355  msg = QString("Success! %1 bytes").arg(worker->response.length());
356  }
357  else {
358  msg = "Error: " + worker->error_str;
359  }
360 
361 
362  QString json(worker->response);
363  SWGChannelSettings* output = static_cast<SWGChannelSettings*>(create(json, QString("SWGChannelSettings")));
364  worker->deleteLater();
365 
366  if (worker->error_type == QNetworkReply::NoError) {
368  } else {
369  emit devicesetChannelSettingsPutSignalE(output, error_type, error_str);
370  emit devicesetChannelSettingsPutSignalEFull(worker, error_type, error_str);
371  }
372 }
void devicesetChannelSettingsPutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsPutSignal(SWGChannelSettings *summary)
void devicesetChannelSettingsPutSignalE(SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void * create(QString type)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetChannelSettingsPutSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPutSignal ( SWGChannelSettings summary)
signal

Referenced by devicesetChannelSettingsPutCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelSettingsPutSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPutSignalE ( SWGChannelSettings summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelSettingsPutCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelSettingsPutSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPutSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelSettingsPutCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelsReportGet()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelsReportGet ( qint32  device_set_index)

Definition at line 375 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, devicesetChannelsReportGetCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), and SWGSDRangel::stringValue().

375  {
376  QString fullPath;
377  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/channels/report");
378 
379  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
380  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
381 
382 
383  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
384  SWGHttpRequestInput input(fullPath, "GET");
385 
386 
387 
388 
389 
390  foreach(QString key, this->defaultHeaders.keys()) {
391  input.headers.insert(key, this->defaultHeaders.value(key));
392  }
393 
394  connect(worker,
396  this,
398 
399  worker->execute(&input);
400 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetChannelsReportGetCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetChannelsReportGetCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelsReportGetCallback ( SWGHttpRequestWorker worker)
private

Definition at line 403 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetChannelsReportGetSignal(), devicesetChannelsReportGetSignalE(), devicesetChannelsReportGetSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetChannelsReportGet().

403  {
404  QString msg;
405  QString error_str = worker->error_str;
406  QNetworkReply::NetworkError error_type = worker->error_type;
407 
408  if (worker->error_type == QNetworkReply::NoError) {
409  msg = QString("Success! %1 bytes").arg(worker->response.length());
410  }
411  else {
412  msg = "Error: " + worker->error_str;
413  }
414 
415 
416  QString json(worker->response);
417  SWGChannelsDetail* output = static_cast<SWGChannelsDetail*>(create(json, QString("SWGChannelsDetail")));
418  worker->deleteLater();
419 
420  if (worker->error_type == QNetworkReply::NoError) {
422  } else {
423  emit devicesetChannelsReportGetSignalE(output, error_type, error_str);
424  emit devicesetChannelsReportGetSignalEFull(worker, error_type, error_str);
425  }
426 }
void devicesetChannelsReportGetSignalE(SWGChannelsDetail *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void * create(QString type)
void devicesetChannelsReportGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelsReportGetSignal(SWGChannelsDetail *summary)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetChannelsReportGetSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelsReportGetSignal ( SWGChannelsDetail summary)
signal

Referenced by devicesetChannelsReportGetCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelsReportGetSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelsReportGetSignalE ( SWGChannelsDetail summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelsReportGetCallback().

+ Here is the caller graph for this function:

◆ devicesetChannelsReportGetSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetChannelsReportGetSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetChannelsReportGetCallback().

+ Here is the caller graph for this function:

◆ devicesetDevicePut()

void SWGSDRangel::SWGDeviceSetApi::devicesetDevicePut ( qint32  device_set_index,
SWGDeviceListItem body 
)

Definition at line 429 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::SWGDeviceListItem::asJson(), basePath, defaultHeaders, devicesetDevicePutCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), SWGSDRangel::SWGHttpRequestInput::request_body, and SWGSDRangel::stringValue().

429  {
430  QString fullPath;
431  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/device");
432 
433  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
434  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
435 
436 
437  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
438  SWGHttpRequestInput input(fullPath, "PUT");
439 
440 
441 
442  QString output = body.asJson();
443  input.request_body.append(output);
444 
445 
446 
447  foreach(QString key, this->defaultHeaders.keys()) {
448  input.headers.insert(key, this->defaultHeaders.value(key));
449  }
450 
451  connect(worker,
453  this,
455 
456  worker->execute(&input);
457 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetDevicePutCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetDevicePutCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetDevicePutCallback ( SWGHttpRequestWorker worker)
private

Definition at line 460 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetDevicePutSignal(), devicesetDevicePutSignalE(), devicesetDevicePutSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetDevicePut().

460  {
461  QString msg;
462  QString error_str = worker->error_str;
463  QNetworkReply::NetworkError error_type = worker->error_type;
464 
465  if (worker->error_type == QNetworkReply::NoError) {
466  msg = QString("Success! %1 bytes").arg(worker->response.length());
467  }
468  else {
469  msg = "Error: " + worker->error_str;
470  }
471 
472 
473  QString json(worker->response);
474  SWGDeviceListItem* output = static_cast<SWGDeviceListItem*>(create(json, QString("SWGDeviceListItem")));
475  worker->deleteLater();
476 
477  if (worker->error_type == QNetworkReply::NoError) {
478  emit devicesetDevicePutSignal(output);
479  } else {
480  emit devicesetDevicePutSignalE(output, error_type, error_str);
481  emit devicesetDevicePutSignalEFull(worker, error_type, error_str);
482  }
483 }
void devicesetDevicePutSignal(SWGDeviceListItem *summary)
void * create(QString type)
void devicesetDevicePutSignalE(SWGDeviceListItem *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDevicePutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetDevicePutSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetDevicePutSignal ( SWGDeviceListItem summary)
signal

Referenced by devicesetDevicePutCallback().

+ Here is the caller graph for this function:

◆ devicesetDevicePutSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetDevicePutSignalE ( SWGDeviceListItem summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDevicePutCallback().

+ Here is the caller graph for this function:

◆ devicesetDevicePutSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetDevicePutSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDevicePutCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceReportGet()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceReportGet ( qint32  device_set_index)

Definition at line 486 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, devicesetDeviceReportGetCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), and SWGSDRangel::stringValue().

486  {
487  QString fullPath;
488  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/device/report");
489 
490  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
491  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
492 
493 
494  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
495  SWGHttpRequestInput input(fullPath, "GET");
496 
497 
498 
499 
500 
501  foreach(QString key, this->defaultHeaders.keys()) {
502  input.headers.insert(key, this->defaultHeaders.value(key));
503  }
504 
505  connect(worker,
507  this,
509 
510  worker->execute(&input);
511 }
void devicesetDeviceReportGetCallback(SWGHttpRequestWorker *worker)
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetDeviceReportGetCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceReportGetCallback ( SWGHttpRequestWorker worker)
private

Definition at line 514 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetDeviceReportGetSignal(), devicesetDeviceReportGetSignalE(), devicesetDeviceReportGetSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetDeviceReportGet().

514  {
515  QString msg;
516  QString error_str = worker->error_str;
517  QNetworkReply::NetworkError error_type = worker->error_type;
518 
519  if (worker->error_type == QNetworkReply::NoError) {
520  msg = QString("Success! %1 bytes").arg(worker->response.length());
521  }
522  else {
523  msg = "Error: " + worker->error_str;
524  }
525 
526 
527  QString json(worker->response);
528  SWGDeviceReport* output = static_cast<SWGDeviceReport*>(create(json, QString("SWGDeviceReport")));
529  worker->deleteLater();
530 
531  if (worker->error_type == QNetworkReply::NoError) {
532  emit devicesetDeviceReportGetSignal(output);
533  } else {
534  emit devicesetDeviceReportGetSignalE(output, error_type, error_str);
535  emit devicesetDeviceReportGetSignalEFull(worker, error_type, error_str);
536  }
537 }
void devicesetDeviceReportGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void * create(QString type)
void devicesetDeviceReportGetSignalE(SWGDeviceReport *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceReportGetSignal(SWGDeviceReport *summary)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetDeviceReportGetSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceReportGetSignal ( SWGDeviceReport summary)
signal

Referenced by devicesetDeviceReportGetCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceReportGetSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceReportGetSignalE ( SWGDeviceReport summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceReportGetCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceReportGetSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceReportGetSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceReportGetCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceRunDelete()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDelete ( qint32  device_set_index,
SWGDeviceSettings body 
)

Definition at line 540 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::SWGDeviceSettings::asJson(), basePath, defaultHeaders, devicesetDeviceRunDeleteCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), SWGSDRangel::SWGHttpRequestInput::request_body, and SWGSDRangel::stringValue().

540  {
541  QString fullPath;
542  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/device/run");
543 
544  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
545  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
546 
547 
548  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
549  SWGHttpRequestInput input(fullPath, "DELETE");
550 
551 
552 
553  QString output = body.asJson();
554  input.request_body.append(output);
555 
556 
557 
558  foreach(QString key, this->defaultHeaders.keys()) {
559  input.headers.insert(key, this->defaultHeaders.value(key));
560  }
561 
562  connect(worker,
564  this,
566 
567  worker->execute(&input);
568 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetDeviceRunDeleteCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetDeviceRunDeleteCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDeleteCallback ( SWGHttpRequestWorker worker)
private

Definition at line 571 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetDeviceRunDeleteSignal(), devicesetDeviceRunDeleteSignalE(), devicesetDeviceRunDeleteSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetDeviceRunDelete().

571  {
572  QString msg;
573  QString error_str = worker->error_str;
574  QNetworkReply::NetworkError error_type = worker->error_type;
575 
576  if (worker->error_type == QNetworkReply::NoError) {
577  msg = QString("Success! %1 bytes").arg(worker->response.length());
578  }
579  else {
580  msg = "Error: " + worker->error_str;
581  }
582 
583 
584  QString json(worker->response);
585  SWGDeviceState* output = static_cast<SWGDeviceState*>(create(json, QString("SWGDeviceState")));
586  worker->deleteLater();
587 
588  if (worker->error_type == QNetworkReply::NoError) {
589  emit devicesetDeviceRunDeleteSignal(output);
590  } else {
591  emit devicesetDeviceRunDeleteSignalE(output, error_type, error_str);
592  emit devicesetDeviceRunDeleteSignalEFull(worker, error_type, error_str);
593  }
594 }
void devicesetDeviceRunDeleteSignal(SWGDeviceState *summary)
void * create(QString type)
void devicesetDeviceRunDeleteSignalE(SWGDeviceState *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceRunDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetDeviceRunDeleteSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDeleteSignal ( SWGDeviceState summary)
signal

Referenced by devicesetDeviceRunDeleteCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceRunDeleteSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDeleteSignalE ( SWGDeviceState summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceRunDeleteCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceRunDeleteSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDeleteSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceRunDeleteCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceRunGet()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunGet ( qint32  device_set_index)

Definition at line 597 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, devicesetDeviceRunGetCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), and SWGSDRangel::stringValue().

597  {
598  QString fullPath;
599  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/device/run");
600 
601  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
602  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
603 
604 
605  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
606  SWGHttpRequestInput input(fullPath, "GET");
607 
608 
609 
610 
611 
612  foreach(QString key, this->defaultHeaders.keys()) {
613  input.headers.insert(key, this->defaultHeaders.value(key));
614  }
615 
616  connect(worker,
618  this,
620 
621  worker->execute(&input);
622 }
void on_execution_finished(SWGHttpRequestWorker *worker)
void devicesetDeviceRunGetCallback(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetDeviceRunGetCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunGetCallback ( SWGHttpRequestWorker worker)
private

Definition at line 625 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetDeviceRunGetSignal(), devicesetDeviceRunGetSignalE(), devicesetDeviceRunGetSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetDeviceRunGet().

625  {
626  QString msg;
627  QString error_str = worker->error_str;
628  QNetworkReply::NetworkError error_type = worker->error_type;
629 
630  if (worker->error_type == QNetworkReply::NoError) {
631  msg = QString("Success! %1 bytes").arg(worker->response.length());
632  }
633  else {
634  msg = "Error: " + worker->error_str;
635  }
636 
637 
638  QString json(worker->response);
639  SWGDeviceState* output = static_cast<SWGDeviceState*>(create(json, QString("SWGDeviceState")));
640  worker->deleteLater();
641 
642  if (worker->error_type == QNetworkReply::NoError) {
643  emit devicesetDeviceRunGetSignal(output);
644  } else {
645  emit devicesetDeviceRunGetSignalE(output, error_type, error_str);
646  emit devicesetDeviceRunGetSignalEFull(worker, error_type, error_str);
647  }
648 }
void devicesetDeviceRunGetSignal(SWGDeviceState *summary)
void * create(QString type)
void devicesetDeviceRunGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceRunGetSignalE(SWGDeviceState *summary, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetDeviceRunGetSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunGetSignal ( SWGDeviceState summary)
signal

Referenced by devicesetDeviceRunGetCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceRunGetSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunGetSignalE ( SWGDeviceState summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceRunGetCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceRunGetSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunGetSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceRunGetCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceRunPost()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPost ( qint32  device_set_index,
SWGDeviceSettings body 
)

Definition at line 651 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::SWGDeviceSettings::asJson(), basePath, defaultHeaders, devicesetDeviceRunPostCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), SWGSDRangel::SWGHttpRequestInput::request_body, and SWGSDRangel::stringValue().

651  {
652  QString fullPath;
653  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/device/run");
654 
655  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
656  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
657 
658 
659  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
660  SWGHttpRequestInput input(fullPath, "POST");
661 
662 
663 
664  QString output = body.asJson();
665  input.request_body.append(output);
666 
667 
668 
669  foreach(QString key, this->defaultHeaders.keys()) {
670  input.headers.insert(key, this->defaultHeaders.value(key));
671  }
672 
673  connect(worker,
675  this,
677 
678  worker->execute(&input);
679 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetDeviceRunPostCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetDeviceRunPostCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPostCallback ( SWGHttpRequestWorker worker)
private

Definition at line 682 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetDeviceRunPostSignal(), devicesetDeviceRunPostSignalE(), devicesetDeviceRunPostSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetDeviceRunPost().

682  {
683  QString msg;
684  QString error_str = worker->error_str;
685  QNetworkReply::NetworkError error_type = worker->error_type;
686 
687  if (worker->error_type == QNetworkReply::NoError) {
688  msg = QString("Success! %1 bytes").arg(worker->response.length());
689  }
690  else {
691  msg = "Error: " + worker->error_str;
692  }
693 
694 
695  QString json(worker->response);
696  SWGDeviceState* output = static_cast<SWGDeviceState*>(create(json, QString("SWGDeviceState")));
697  worker->deleteLater();
698 
699  if (worker->error_type == QNetworkReply::NoError) {
700  emit devicesetDeviceRunPostSignal(output);
701  } else {
702  emit devicesetDeviceRunPostSignalE(output, error_type, error_str);
703  emit devicesetDeviceRunPostSignalEFull(worker, error_type, error_str);
704  }
705 }
void devicesetDeviceRunPostSignalE(SWGDeviceState *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceRunPostSignal(SWGDeviceState *summary)
void * create(QString type)
void devicesetDeviceRunPostSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetDeviceRunPostSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPostSignal ( SWGDeviceState summary)
signal

Referenced by devicesetDeviceRunPostCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceRunPostSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPostSignalE ( SWGDeviceState summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceRunPostCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceRunPostSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPostSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceRunPostCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsGet()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsGet ( qint32  device_set_index)

Definition at line 708 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, devicesetDeviceSettingsGetCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), and SWGSDRangel::stringValue().

708  {
709  QString fullPath;
710  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/device/settings");
711 
712  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
713  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
714 
715 
716  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
717  SWGHttpRequestInput input(fullPath, "GET");
718 
719 
720 
721 
722 
723  foreach(QString key, this->defaultHeaders.keys()) {
724  input.headers.insert(key, this->defaultHeaders.value(key));
725  }
726 
727  connect(worker,
729  this,
731 
732  worker->execute(&input);
733 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetDeviceSettingsGetCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetDeviceSettingsGetCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsGetCallback ( SWGHttpRequestWorker worker)
private

Definition at line 736 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetDeviceSettingsGetSignal(), devicesetDeviceSettingsGetSignalE(), devicesetDeviceSettingsGetSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetDeviceSettingsGet().

736  {
737  QString msg;
738  QString error_str = worker->error_str;
739  QNetworkReply::NetworkError error_type = worker->error_type;
740 
741  if (worker->error_type == QNetworkReply::NoError) {
742  msg = QString("Success! %1 bytes").arg(worker->response.length());
743  }
744  else {
745  msg = "Error: " + worker->error_str;
746  }
747 
748 
749  QString json(worker->response);
750  SWGDeviceSettings* output = static_cast<SWGDeviceSettings*>(create(json, QString("SWGDeviceSettings")));
751  worker->deleteLater();
752 
753  if (worker->error_type == QNetworkReply::NoError) {
755  } else {
756  emit devicesetDeviceSettingsGetSignalE(output, error_type, error_str);
757  emit devicesetDeviceSettingsGetSignalEFull(worker, error_type, error_str);
758  }
759 }
void devicesetDeviceSettingsGetSignalE(SWGDeviceSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceSettingsGetSignal(SWGDeviceSettings *summary)
void * create(QString type)
void devicesetDeviceSettingsGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsGetSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsGetSignal ( SWGDeviceSettings summary)
signal

Referenced by devicesetDeviceSettingsGetCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsGetSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsGetSignalE ( SWGDeviceSettings summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceSettingsGetCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsGetSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsGetSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceSettingsGetCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsPatch()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatch ( qint32  device_set_index,
SWGDeviceSettings body 
)

Definition at line 762 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::SWGDeviceSettings::asJson(), basePath, defaultHeaders, devicesetDeviceSettingsPatchCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), SWGSDRangel::SWGHttpRequestInput::request_body, and SWGSDRangel::stringValue().

762  {
763  QString fullPath;
764  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/device/settings");
765 
766  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
767  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
768 
769 
770  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
771  SWGHttpRequestInput input(fullPath, "PATCH");
772 
773 
774 
775  QString output = body.asJson();
776  input.request_body.append(output);
777 
778 
779 
780  foreach(QString key, this->defaultHeaders.keys()) {
781  input.headers.insert(key, this->defaultHeaders.value(key));
782  }
783 
784  connect(worker,
786  this,
788 
789  worker->execute(&input);
790 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetDeviceSettingsPatchCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetDeviceSettingsPatchCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatchCallback ( SWGHttpRequestWorker worker)
private

Definition at line 793 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetDeviceSettingsPatchSignal(), devicesetDeviceSettingsPatchSignalE(), devicesetDeviceSettingsPatchSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetDeviceSettingsPatch().

793  {
794  QString msg;
795  QString error_str = worker->error_str;
796  QNetworkReply::NetworkError error_type = worker->error_type;
797 
798  if (worker->error_type == QNetworkReply::NoError) {
799  msg = QString("Success! %1 bytes").arg(worker->response.length());
800  }
801  else {
802  msg = "Error: " + worker->error_str;
803  }
804 
805 
806  QString json(worker->response);
807  SWGDeviceSettings* output = static_cast<SWGDeviceSettings*>(create(json, QString("SWGDeviceSettings")));
808  worker->deleteLater();
809 
810  if (worker->error_type == QNetworkReply::NoError) {
812  } else {
813  emit devicesetDeviceSettingsPatchSignalE(output, error_type, error_str);
814  emit devicesetDeviceSettingsPatchSignalEFull(worker, error_type, error_str);
815  }
816 }
void * create(QString type)
void devicesetDeviceSettingsPatchSignalE(SWGDeviceSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceSettingsPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceSettingsPatchSignal(SWGDeviceSettings *summary)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsPatchSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatchSignal ( SWGDeviceSettings summary)
signal

Referenced by devicesetDeviceSettingsPatchCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsPatchSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatchSignalE ( SWGDeviceSettings summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceSettingsPatchCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsPatchSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatchSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceSettingsPatchCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsPut()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPut ( qint32  device_set_index,
SWGDeviceSettings body 
)

Definition at line 819 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::SWGDeviceSettings::asJson(), basePath, defaultHeaders, devicesetDeviceSettingsPutCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), SWGSDRangel::SWGHttpRequestInput::request_body, and SWGSDRangel::stringValue().

819  {
820  QString fullPath;
821  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/device/settings");
822 
823  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
824  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
825 
826 
827  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
828  SWGHttpRequestInput input(fullPath, "PUT");
829 
830 
831 
832  QString output = body.asJson();
833  input.request_body.append(output);
834 
835 
836 
837  foreach(QString key, this->defaultHeaders.keys()) {
838  input.headers.insert(key, this->defaultHeaders.value(key));
839  }
840 
841  connect(worker,
843  this,
845 
846  worker->execute(&input);
847 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetDeviceSettingsPutCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetDeviceSettingsPutCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPutCallback ( SWGHttpRequestWorker worker)
private

Definition at line 850 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetDeviceSettingsPutSignal(), devicesetDeviceSettingsPutSignalE(), devicesetDeviceSettingsPutSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetDeviceSettingsPut().

850  {
851  QString msg;
852  QString error_str = worker->error_str;
853  QNetworkReply::NetworkError error_type = worker->error_type;
854 
855  if (worker->error_type == QNetworkReply::NoError) {
856  msg = QString("Success! %1 bytes").arg(worker->response.length());
857  }
858  else {
859  msg = "Error: " + worker->error_str;
860  }
861 
862 
863  QString json(worker->response);
864  SWGDeviceSettings* output = static_cast<SWGDeviceSettings*>(create(json, QString("SWGDeviceSettings")));
865  worker->deleteLater();
866 
867  if (worker->error_type == QNetworkReply::NoError) {
869  } else {
870  emit devicesetDeviceSettingsPutSignalE(output, error_type, error_str);
871  emit devicesetDeviceSettingsPutSignalEFull(worker, error_type, error_str);
872  }
873 }
void devicesetDeviceSettingsPutSignal(SWGDeviceSettings *summary)
void * create(QString type)
void devicesetDeviceSettingsPutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceSettingsPutSignalE(SWGDeviceSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsPutSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPutSignal ( SWGDeviceSettings summary)
signal

Referenced by devicesetDeviceSettingsPutCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsPutSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPutSignalE ( SWGDeviceSettings summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceSettingsPutCallback().

+ Here is the caller graph for this function:

◆ devicesetDeviceSettingsPutSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPutSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetDeviceSettingsPutCallback().

+ Here is the caller graph for this function:

◆ devicesetFocusPatch()

void SWGSDRangel::SWGDeviceSetApi::devicesetFocusPatch ( qint32  device_set_index)

Definition at line 876 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, devicesetFocusPatchCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), and SWGSDRangel::stringValue().

876  {
877  QString fullPath;
878  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}/focus");
879 
880  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
881  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
882 
883 
884  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
885  SWGHttpRequestInput input(fullPath, "PATCH");
886 
887 
888 
889 
890 
891  foreach(QString key, this->defaultHeaders.keys()) {
892  input.headers.insert(key, this->defaultHeaders.value(key));
893  }
894 
895  connect(worker,
897  this,
899 
900  worker->execute(&input);
901 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetFocusPatchCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetFocusPatchCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetFocusPatchCallback ( SWGHttpRequestWorker worker)
private

Definition at line 904 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetFocusPatchSignal(), devicesetFocusPatchSignalE(), devicesetFocusPatchSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetFocusPatch().

904  {
905  QString msg;
906  QString error_str = worker->error_str;
907  QNetworkReply::NetworkError error_type = worker->error_type;
908 
909  if (worker->error_type == QNetworkReply::NoError) {
910  msg = QString("Success! %1 bytes").arg(worker->response.length());
911  }
912  else {
913  msg = "Error: " + worker->error_str;
914  }
915 
916 
917  QString json(worker->response);
918  SWGSuccessResponse* output = static_cast<SWGSuccessResponse*>(create(json, QString("SWGSuccessResponse")));
919  worker->deleteLater();
920 
921  if (worker->error_type == QNetworkReply::NoError) {
922  emit devicesetFocusPatchSignal(output);
923  } else {
924  emit devicesetFocusPatchSignalE(output, error_type, error_str);
925  emit devicesetFocusPatchSignalEFull(worker, error_type, error_str);
926  }
927 }
void devicesetFocusPatchSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetFocusPatchSignal(SWGSuccessResponse *summary)
void * create(QString type)
void devicesetFocusPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetFocusPatchSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetFocusPatchSignal ( SWGSuccessResponse summary)
signal

Referenced by devicesetFocusPatchCallback().

+ Here is the caller graph for this function:

◆ devicesetFocusPatchSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetFocusPatchSignalE ( SWGSuccessResponse summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetFocusPatchCallback().

+ Here is the caller graph for this function:

◆ devicesetFocusPatchSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetFocusPatchSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetFocusPatchCallback().

+ Here is the caller graph for this function:

◆ devicesetGet()

void SWGSDRangel::SWGDeviceSetApi::devicesetGet ( qint32  device_set_index)

Definition at line 930 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, devicesetGetCallback(), SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), and SWGSDRangel::stringValue().

930  {
931  QString fullPath;
932  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset/{deviceSetIndex}");
933 
934  QString device_set_indexPathParam("{"); device_set_indexPathParam.append("deviceSetIndex").append("}");
935  fullPath.replace(device_set_indexPathParam, stringValue(device_set_index));
936 
937 
938  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
939  SWGHttpRequestInput input(fullPath, "GET");
940 
941 
942 
943 
944 
945  foreach(QString key, this->defaultHeaders.keys()) {
946  input.headers.insert(key, this->defaultHeaders.value(key));
947  }
948 
949  connect(worker,
951  this,
953 
954  worker->execute(&input);
955 }
void devicesetGetCallback(SWGHttpRequestWorker *worker)
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ devicesetGetCallback()

void SWGSDRangel::SWGDeviceSetApi::devicesetGetCallback ( SWGHttpRequestWorker worker)
private

Definition at line 958 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), devicesetGetSignal(), devicesetGetSignalE(), devicesetGetSignalEFull(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by devicesetGet().

958  {
959  QString msg;
960  QString error_str = worker->error_str;
961  QNetworkReply::NetworkError error_type = worker->error_type;
962 
963  if (worker->error_type == QNetworkReply::NoError) {
964  msg = QString("Success! %1 bytes").arg(worker->response.length());
965  }
966  else {
967  msg = "Error: " + worker->error_str;
968  }
969 
970 
971  QString json(worker->response);
972  SWGDeviceSet* output = static_cast<SWGDeviceSet*>(create(json, QString("SWGDeviceSet")));
973  worker->deleteLater();
974 
975  if (worker->error_type == QNetworkReply::NoError) {
976  emit devicesetGetSignal(output);
977  } else {
978  emit devicesetGetSignalE(output, error_type, error_str);
979  emit devicesetGetSignalEFull(worker, error_type, error_str);
980  }
981 }
void devicesetGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetGetSignal(SWGDeviceSet *summary)
void * create(QString type)
void devicesetGetSignalE(SWGDeviceSet *summary, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ devicesetGetSignal

void SWGSDRangel::SWGDeviceSetApi::devicesetGetSignal ( SWGDeviceSet summary)
signal

Referenced by devicesetGetCallback().

+ Here is the caller graph for this function:

◆ devicesetGetSignalE

void SWGSDRangel::SWGDeviceSetApi::devicesetGetSignalE ( SWGDeviceSet summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetGetCallback().

+ Here is the caller graph for this function:

◆ devicesetGetSignalEFull

void SWGSDRangel::SWGDeviceSetApi::devicesetGetSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by devicesetGetCallback().

+ Here is the caller graph for this function:

◆ instanceDeviceSetDelete()

void SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetDelete ( )

Definition at line 984 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, instanceDeviceSetDeleteCallback(), and SWGSDRangel::SWGHttpRequestWorker::on_execution_finished().

984  {
985  QString fullPath;
986  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset");
987 
988 
989 
990  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
991  SWGHttpRequestInput input(fullPath, "DELETE");
992 
993 
994 
995 
996 
997  foreach(QString key, this->defaultHeaders.keys()) {
998  input.headers.insert(key, this->defaultHeaders.value(key));
999  }
1000 
1001  connect(worker,
1003  this,
1005 
1006  worker->execute(&input);
1007 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void instanceDeviceSetDeleteCallback(SWGHttpRequestWorker *worker)
+ Here is the call graph for this function:

◆ instanceDeviceSetDeleteCallback()

void SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetDeleteCallback ( SWGHttpRequestWorker worker)
private

Definition at line 1010 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, instanceDeviceSetDeleteSignal(), instanceDeviceSetDeleteSignalE(), instanceDeviceSetDeleteSignalEFull(), and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by instanceDeviceSetDelete().

1010  {
1011  QString msg;
1012  QString error_str = worker->error_str;
1013  QNetworkReply::NetworkError error_type = worker->error_type;
1014 
1015  if (worker->error_type == QNetworkReply::NoError) {
1016  msg = QString("Success! %1 bytes").arg(worker->response.length());
1017  }
1018  else {
1019  msg = "Error: " + worker->error_str;
1020  }
1021 
1022 
1023  QString json(worker->response);
1024  SWGSuccessResponse* output = static_cast<SWGSuccessResponse*>(create(json, QString("SWGSuccessResponse")));
1025  worker->deleteLater();
1026 
1027  if (worker->error_type == QNetworkReply::NoError) {
1028  emit instanceDeviceSetDeleteSignal(output);
1029  } else {
1030  emit instanceDeviceSetDeleteSignalE(output, error_type, error_str);
1031  emit instanceDeviceSetDeleteSignalEFull(worker, error_type, error_str);
1032  }
1033 }
void instanceDeviceSetDeleteSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void * create(QString type)
void instanceDeviceSetDeleteSignal(SWGSuccessResponse *summary)
void instanceDeviceSetDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ instanceDeviceSetDeleteSignal

void SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetDeleteSignal ( SWGSuccessResponse summary)
signal

Referenced by instanceDeviceSetDeleteCallback().

+ Here is the caller graph for this function:

◆ instanceDeviceSetDeleteSignalE

void SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetDeleteSignalE ( SWGSuccessResponse summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by instanceDeviceSetDeleteCallback().

+ Here is the caller graph for this function:

◆ instanceDeviceSetDeleteSignalEFull

void SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetDeleteSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by instanceDeviceSetDeleteCallback().

+ Here is the caller graph for this function:

◆ instanceDeviceSetPost()

void SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetPost ( qint32  direction)

Definition at line 1036 of file SWGDeviceSetApi.cpp.

References basePath, defaultHeaders, SWGSDRangel::SWGHttpRequestWorker::execute(), SWGSDRangel::SWGHttpRequestInput::headers, host, instanceDeviceSetPostCallback(), SWGSDRangel::SWGHttpRequestWorker::on_execution_finished(), and SWGSDRangel::stringValue().

1036  {
1037  QString fullPath;
1038  fullPath.append(this->host).append(this->basePath).append("/sdrangel/deviceset");
1039 
1040 
1041  if (fullPath.indexOf("?") > 0)
1042  fullPath.append("&");
1043  else
1044  fullPath.append("?");
1045  fullPath.append(QUrl::toPercentEncoding("direction"))
1046  .append("=")
1047  .append(QUrl::toPercentEncoding(stringValue(direction)));
1048 
1049 
1050  SWGHttpRequestWorker *worker = new SWGHttpRequestWorker();
1051  SWGHttpRequestInput input(fullPath, "POST");
1052 
1053 
1054 
1055 
1056 
1057  foreach(QString key, this->defaultHeaders.keys()) {
1058  input.headers.insert(key, this->defaultHeaders.value(key));
1059  }
1060 
1061  connect(worker,
1063  this,
1065 
1066  worker->execute(&input);
1067 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void instanceDeviceSetPostCallback(SWGHttpRequestWorker *worker)
QString stringValue(QString *value)
Definition: SWGHelpers.cpp:578
+ Here is the call graph for this function:

◆ instanceDeviceSetPostCallback()

void SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetPostCallback ( SWGHttpRequestWorker worker)
private

Definition at line 1070 of file SWGDeviceSetApi.cpp.

References SWGSDRangel::create(), SWGSDRangel::SWGHttpRequestWorker::error_str, SWGSDRangel::SWGHttpRequestWorker::error_type, instanceDeviceSetPostSignal(), instanceDeviceSetPostSignalE(), instanceDeviceSetPostSignalEFull(), and SWGSDRangel::SWGHttpRequestWorker::response.

Referenced by instanceDeviceSetPost().

1070  {
1071  QString msg;
1072  QString error_str = worker->error_str;
1073  QNetworkReply::NetworkError error_type = worker->error_type;
1074 
1075  if (worker->error_type == QNetworkReply::NoError) {
1076  msg = QString("Success! %1 bytes").arg(worker->response.length());
1077  }
1078  else {
1079  msg = "Error: " + worker->error_str;
1080  }
1081 
1082 
1083  QString json(worker->response);
1084  SWGSuccessResponse* output = static_cast<SWGSuccessResponse*>(create(json, QString("SWGSuccessResponse")));
1085  worker->deleteLater();
1086 
1087  if (worker->error_type == QNetworkReply::NoError) {
1088  emit instanceDeviceSetPostSignal(output);
1089  } else {
1090  emit instanceDeviceSetPostSignalE(output, error_type, error_str);
1091  emit instanceDeviceSetPostSignalEFull(worker, error_type, error_str);
1092  }
1093 }
void instanceDeviceSetPostSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceDeviceSetPostSignal(SWGSuccessResponse *summary)
void * create(QString type)
void instanceDeviceSetPostSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ instanceDeviceSetPostSignal

void SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetPostSignal ( SWGSuccessResponse summary)
signal

Referenced by instanceDeviceSetPostCallback().

+ Here is the caller graph for this function:

◆ instanceDeviceSetPostSignalE

void SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetPostSignalE ( SWGSuccessResponse summary,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by instanceDeviceSetPostCallback().

+ Here is the caller graph for this function:

◆ instanceDeviceSetPostSignalEFull

void SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetPostSignalEFull ( SWGHttpRequestWorker worker,
QNetworkReply::NetworkError  error_type,
QString &  error_str 
)
signal

Referenced by instanceDeviceSetPostCallback().

+ Here is the caller graph for this function:

Member Data Documentation

◆ basePath

QString SWGSDRangel::SWGDeviceSetApi::basePath

◆ defaultHeaders

QMap<QString, QString> SWGSDRangel::SWGDeviceSetApi::defaultHeaders

◆ host

QString SWGSDRangel::SWGDeviceSetApi::host

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