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.
SWGDeviceSetApi.h
Go to the documentation of this file.
1 
13 #ifndef _SWG_SWGDeviceSetApi_H_
14 #define _SWG_SWGDeviceSetApi_H_
15 
16 #include "SWGHttpRequest.h"
17 
18 #include "SWGChannelReport.h"
19 #include "SWGChannelSettings.h"
20 #include "SWGChannelsDetail.h"
21 #include "SWGDeviceListItem.h"
22 #include "SWGDeviceReport.h"
23 #include "SWGDeviceSet.h"
24 #include "SWGDeviceSettings.h"
25 #include "SWGDeviceState.h"
26 #include "SWGErrorResponse.h"
27 #include "SWGSuccessResponse.h"
28 
29 #include <QObject>
30 
31 namespace SWGSDRangel {
32 
33 class SWGDeviceSetApi: public QObject {
34  Q_OBJECT
35 
36 public:
38  SWGDeviceSetApi(QString host, QString basePath);
40 
41  QString host;
42  QString basePath;
43  QMap<QString, QString> defaultHeaders;
44 
45  void devicesetChannelDelete(qint32 device_set_index, qint32 channel_index);
46  void devicesetChannelPost(qint32 device_set_index, SWGChannelSettings& body);
47  void devicesetChannelReportGet(qint32 device_set_index, qint32 channel_index);
48  void devicesetChannelSettingsGet(qint32 device_set_index, qint32 channel_index);
49  void devicesetChannelSettingsPatch(qint32 device_set_index, qint32 channel_index, SWGChannelSettings& body);
50  void devicesetChannelSettingsPut(qint32 device_set_index, qint32 channel_index, SWGChannelSettings& body);
51  void devicesetChannelsReportGet(qint32 device_set_index);
52  void devicesetDevicePut(qint32 device_set_index, SWGDeviceListItem& body);
53  void devicesetDeviceReportGet(qint32 device_set_index);
54  void devicesetDeviceRunDelete(qint32 device_set_index, SWGDeviceSettings& body);
55  void devicesetDeviceRunGet(qint32 device_set_index);
56  void devicesetDeviceRunPost(qint32 device_set_index, SWGDeviceSettings& body);
57  void devicesetDeviceSettingsGet(qint32 device_set_index);
58  void devicesetDeviceSettingsPatch(qint32 device_set_index, SWGDeviceSettings& body);
59  void devicesetDeviceSettingsPut(qint32 device_set_index, SWGDeviceSettings& body);
60  void devicesetFocusPatch(qint32 device_set_index);
61  void devicesetGet(qint32 device_set_index);
63  void instanceDeviceSetPost(qint32 direction);
64 
65 private:
85 
86 signals:
103  void devicesetGetSignal(SWGDeviceSet* summary);
106 
107  void devicesetChannelDeleteSignalE(SWGChannelSettings* summary, QNetworkReply::NetworkError error_type, QString& error_str);
108  void devicesetChannelPostSignalE(SWGSuccessResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
109  void devicesetChannelReportGetSignalE(SWGChannelReport* summary, QNetworkReply::NetworkError error_type, QString& error_str);
110  void devicesetChannelSettingsGetSignalE(SWGChannelSettings* summary, QNetworkReply::NetworkError error_type, QString& error_str);
111  void devicesetChannelSettingsPatchSignalE(SWGChannelSettings* summary, QNetworkReply::NetworkError error_type, QString& error_str);
112  void devicesetChannelSettingsPutSignalE(SWGChannelSettings* summary, QNetworkReply::NetworkError error_type, QString& error_str);
113  void devicesetChannelsReportGetSignalE(SWGChannelsDetail* summary, QNetworkReply::NetworkError error_type, QString& error_str);
114  void devicesetDevicePutSignalE(SWGDeviceListItem* summary, QNetworkReply::NetworkError error_type, QString& error_str);
115  void devicesetDeviceReportGetSignalE(SWGDeviceReport* summary, QNetworkReply::NetworkError error_type, QString& error_str);
116  void devicesetDeviceRunDeleteSignalE(SWGDeviceState* summary, QNetworkReply::NetworkError error_type, QString& error_str);
117  void devicesetDeviceRunGetSignalE(SWGDeviceState* summary, QNetworkReply::NetworkError error_type, QString& error_str);
118  void devicesetDeviceRunPostSignalE(SWGDeviceState* summary, QNetworkReply::NetworkError error_type, QString& error_str);
119  void devicesetDeviceSettingsGetSignalE(SWGDeviceSettings* summary, QNetworkReply::NetworkError error_type, QString& error_str);
120  void devicesetDeviceSettingsPatchSignalE(SWGDeviceSettings* summary, QNetworkReply::NetworkError error_type, QString& error_str);
121  void devicesetDeviceSettingsPutSignalE(SWGDeviceSettings* summary, QNetworkReply::NetworkError error_type, QString& error_str);
122  void devicesetFocusPatchSignalE(SWGSuccessResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
123  void devicesetGetSignalE(SWGDeviceSet* summary, QNetworkReply::NetworkError error_type, QString& error_str);
124  void instanceDeviceSetDeleteSignalE(SWGSuccessResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
125  void instanceDeviceSetPostSignalE(SWGSuccessResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
126 
127  void devicesetChannelDeleteSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
128  void devicesetChannelPostSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
129  void devicesetChannelReportGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
130  void devicesetChannelSettingsGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
131  void devicesetChannelSettingsPatchSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
132  void devicesetChannelSettingsPutSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
133  void devicesetChannelsReportGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
134  void devicesetDevicePutSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
135  void devicesetDeviceReportGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
136  void devicesetDeviceRunDeleteSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
137  void devicesetDeviceRunGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
138  void devicesetDeviceRunPostSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
139  void devicesetDeviceSettingsGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
140  void devicesetDeviceSettingsPatchSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
141  void devicesetDeviceSettingsPutSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
142  void devicesetFocusPatchSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
143  void devicesetGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
144  void instanceDeviceSetDeleteSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
145  void instanceDeviceSetPostSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
146 
147 };
148 
149 }
150 #endif
void devicesetDeviceSettingsPutSignal(SWGDeviceSettings *summary)
void devicesetDevicePutSignal(SWGDeviceListItem *summary)
void devicesetChannelReportGetSignal(SWGChannelReport *summary)
void devicesetChannelDeleteCallback(SWGHttpRequestWorker *worker)
void instanceDeviceSetPostSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceRunGet(qint32 device_set_index)
void devicesetGetCallback(SWGHttpRequestWorker *worker)
void instanceDeviceSetPostSignal(SWGSuccessResponse *summary)
void devicesetChannelSettingsPutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceSettingsGetSignalE(SWGDeviceSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceReportGetCallback(SWGHttpRequestWorker *worker)
void devicesetDeviceRunPostSignalE(SWGDeviceState *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsPatchSignal(SWGChannelSettings *summary)
void devicesetDeviceSettingsGetSignal(SWGDeviceSettings *summary)
void devicesetFocusPatchSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceRunPost(qint32 device_set_index, SWGDeviceSettings &body)
void devicesetGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsPatchCallback(SWGHttpRequestWorker *worker)
void devicesetChannelDeleteSignalE(SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsPatchSignalE(SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceRunGetCallback(SWGHttpRequestWorker *worker)
void devicesetChannelSettingsGetSignal(SWGChannelSettings *summary)
void devicesetFocusPatchSignal(SWGSuccessResponse *summary)
void devicesetChannelSettingsGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsPutSignal(SWGChannelSettings *summary)
void devicesetDeviceReportGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsGetSignalE(SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelReportGetCallback(SWGHttpRequestWorker *worker)
QMap< QString, QString > defaultHeaders
void devicesetDeviceReportGet(qint32 device_set_index)
void devicesetDeviceSettingsGet(qint32 device_set_index)
void devicesetDevicePut(qint32 device_set_index, SWGDeviceListItem &body)
void devicesetDeviceRunPostSignal(SWGDeviceState *summary)
void devicesetChannelsReportGetSignalE(SWGChannelsDetail *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetFocusPatchCallback(SWGHttpRequestWorker *worker)
void devicesetChannelReportGet(qint32 device_set_index, qint32 channel_index)
void devicesetGet(qint32 device_set_index)
void devicesetChannelDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceRunDeleteSignal(SWGDeviceState *summary)
void devicesetChannelSettingsPut(qint32 device_set_index, qint32 channel_index, SWGChannelSettings &body)
void devicesetChannelSettingsPutSignalE(SWGChannelSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetGetSignal(SWGDeviceSet *summary)
void devicesetDeviceSettingsPutCallback(SWGHttpRequestWorker *worker)
void devicesetDevicePutCallback(SWGHttpRequestWorker *worker)
void instanceDeviceSetDeleteSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceRunGetSignal(SWGDeviceState *summary)
void devicesetGetSignalE(SWGDeviceSet *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsGetCallback(SWGHttpRequestWorker *worker)
void devicesetChannelPostSignal(SWGSuccessResponse *summary)
void devicesetDeviceSettingsPutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelsReportGet(qint32 device_set_index)
void devicesetDeviceRunPostSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceSettingsPatchSignalE(SWGDeviceSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceDeviceSetPostCallback(SWGHttpRequestWorker *worker)
void devicesetChannelDeleteSignal(SWGChannelSettings *summary)
void instanceDeviceSetPostSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceRunPostCallback(SWGHttpRequestWorker *worker)
void devicesetDeviceRunDeleteSignalE(SWGDeviceState *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDevicePutSignalE(SWGDeviceListItem *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelPostSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceReportGetSignalE(SWGDeviceReport *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceDeviceSetDeleteSignal(SWGSuccessResponse *summary)
void devicesetChannelReportGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelPost(qint32 device_set_index, SWGChannelSettings &body)
void devicesetDeviceSettingsPatchCallback(SWGHttpRequestWorker *worker)
void devicesetChannelDelete(qint32 device_set_index, qint32 channel_index)
void devicesetDeviceSettingsGetCallback(SWGHttpRequestWorker *worker)
void devicesetDeviceRunGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsPatch(qint32 device_set_index, qint32 channel_index, SWGChannelSettings &body)
void devicesetDeviceSettingsPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetFocusPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelPostSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDevicePutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelSettingsGet(qint32 device_set_index, qint32 channel_index)
void devicesetChannelsReportGetCallback(SWGHttpRequestWorker *worker)
void devicesetDeviceReportGetSignal(SWGDeviceReport *summary)
void devicesetFocusPatch(qint32 device_set_index)
void devicesetDeviceRunDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceDeviceSetPost(qint32 direction)
void devicesetDeviceRunDeleteCallback(SWGHttpRequestWorker *worker)
void devicesetChannelSettingsPutCallback(SWGHttpRequestWorker *worker)
void devicesetDeviceRunDelete(qint32 device_set_index, SWGDeviceSettings &body)
void instanceDeviceSetDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelPostCallback(SWGHttpRequestWorker *worker)
void devicesetDeviceSettingsGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceSettingsPut(qint32 device_set_index, SWGDeviceSettings &body)
void devicesetChannelReportGetSignalE(SWGChannelReport *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceDeviceSetDeleteCallback(SWGHttpRequestWorker *worker)
void devicesetDeviceSettingsPutSignalE(SWGDeviceSettings *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetChannelsReportGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceSettingsPatch(qint32 device_set_index, SWGDeviceSettings &body)
void devicesetChannelsReportGetSignal(SWGChannelsDetail *summary)
void devicesetDeviceRunGetSignalE(SWGDeviceState *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void devicesetDeviceSettingsPatchSignal(SWGDeviceSettings *summary)