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.
SWGInstanceApi.h
Go to the documentation of this file.
1 
13 #ifndef _SWG_SWGInstanceApi_H_
14 #define _SWG_SWGInstanceApi_H_
15 
16 #include "SWGHttpRequest.h"
17 
18 #include "SWGAMBEDevices.h"
19 #include "SWGAudioDevices.h"
20 #include "SWGAudioInputDevice.h"
21 #include "SWGAudioOutputDevice.h"
22 #include "SWGDVSerialDevices.h"
23 #include "SWGDeviceSetList.h"
24 #include "SWGErrorResponse.h"
29 #include "SWGLocationInformation.h"
30 #include "SWGLoggingInfo.h"
31 #include "SWGPresetExport.h"
32 #include "SWGPresetIdentifier.h"
33 #include "SWGPresetImport.h"
34 #include "SWGPresetTransfer.h"
35 #include "SWGPresets.h"
36 #include "SWGSuccessResponse.h"
37 
38 #include <QObject>
39 
40 namespace SWGSDRangel {
41 
42 class SWGInstanceApi: public QObject {
43  Q_OBJECT
44 
45 public:
47  SWGInstanceApi(QString host, QString basePath);
49 
50  QString host;
51  QString basePath;
52  QMap<QString, QString> defaultHeaders;
53 
58  void instanceAMBESerialGet();
59  void instanceAudioGet();
66  void instanceChannels(qint32 direction);
67  void instanceConfig();
68  void instanceDelete();
69  void instanceDeviceSetsGet();
70  void instanceDevices(qint32 direction);
71  void instanceLocationGet();
73  void instanceLoggingGet();
78  void instancePresetGet();
82  void instanceSummary();
83 
84 private:
114 
115 signals:
140  void instancePresetGetSignal(SWGPresets* summary);
145 
146  void instanceAMBEDevicesDeleteSignalE(SWGSuccessResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
147  void instanceAMBEDevicesGetSignalE(SWGAMBEDevices* summary, QNetworkReply::NetworkError error_type, QString& error_str);
148  void instanceAMBEDevicesPatchSignalE(SWGAMBEDevices* summary, QNetworkReply::NetworkError error_type, QString& error_str);
149  void instanceAMBEDevicesPutSignalE(SWGAMBEDevices* summary, QNetworkReply::NetworkError error_type, QString& error_str);
150  void instanceAMBESerialGetSignalE(SWGDVSerialDevices* summary, QNetworkReply::NetworkError error_type, QString& error_str);
151  void instanceAudioGetSignalE(SWGAudioDevices* summary, QNetworkReply::NetworkError error_type, QString& error_str);
152  void instanceAudioInputCleanupPatchSignalE(SWGSuccessResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
153  void instanceAudioInputDeleteSignalE(SWGAudioInputDevice* summary, QNetworkReply::NetworkError error_type, QString& error_str);
154  void instanceAudioInputPatchSignalE(SWGAudioInputDevice* summary, QNetworkReply::NetworkError error_type, QString& error_str);
155  void instanceAudioOutputCleanupPatchSignalE(SWGSuccessResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
156  void instanceAudioOutputDeleteSignalE(SWGAudioOutputDevice* summary, QNetworkReply::NetworkError error_type, QString& error_str);
157  void instanceAudioOutputPatchSignalE(SWGAudioOutputDevice* summary, QNetworkReply::NetworkError error_type, QString& error_str);
158  void instanceChannelsSignalE(SWGInstanceChannelsResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
159  void instanceConfigSignalE(SWGInstanceConfigResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
160  void instanceDeleteSignalE(SWGInstanceSummaryResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
161  void instanceDeviceSetsGetSignalE(SWGDeviceSetList* summary, QNetworkReply::NetworkError error_type, QString& error_str);
162  void instanceDevicesSignalE(SWGInstanceDevicesResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
163  void instanceLocationGetSignalE(SWGLocationInformation* summary, QNetworkReply::NetworkError error_type, QString& error_str);
164  void instanceLocationPutSignalE(SWGLocationInformation* summary, QNetworkReply::NetworkError error_type, QString& error_str);
165  void instanceLoggingGetSignalE(SWGLoggingInfo* summary, QNetworkReply::NetworkError error_type, QString& error_str);
166  void instanceLoggingPutSignalE(SWGLoggingInfo* summary, QNetworkReply::NetworkError error_type, QString& error_str);
167  void instancePresetDeleteSignalE(SWGPresetIdentifier* summary, QNetworkReply::NetworkError error_type, QString& error_str);
168  void instancePresetFilePostSignalE(SWGPresetIdentifier* summary, QNetworkReply::NetworkError error_type, QString& error_str);
169  void instancePresetFilePutSignalE(SWGPresetIdentifier* summary, QNetworkReply::NetworkError error_type, QString& error_str);
170  void instancePresetGetSignalE(SWGPresets* summary, QNetworkReply::NetworkError error_type, QString& error_str);
171  void instancePresetPatchSignalE(SWGPresetIdentifier* summary, QNetworkReply::NetworkError error_type, QString& error_str);
172  void instancePresetPostSignalE(SWGPresetIdentifier* summary, QNetworkReply::NetworkError error_type, QString& error_str);
173  void instancePresetPutSignalE(SWGPresetIdentifier* summary, QNetworkReply::NetworkError error_type, QString& error_str);
174  void instanceSummarySignalE(SWGInstanceSummaryResponse* summary, QNetworkReply::NetworkError error_type, QString& error_str);
175 
176  void instanceAMBEDevicesDeleteSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
177  void instanceAMBEDevicesGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
178  void instanceAMBEDevicesPatchSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
179  void instanceAMBEDevicesPutSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
180  void instanceAMBESerialGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
181  void instanceAudioGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
182  void instanceAudioInputCleanupPatchSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
183  void instanceAudioInputDeleteSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
184  void instanceAudioInputPatchSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
185  void instanceAudioOutputCleanupPatchSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
186  void instanceAudioOutputDeleteSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
187  void instanceAudioOutputPatchSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
188  void instanceChannelsSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
189  void instanceConfigSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
190  void instanceDeleteSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
191  void instanceDeviceSetsGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
192  void instanceDevicesSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
193  void instanceLocationGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
194  void instanceLocationPutSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
195  void instanceLoggingGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
196  void instanceLoggingPutSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
197  void instancePresetDeleteSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
198  void instancePresetFilePostSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
199  void instancePresetFilePutSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
200  void instancePresetGetSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
201  void instancePresetPatchSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
202  void instancePresetPostSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
203  void instancePresetPutSignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
204  void instanceSummarySignalEFull(SWGHttpRequestWorker* worker, QNetworkReply::NetworkError error_type, QString& error_str);
205 
206 };
207 
208 }
209 #endif
void instanceAMBEDevicesPut(SWGAMBEDevices &body)
void instanceAMBEDevicesPutCallback(SWGHttpRequestWorker *worker)
void instanceDeleteSignalE(SWGInstanceSummaryResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceLoggingGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceConfigSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetPatchSignal(SWGPresetIdentifier *summary)
void instancePresetFilePost(SWGPresetExport &body)
void instanceDeviceSetsGetSignal(SWGDeviceSetList *summary)
void instanceAudioGetCallback(SWGHttpRequestWorker *worker)
void instanceAMBEDevicesPutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAMBEDevicesPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAMBEDevicesPatchSignalE(SWGAMBEDevices *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetPutCallback(SWGHttpRequestWorker *worker)
void instanceAudioInputPatchCallback(SWGHttpRequestWorker *worker)
void instanceAudioInputDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceDevicesSignalE(SWGInstanceDevicesResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioInputPatch(SWGAudioInputDevice &body)
void instanceLocationPutSignal(SWGLocationInformation *summary)
void instanceAMBEDevicesGetSignal(SWGAMBEDevices *summary)
void instanceDeleteSignal(SWGInstanceSummaryResponse *summary)
void instancePresetGetCallback(SWGHttpRequestWorker *worker)
void instanceAudioInputCleanupPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetPutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAMBEDevicesPatchSignal(SWGAMBEDevices *summary)
void instanceLoggingPutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioInputPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceChannelsSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetFilePostSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceDeviceSetsGetCallback(SWGHttpRequestWorker *worker)
void instanceAudioInputPatchSignal(SWGAudioInputDevice *summary)
void instanceAudioOutputPatchSignalE(SWGAudioOutputDevice *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceLoggingGetSignal(SWGLoggingInfo *summary)
void instanceAMBEDevicesDeleteCallback(SWGHttpRequestWorker *worker)
void instanceSummarySignalE(SWGInstanceSummaryResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAMBEDevicesDeleteSignal(SWGSuccessResponse *summary)
void instanceAMBEDevicesDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceLoggingPut(SWGLoggingInfo &body)
void instanceDevices(qint32 direction)
void instanceAudioInputPatchSignalE(SWGAudioInputDevice *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioOutputDeleteCallback(SWGHttpRequestWorker *worker)
void instancePresetPutSignalE(SWGPresetIdentifier *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceDevicesCallback(SWGHttpRequestWorker *worker)
void instanceAudioOutputPatchSignal(SWGAudioOutputDevice *summary)
void instancePresetFilePut(SWGPresetImport &body)
void instanceAMBEDevicesPutSignal(SWGAMBEDevices *summary)
void instanceAMBESerialGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAMBEDevicesPatch(SWGAMBEDevices &body)
void instanceAudioInputDelete(SWGAudioInputDevice &body)
void instanceLocationGetSignalE(SWGLocationInformation *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetDeleteSignalE(SWGPresetIdentifier *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetPostSignal(SWGPresetIdentifier *summary)
void instancePresetPut(SWGPresetTransfer &body)
void instancePresetPatchSignalE(SWGPresetIdentifier *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceChannelsSignalE(SWGInstanceChannelsResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceLocationGetSignal(SWGLocationInformation *summary)
void instanceAudioOutputPatchCallback(SWGHttpRequestWorker *worker)
void instanceAMBEDevicesPatchCallback(SWGHttpRequestWorker *worker)
void instanceLocationPutSignalE(SWGLocationInformation *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceConfigSignalE(SWGInstanceConfigResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetPatchCallback(SWGHttpRequestWorker *worker)
void instanceChannels(qint32 direction)
void instanceAudioOutputDelete(SWGAudioOutputDevice &body)
void instanceChannelsSignal(SWGInstanceChannelsResponse *summary)
void instanceAudioGetSignal(SWGAudioDevices *summary)
void instanceLoggingGetCallback(SWGHttpRequestWorker *worker)
void instanceAMBEDevicesPutSignalE(SWGAMBEDevices *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioInputDeleteCallback(SWGHttpRequestWorker *worker)
void instanceDevicesSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetPatch(SWGPresetTransfer &body)
void instanceAudioOutputPatch(SWGAudioOutputDevice &body)
QMap< QString, QString > defaultHeaders
void instanceAudioOutputDeleteSignal(SWGAudioOutputDevice *summary)
void instanceChannelsCallback(SWGHttpRequestWorker *worker)
void instancePresetPostSignalE(SWGPresetIdentifier *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceConfigSignal(SWGInstanceConfigResponse *summary)
void instanceDevicesSignal(SWGInstanceDevicesResponse *summary)
void instanceDeviceSetsGetSignalE(SWGDeviceSetList *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetFilePutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetPost(SWGPresetTransfer &body)
void instanceAMBESerialGetSignalE(SWGDVSerialDevices *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceSummarySignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceLocationPut(SWGLocationInformation &body)
void instanceAudioOutputCleanupPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetFilePutCallback(SWGHttpRequestWorker *worker)
void instanceDeleteCallback(SWGHttpRequestWorker *worker)
void instanceLocationGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioInputCleanupPatchSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioInputDeleteSignalE(SWGAudioInputDevice *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceConfigCallback(SWGHttpRequestWorker *worker)
void instanceAudioOutputCleanupPatchSignal(SWGSuccessResponse *summary)
void instancePresetFilePostCallback(SWGHttpRequestWorker *worker)
void instanceAudioOutputCleanupPatchSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceLocationPutCallback(SWGHttpRequestWorker *worker)
void instanceAMBEDevicesGetCallback(SWGHttpRequestWorker *worker)
void instanceAudioInputCleanupPatchSignal(SWGSuccessResponse *summary)
void instancePresetGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAMBESerialGetSignal(SWGDVSerialDevices *summary)
void instanceAMBEDevicesGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetDeleteSignal(SWGPresetIdentifier *summary)
void instanceLoggingPutSignal(SWGLoggingInfo *summary)
void instanceLoggingPutCallback(SWGHttpRequestWorker *worker)
void instancePresetPostSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioGetSignalE(SWGAudioDevices *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAMBEDevicesGetSignalE(SWGAMBEDevices *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceSummaryCallback(SWGHttpRequestWorker *worker)
void instanceSummarySignal(SWGInstanceSummaryResponse *summary)
void instancePresetGetSignalE(SWGPresets *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetPutSignal(SWGPresetIdentifier *summary)
void instanceAMBESerialGetCallback(SWGHttpRequestWorker *worker)
void instanceDeviceSetsGetSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceLocationGetCallback(SWGHttpRequestWorker *worker)
void instanceLoggingPutSignalE(SWGLoggingInfo *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetDeleteCallback(SWGHttpRequestWorker *worker)
void instanceAudioOutputDeleteSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioOutputDeleteSignalE(SWGAudioOutputDevice *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetFilePostSignalE(SWGPresetIdentifier *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetFilePostSignal(SWGPresetIdentifier *summary)
void instanceLoggingGetSignalE(SWGLoggingInfo *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAMBEDevicesDeleteSignalE(SWGSuccessResponse *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioOutputPatchSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioOutputCleanupPatchCallback(SWGHttpRequestWorker *worker)
void instanceAudioInputDeleteSignal(SWGAudioInputDevice *summary)
void instancePresetDelete(SWGPresetIdentifier &body)
void instancePresetGetSignal(SWGPresets *summary)
void instancePresetFilePutSignalE(SWGPresetIdentifier *summary, QNetworkReply::NetworkError error_type, QString &error_str)
void instanceAudioInputCleanupPatchCallback(SWGHttpRequestWorker *worker)
void instancePresetFilePutSignal(SWGPresetIdentifier *summary)
void instanceLocationPutSignalEFull(SWGHttpRequestWorker *worker, QNetworkReply::NetworkError error_type, QString &error_str)
void instancePresetPostCallback(SWGHttpRequestWorker *worker)