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.
webapiadapterinterface.cpp
Go to the documentation of this file.
1 // Copyright (C) 2017 Edouard Griffiths, F4EXB. //
3 // //
4 // Swagger server adapter interface //
5 // //
6 // This program is free software; you can redistribute it and/or modify //
7 // it under the terms of the GNU General Public License as published by //
8 // the Free Software Foundation as version 3 of the License, or //
9 // (at your option) any later version. //
10 // //
11 // This program is distributed in the hope that it will be useful, //
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14 // GNU General Public License V3 for more details. //
15 // //
16 // You should have received a copy of the GNU General Public License //
17 // along with this program. If not, see <http://www.gnu.org/licenses/>. //
19 
20 #include "webapiadapterinterface.h"
21 
22 QString WebAPIAdapterInterface::instanceSummaryURL = "/sdrangel";
23 QString WebAPIAdapterInterface::instanceConfigURL = "/sdrangel/config";
24 QString WebAPIAdapterInterface::instanceDevicesURL = "/sdrangel/devices";
25 QString WebAPIAdapterInterface::instanceChannelsURL = "/sdrangel/channels";
26 QString WebAPIAdapterInterface::instanceLoggingURL = "/sdrangel/logging";
27 QString WebAPIAdapterInterface::instanceAudioURL = "/sdrangel/audio";
28 QString WebAPIAdapterInterface::instanceAudioInputParametersURL = "/sdrangel/audio/input/parameters";
29 QString WebAPIAdapterInterface::instanceAudioOutputParametersURL = "/sdrangel/audio/output/parameters";
30 QString WebAPIAdapterInterface::instanceAudioInputCleanupURL = "/sdrangel/audio/input/cleanup";
31 QString WebAPIAdapterInterface::instanceAudioOutputCleanupURL = "/sdrangel/audio/output/cleanup";
32 QString WebAPIAdapterInterface::instanceLocationURL = "/sdrangel/location";
33 QString WebAPIAdapterInterface::instanceAMBESerialURL = "/sdrangel/ambe/serial";
34 QString WebAPIAdapterInterface::instanceAMBEDevicesURL = "/sdrangel/ambe/devices";
35 QString WebAPIAdapterInterface::instancePresetsURL = "/sdrangel/presets";
36 QString WebAPIAdapterInterface::instancePresetURL = "/sdrangel/preset";
37 QString WebAPIAdapterInterface::instancePresetFileURL = "/sdrangel/preset/file";
38 QString WebAPIAdapterInterface::instanceDeviceSetsURL = "/sdrangel/devicesets";
39 QString WebAPIAdapterInterface::instanceDeviceSetURL = "/sdrangel/deviceset";
40 
41 std::regex WebAPIAdapterInterface::devicesetURLRe("^/sdrangel/deviceset/([0-9]{1,2})$");
42 std::regex WebAPIAdapterInterface::devicesetFocusURLRe("^/sdrangel/deviceset/([0-9]{1,2})/focus$");
43 std::regex WebAPIAdapterInterface::devicesetDeviceURLRe("^/sdrangel/deviceset/([0-9]{1,2})/device$");
44 std::regex WebAPIAdapterInterface::devicesetDeviceSettingsURLRe("^/sdrangel/deviceset/([0-9]{1,2})/device/settings$");
45 std::regex WebAPIAdapterInterface::devicesetDeviceRunURLRe("^/sdrangel/deviceset/([0-9]{1,2})/device/run");
46 std::regex WebAPIAdapterInterface::devicesetDeviceReportURLRe("^/sdrangel/deviceset/([0-9]{1,2})/device/report$");
47 std::regex WebAPIAdapterInterface::devicesetChannelsReportURLRe("^/sdrangel/deviceset/([0-9]{1,2})/channels/report$");
48 std::regex WebAPIAdapterInterface::devicesetChannelURLRe("^/sdrangel/deviceset/([0-9]{1,2})/channel$");
49 std::regex WebAPIAdapterInterface::devicesetChannelIndexURLRe("^/sdrangel/deviceset/([0-9]{1,2})/channel/([0-9]{1,2})$");
50 std::regex WebAPIAdapterInterface::devicesetChannelSettingsURLRe("^/sdrangel/deviceset/([0-9]{1,2})/channel/([0-9]{1,2})/settings$");
51 std::regex WebAPIAdapterInterface::devicesetChannelReportURLRe("^/sdrangel/deviceset/([0-9]{1,2})/channel/([0-9]{1,2})/report");
static std::regex devicesetDeviceSettingsURLRe
static std::regex devicesetDeviceReportURLRe
static QString instanceAudioOutputParametersURL
static QString instanceAudioOutputCleanupURL
static std::regex devicesetURLRe
static QString instanceAudioInputParametersURL
static QString instanceAudioInputCleanupURL
static std::regex devicesetChannelsReportURLRe
static std::regex devicesetChannelReportURLRe
static std::regex devicesetFocusURLRe
static std::regex devicesetChannelSettingsURLRe
static std::regex devicesetDeviceURLRe
static std::regex devicesetChannelURLRe
static std::regex devicesetDeviceRunURLRe
static std::regex devicesetChannelIndexURLRe