From a72312f5c3b5213b7040d5ed1ab824061e1d8bf3 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sat, 8 Aug 2020 11:54:15 +0200 Subject: [PATCH] Removed file recording function from device plugins: REST API generated code --- swagger/sdrangel/code/html2/index.html | 272 +---------- .../code/qt5/client/SWGAirspyActions.cpp | 108 ----- .../code/qt5/client/SWGAirspyActions.h | 58 --- .../code/qt5/client/SWGAirspyHFActions.cpp | 108 ----- .../code/qt5/client/SWGAirspyHFActions.h | 58 --- .../code/qt5/client/SWGAirspyHFSettings.cpp | 25 - .../code/qt5/client/SWGAirspyHFSettings.h | 6 - .../code/qt5/client/SWGAirspySettings.cpp | 25 - .../code/qt5/client/SWGAirspySettings.h | 6 - .../qt5/client/SWGBladeRF1InputActions.cpp | 108 ----- .../code/qt5/client/SWGBladeRF1InputActions.h | 58 --- .../qt5/client/SWGBladeRF1InputSettings.cpp | 25 - .../qt5/client/SWGBladeRF1InputSettings.h | 6 - .../qt5/client/SWGBladeRF2InputActions.cpp | 108 ----- .../code/qt5/client/SWGBladeRF2InputActions.h | 58 --- .../qt5/client/SWGBladeRF2InputSettings.cpp | 25 - .../qt5/client/SWGBladeRF2InputSettings.h | 6 - .../code/qt5/client/SWGDeviceActions.cpp | 450 ------------------ .../code/qt5/client/SWGDeviceActions.h | 126 ----- .../code/qt5/client/SWGFCDProActions.cpp | 108 ----- .../code/qt5/client/SWGFCDProActions.h | 58 --- .../code/qt5/client/SWGFCDProPlusActions.cpp | 108 ----- .../code/qt5/client/SWGFCDProPlusActions.h | 58 --- .../code/qt5/client/SWGFCDProPlusSettings.cpp | 25 - .../code/qt5/client/SWGFCDProPlusSettings.h | 6 - .../code/qt5/client/SWGFCDProSettings.cpp | 25 - .../code/qt5/client/SWGFCDProSettings.h | 6 - .../code/qt5/client/SWGHackRFInputActions.cpp | 108 ----- .../code/qt5/client/SWGHackRFInputActions.h | 58 --- .../qt5/client/SWGHackRFInputSettings.cpp | 25 - .../code/qt5/client/SWGHackRFInputSettings.h | 6 - .../code/qt5/client/SWGKiwiSDRActions.cpp | 108 ----- .../code/qt5/client/SWGKiwiSDRActions.h | 58 --- .../code/qt5/client/SWGKiwiSDRSettings.cpp | 25 - .../code/qt5/client/SWGKiwiSDRSettings.h | 6 - .../qt5/client/SWGLimeSdrInputActions.cpp | 108 ----- .../code/qt5/client/SWGLimeSdrInputActions.h | 58 --- .../qt5/client/SWGLimeSdrInputSettings.cpp | 25 - .../code/qt5/client/SWGLimeSdrInputSettings.h | 6 - .../code/qt5/client/SWGLocalInputActions.cpp | 108 ----- .../code/qt5/client/SWGLocalInputActions.h | 58 --- .../code/qt5/client/SWGLocalInputSettings.cpp | 25 - .../code/qt5/client/SWGLocalInputSettings.h | 6 - .../code/qt5/client/SWGModelFactory.h | 72 --- .../code/qt5/client/SWGPerseusActions.cpp | 108 ----- .../code/qt5/client/SWGPerseusActions.h | 58 --- .../code/qt5/client/SWGPerseusSettings.cpp | 25 - .../code/qt5/client/SWGPerseusSettings.h | 6 - .../qt5/client/SWGPlutoSdrInputActions.cpp | 108 ----- .../code/qt5/client/SWGPlutoSdrInputActions.h | 58 --- .../qt5/client/SWGPlutoSdrInputSettings.cpp | 25 - .../qt5/client/SWGPlutoSdrInputSettings.h | 6 - .../code/qt5/client/SWGRemoteInputActions.cpp | 108 ----- .../code/qt5/client/SWGRemoteInputActions.h | 58 --- .../qt5/client/SWGRemoteInputSettings.cpp | 25 - .../code/qt5/client/SWGRemoteInputSettings.h | 6 - .../code/qt5/client/SWGRtlSdrActions.cpp | 108 ----- .../code/qt5/client/SWGRtlSdrActions.h | 58 --- .../code/qt5/client/SWGRtlSdrSettings.cpp | 25 - .../code/qt5/client/SWGRtlSdrSettings.h | 6 - .../code/qt5/client/SWGSDRPlayActions.cpp | 108 ----- .../code/qt5/client/SWGSDRPlayActions.h | 58 --- .../code/qt5/client/SWGSDRPlaySettings.cpp | 25 - .../code/qt5/client/SWGSDRPlaySettings.h | 6 - .../qt5/client/SWGSoapySDRInputActions.cpp | 108 ----- .../code/qt5/client/SWGSoapySDRInputActions.h | 58 --- .../qt5/client/SWGSoapySDRInputSettings.cpp | 25 - .../qt5/client/SWGSoapySDRInputSettings.h | 6 - .../code/qt5/client/SWGTestSourceActions.cpp | 108 ----- .../code/qt5/client/SWGTestSourceActions.h | 58 --- .../code/qt5/client/SWGTestSourceSettings.cpp | 25 - .../code/qt5/client/SWGTestSourceSettings.h | 6 - .../code/qt5/client/SWGXtrxInputActions.cpp | 108 ----- .../code/qt5/client/SWGXtrxInputActions.h | 58 --- .../code/qt5/client/SWGXtrxInputSettings.cpp | 25 - .../code/qt5/client/SWGXtrxInputSettings.h | 6 - 76 files changed, 1 insertion(+), 4465 deletions(-) delete mode 100644 swagger/sdrangel/code/qt5/client/SWGAirspyActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGAirspyActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGAirspyHFActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGAirspyHFActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGBladeRF1InputActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGBladeRF1InputActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGBladeRF2InputActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGBladeRF2InputActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGFCDProActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGFCDProActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGFCDProPlusActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGFCDProPlusActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGHackRFInputActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGHackRFInputActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGKiwiSDRActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGKiwiSDRActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGLimeSdrInputActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGLimeSdrInputActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGLocalInputActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGLocalInputActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGPerseusActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGPerseusActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGRemoteInputActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGRemoteInputActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGRtlSdrActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGRtlSdrActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGSDRPlayActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGSDRPlayActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGSoapySDRInputActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGSoapySDRInputActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGTestSourceActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGTestSourceActions.h delete mode 100644 swagger/sdrangel/code/qt5/client/SWGXtrxInputActions.cpp delete mode 100644 swagger/sdrangel/code/qt5/client/SWGXtrxInputActions.h diff --git a/swagger/sdrangel/code/html2/index.html b/swagger/sdrangel/code/html2/index.html index b7525ad79..65ee69137 100644 --- a/swagger/sdrangel/code/html2/index.html +++ b/swagger/sdrangel/code/html2/index.html @@ -1142,24 +1142,6 @@ margin-bottom: 20px; } }, "description" : "ATVMod" -}; - defs.AirspyActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "Airspy" -}; - defs.AirspyHFActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording" - } - }, - "description" : "AirspyHF" }; defs.AirspyHFReport = { "properties" : { @@ -1201,9 +1183,6 @@ margin-bottom: 20px; "bandIndex" : { "type" : "integer" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -1314,9 +1293,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -1637,15 +1613,6 @@ margin-bottom: 20px; } }, "description" : "BeamSteeringCWMod" -}; - defs.BladeRF1InputActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "BladeRF1" }; defs.BladeRF1InputSettings = { "properties" : { @@ -1693,9 +1660,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -1757,15 +1721,6 @@ margin-bottom: 20px; } }, "description" : "BladeRF1" -}; - defs.BladeRF2InputActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "BladeRF2" }; defs.BladeRF2InputReport = { "properties" : { @@ -1837,9 +1792,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -3169,62 +3121,8 @@ margin-bottom: 20px; "type" : "integer", "description" : "Optional for reverse API. This is the device set index from where the message comes from." }, - "airspyActions" : { - "$ref" : "#/definitions/AirspyActions" - }, - "airspyHFActions" : { - "$ref" : "#/definitions/AirspyHFActions" - }, - "bladeRF1InputActions" : { - "$ref" : "#/definitions/BladeRF1InputActions" - }, - "bladeRF2InputActions" : { - "$ref" : "#/definitions/BladeRF2InputActions" - }, - "fcdProActions" : { - "$ref" : "#/definitions/FCDProActions" - }, - "fcdProPlusActions" : { - "$ref" : "#/definitions/FCDProPlusActions" - }, - "hackRFInputActions" : { - "$ref" : "#/definitions/HackRFInputActions" - }, - "kiwiSDRActions" : { - "$ref" : "#/definitions/KiwiSDRActions" - }, - "limeSdrInputActions" : { - "$ref" : "#/definitions/LimeSdrInputActions" - }, - "localInputActions" : { - "$ref" : "#/definitions/LocalInputActions" - }, - "perseusActions" : { - "$ref" : "#/definitions/PerseusActions" - }, - "plutoSdrInputActions" : { - "$ref" : "#/definitions/PlutoSdrInputActions" - }, - "remoteInputActions" : { - "$ref" : "#/definitions/RemoteInputActions" - }, - "rtlSdrActions" : { - "$ref" : "#/definitions/RtlSdrActions" - }, - "sdrPlayActions" : { - "$ref" : "#/definitions/SDRPlayActions" - }, "sigMFFileInputActions" : { "$ref" : "#/definitions/SigMFFileInputActions" - }, - "soapySDRInputActions" : { - "$ref" : "#/definitions/SoapySDRInputActions" - }, - "testSourceActions" : { - "$ref" : "#/definitions/TestSourceActions" - }, - "xtrxInputActions" : { - "$ref" : "#/definitions/XtrxInputActions" } }, "description" : "Base device actions. Only the device actions corresponding to the device specified in the deviceHwType field is or should be present." @@ -3552,24 +3450,6 @@ margin-bottom: 20px; "example" : "KO" } } -}; - defs.FCDProActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "FCDPro" -}; - defs.FCDProPlusActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "FCDProPlus" }; defs.FCDProPlusSettings = { "properties" : { @@ -3628,9 +3508,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -3727,9 +3604,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -4454,15 +4328,6 @@ margin-bottom: 20px; } }, "description" : "A gain expressed in centi-Bels (tenths of dB)" -}; - defs.HackRFInputActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "HackRF" }; defs.HackRFInputSettings = { "properties" : { @@ -4504,9 +4369,6 @@ margin-bottom: 20px; "iqCorrection" : { "type" : "integer" }, - "fileRecordName" : { - "type" : "string" - }, "transverterMode" : { "type" : "integer" }, @@ -4729,15 +4591,6 @@ margin-bottom: 20px; } }, "description" : "Interferometer" -}; - defs.KiwiSDRActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "KiwiSDR" }; defs.KiwiSDRReport = { "properties" : { @@ -4768,9 +4621,6 @@ margin-bottom: 20px; "type" : "string", "description" : "Distant KiwiSDR instance URL or IPv4 address with port" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -4897,15 +4747,6 @@ margin-bottom: 20px; } }, "description" : "LimeRFE" -}; - defs.LimeSdrInputActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "LimeSDR" }; defs.LimeSdrInputReport = { "properties" : { @@ -5027,9 +4868,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "gpioDir" : { "type" : "integer", "format" : "int8" @@ -5474,15 +5312,6 @@ margin-bottom: 20px; } }, "description" : "LimeSDR" -}; - defs.LocalInputActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording" - } - }, - "description" : "LocalInput" }; defs.LocalInputReport = { "properties" : { @@ -5504,9 +5333,6 @@ margin-bottom: 20px; "iqCorrection" : { "type" : "integer" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -5887,15 +5713,6 @@ margin-bottom: 20px; } }, "description" : "Enumeration with name for values" -}; - defs.PerseusActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording" - } - }, - "description" : "Perseus" }; defs.PerseusReport = { "properties" : { @@ -5946,9 +5763,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "attenuator" : { "type" : "integer", "description" : "Attenuator setting in Bels (0, 10, 20 30 dB)" @@ -5968,15 +5782,6 @@ margin-bottom: 20px; } }, "description" : "Perseus" -}; - defs.PlutoSdrInputActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "PlutoSDR" }; defs.PlutoSdrInputReport = { "properties" : { @@ -6071,9 +5876,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -6478,15 +6280,6 @@ margin-bottom: 20px; } }, "description" : "An arbitrary range of floating point values" -}; - defs.RemoteInputActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording" - } - }, - "description" : "RemoteInput" }; defs.RemoteInputReport = { "properties" : { @@ -6536,9 +6329,6 @@ margin-bottom: 20px; "iqCorrection" : { "type" : "integer" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -6768,15 +6558,6 @@ margin-bottom: 20px; } }, "description" : "Remote channel source settings" -}; - defs.RtlSdrActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "RTLSDR" }; defs.RtlSdrReport = { "properties" : { @@ -6846,9 +6627,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "Bias tee\n * 0 - inactive\n * 1 - active\n" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -6864,15 +6642,6 @@ margin-bottom: 20px; } }, "description" : "RTLSDR" -}; - defs.SDRPlayActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording" - } - }, - "description" : "SDRplay1" }; defs.SDRPlayReport = { "properties" : { @@ -6956,9 +6725,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -7511,15 +7277,6 @@ margin-bottom: 20px; } }, "description" : "A named gain setting specified by its range" -}; - defs.SoapySDRInputActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording" - } - }, - "description" : "SoapySDR" }; defs.SoapySDRInputSettings = { "properties" : { @@ -7559,9 +7316,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "antenna" : { "type" : "string" }, @@ -7941,15 +7695,6 @@ margin-bottom: 20px; } }, "description" : "TestMiStreamSettings" -}; - defs.TestSourceActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording" - } - }, - "description" : "TestSource" }; defs.TestSourceSettings = { "properties" : { @@ -8006,9 +7751,6 @@ margin-bottom: 20px; "type" : "number", "format" : "float" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -8583,15 +8325,6 @@ margin-bottom: 20px; } }, "description" : "WFMMod" -}; - defs.XtrxInputActions = { - "properties" : { - "record" : { - "type" : "integer", - "description" : "Record IQ stream action\n * 0 - stop recording\n * 1 - start recording\n" - } - }, - "description" : "XTRX" }; defs.XtrxInputReport = { "properties" : { @@ -8691,9 +8424,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "IQ samples order\n * 0 - Q then I (swapped)\n * 1 - I then Q (straight)\n" }, - "fileRecordName" : { - "type" : "string" - }, "useReverseAPI" : { "type" : "integer", "description" : "Synchronize with reverse API (1 for yes, 0 for no)" @@ -37725,7 +37455,7 @@ except ApiException as e:
- Generated 2020-08-06T13:31:59.120+02:00 + Generated 2020-08-08T10:04:58.845+02:00
diff --git a/swagger/sdrangel/code/qt5/client/SWGAirspyActions.cpp b/swagger/sdrangel/code/qt5/client/SWGAirspyActions.cpp deleted file mode 100644 index 287a9f46c..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGAirspyActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGAirspyActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGAirspyActions::SWGAirspyActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGAirspyActions::SWGAirspyActions() { - record = 0; - m_record_isSet = false; -} - -SWGAirspyActions::~SWGAirspyActions() { - this->cleanup(); -} - -void -SWGAirspyActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGAirspyActions::cleanup() { - -} - -SWGAirspyActions* -SWGAirspyActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGAirspyActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGAirspyActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGAirspyActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGAirspyActions::getRecord() { - return record; -} -void -SWGAirspyActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGAirspyActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGAirspyActions.h b/swagger/sdrangel/code/qt5/client/SWGAirspyActions.h deleted file mode 100644 index 6bcdb909d..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGAirspyActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGAirspyActions.h - * - * Airspy - */ - -#ifndef SWGAirspyActions_H_ -#define SWGAirspyActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGAirspyActions: public SWGObject { -public: - SWGAirspyActions(); - SWGAirspyActions(QString* json); - virtual ~SWGAirspyActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGAirspyActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGAirspyActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGAirspyHFActions.cpp b/swagger/sdrangel/code/qt5/client/SWGAirspyHFActions.cpp deleted file mode 100644 index d02e4fde6..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGAirspyHFActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGAirspyHFActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGAirspyHFActions::SWGAirspyHFActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGAirspyHFActions::SWGAirspyHFActions() { - record = 0; - m_record_isSet = false; -} - -SWGAirspyHFActions::~SWGAirspyHFActions() { - this->cleanup(); -} - -void -SWGAirspyHFActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGAirspyHFActions::cleanup() { - -} - -SWGAirspyHFActions* -SWGAirspyHFActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGAirspyHFActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGAirspyHFActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGAirspyHFActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGAirspyHFActions::getRecord() { - return record; -} -void -SWGAirspyHFActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGAirspyHFActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGAirspyHFActions.h b/swagger/sdrangel/code/qt5/client/SWGAirspyHFActions.h deleted file mode 100644 index 6b6642c3f..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGAirspyHFActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGAirspyHFActions.h - * - * AirspyHF - */ - -#ifndef SWGAirspyHFActions_H_ -#define SWGAirspyHFActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGAirspyHFActions: public SWGObject { -public: - SWGAirspyHFActions(); - SWGAirspyHFActions(QString* json); - virtual ~SWGAirspyHFActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGAirspyHFActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGAirspyHFActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGAirspyHFSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGAirspyHFSettings.cpp index c3c40cb71..e7e9ec08a 100644 --- a/swagger/sdrangel/code/qt5/client/SWGAirspyHFSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGAirspyHFSettings.cpp @@ -44,8 +44,6 @@ SWGAirspyHFSettings::SWGAirspyHFSettings() { m_iq_order_isSet = false; band_index = 0; m_band_index_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -92,8 +90,6 @@ SWGAirspyHFSettings::init() { m_iq_order_isSet = false; band_index = 0; m_band_index_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -128,9 +124,6 @@ SWGAirspyHFSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -173,8 +166,6 @@ SWGAirspyHFSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&band_index, pJson["bandIndex"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -237,9 +228,6 @@ SWGAirspyHFSettings::asJsonObject() { if(m_band_index_isSet){ obj->insert("bandIndex", QJsonValue(band_index)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -357,16 +345,6 @@ SWGAirspyHFSettings::setBandIndex(qint32 band_index) { this->m_band_index_isSet = true; } -QString* -SWGAirspyHFSettings::getFileRecordName() { - return file_record_name; -} -void -SWGAirspyHFSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGAirspyHFSettings::getUseReverseApi() { return use_reverse_api; @@ -506,9 +484,6 @@ SWGAirspyHFSettings::isSet(){ if(m_band_index_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGAirspyHFSettings.h b/swagger/sdrangel/code/qt5/client/SWGAirspyHFSettings.h index 1b96a8d45..0cba3e89d 100644 --- a/swagger/sdrangel/code/qt5/client/SWGAirspyHFSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGAirspyHFSettings.h @@ -66,9 +66,6 @@ public: qint32 getBandIndex(); void setBandIndex(qint32 band_index); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -130,9 +127,6 @@ private: qint32 band_index; bool m_band_index_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGAirspySettings.cpp b/swagger/sdrangel/code/qt5/client/SWGAirspySettings.cpp index daa7b2fc5..6f8cffb74 100644 --- a/swagger/sdrangel/code/qt5/client/SWGAirspySettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGAirspySettings.cpp @@ -60,8 +60,6 @@ SWGAirspySettings::SWGAirspySettings() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -110,8 +108,6 @@ SWGAirspySettings::init() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -140,9 +136,6 @@ SWGAirspySettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -194,8 +187,6 @@ SWGAirspySettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -268,9 +259,6 @@ SWGAirspySettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -447,16 +435,6 @@ SWGAirspySettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGAirspySettings::getFileRecordName() { - return file_record_name; -} -void -SWGAirspySettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGAirspySettings::getUseReverseApi() { return use_reverse_api; @@ -550,9 +528,6 @@ SWGAirspySettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGAirspySettings.h b/swagger/sdrangel/code/qt5/client/SWGAirspySettings.h index 9267ce28f..8c310fea1 100644 --- a/swagger/sdrangel/code/qt5/client/SWGAirspySettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGAirspySettings.h @@ -90,9 +90,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -157,9 +154,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputActions.cpp b/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputActions.cpp deleted file mode 100644 index dc4dd1cff..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGBladeRF1InputActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGBladeRF1InputActions::SWGBladeRF1InputActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGBladeRF1InputActions::SWGBladeRF1InputActions() { - record = 0; - m_record_isSet = false; -} - -SWGBladeRF1InputActions::~SWGBladeRF1InputActions() { - this->cleanup(); -} - -void -SWGBladeRF1InputActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGBladeRF1InputActions::cleanup() { - -} - -SWGBladeRF1InputActions* -SWGBladeRF1InputActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGBladeRF1InputActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGBladeRF1InputActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGBladeRF1InputActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGBladeRF1InputActions::getRecord() { - return record; -} -void -SWGBladeRF1InputActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGBladeRF1InputActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputActions.h b/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputActions.h deleted file mode 100644 index e8ab68bb7..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGBladeRF1InputActions.h - * - * BladeRF1 - */ - -#ifndef SWGBladeRF1InputActions_H_ -#define SWGBladeRF1InputActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGBladeRF1InputActions: public SWGObject { -public: - SWGBladeRF1InputActions(); - SWGBladeRF1InputActions(QString* json); - virtual ~SWGBladeRF1InputActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGBladeRF1InputActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGBladeRF1InputActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputSettings.cpp index 8fe44e2b5..6de951d08 100644 --- a/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputSettings.cpp @@ -56,8 +56,6 @@ SWGBladeRF1InputSettings::SWGBladeRF1InputSettings() { m_iq_correction_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -102,8 +100,6 @@ SWGBladeRF1InputSettings::init() { m_iq_correction_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -130,9 +126,6 @@ SWGBladeRF1InputSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -180,8 +173,6 @@ SWGBladeRF1InputSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -248,9 +239,6 @@ SWGBladeRF1InputSettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -407,16 +395,6 @@ SWGBladeRF1InputSettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGBladeRF1InputSettings::getFileRecordName() { - return file_record_name; -} -void -SWGBladeRF1InputSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGBladeRF1InputSettings::getUseReverseApi() { return use_reverse_api; @@ -504,9 +482,6 @@ SWGBladeRF1InputSettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputSettings.h b/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputSettings.h index 397d69086..9ac407847 100644 --- a/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGBladeRF1InputSettings.h @@ -84,9 +84,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -145,9 +142,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputActions.cpp b/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputActions.cpp deleted file mode 100644 index f9b69fab6..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGBladeRF2InputActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGBladeRF2InputActions::SWGBladeRF2InputActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGBladeRF2InputActions::SWGBladeRF2InputActions() { - record = 0; - m_record_isSet = false; -} - -SWGBladeRF2InputActions::~SWGBladeRF2InputActions() { - this->cleanup(); -} - -void -SWGBladeRF2InputActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGBladeRF2InputActions::cleanup() { - -} - -SWGBladeRF2InputActions* -SWGBladeRF2InputActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGBladeRF2InputActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGBladeRF2InputActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGBladeRF2InputActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGBladeRF2InputActions::getRecord() { - return record; -} -void -SWGBladeRF2InputActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGBladeRF2InputActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputActions.h b/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputActions.h deleted file mode 100644 index 0ba33f337..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGBladeRF2InputActions.h - * - * BladeRF2 - */ - -#ifndef SWGBladeRF2InputActions_H_ -#define SWGBladeRF2InputActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGBladeRF2InputActions: public SWGObject { -public: - SWGBladeRF2InputActions(); - SWGBladeRF2InputActions(QString* json); - virtual ~SWGBladeRF2InputActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGBladeRF2InputActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGBladeRF2InputActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputSettings.cpp index 5e8e9be2a..744287e84 100644 --- a/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputSettings.cpp @@ -56,8 +56,6 @@ SWGBladeRF2InputSettings::SWGBladeRF2InputSettings() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -102,8 +100,6 @@ SWGBladeRF2InputSettings::init() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -130,9 +126,6 @@ SWGBladeRF2InputSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -180,8 +173,6 @@ SWGBladeRF2InputSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -248,9 +239,6 @@ SWGBladeRF2InputSettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -407,16 +395,6 @@ SWGBladeRF2InputSettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGBladeRF2InputSettings::getFileRecordName() { - return file_record_name; -} -void -SWGBladeRF2InputSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGBladeRF2InputSettings::getUseReverseApi() { return use_reverse_api; @@ -504,9 +482,6 @@ SWGBladeRF2InputSettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputSettings.h b/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputSettings.h index a926ae572..48447de27 100644 --- a/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGBladeRF2InputSettings.h @@ -84,9 +84,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -145,9 +142,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGDeviceActions.cpp b/swagger/sdrangel/code/qt5/client/SWGDeviceActions.cpp index b0b3deda7..70d8e3759 100644 --- a/swagger/sdrangel/code/qt5/client/SWGDeviceActions.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGDeviceActions.cpp @@ -34,44 +34,8 @@ SWGDeviceActions::SWGDeviceActions() { m_direction_isSet = false; originator_index = 0; m_originator_index_isSet = false; - airspy_actions = nullptr; - m_airspy_actions_isSet = false; - airspy_hf_actions = nullptr; - m_airspy_hf_actions_isSet = false; - blade_rf1_input_actions = nullptr; - m_blade_rf1_input_actions_isSet = false; - blade_rf2_input_actions = nullptr; - m_blade_rf2_input_actions_isSet = false; - fcd_pro_actions = nullptr; - m_fcd_pro_actions_isSet = false; - fcd_pro_plus_actions = nullptr; - m_fcd_pro_plus_actions_isSet = false; - hack_rf_input_actions = nullptr; - m_hack_rf_input_actions_isSet = false; - kiwi_sdr_actions = nullptr; - m_kiwi_sdr_actions_isSet = false; - lime_sdr_input_actions = nullptr; - m_lime_sdr_input_actions_isSet = false; - local_input_actions = nullptr; - m_local_input_actions_isSet = false; - perseus_actions = nullptr; - m_perseus_actions_isSet = false; - pluto_sdr_input_actions = nullptr; - m_pluto_sdr_input_actions_isSet = false; - remote_input_actions = nullptr; - m_remote_input_actions_isSet = false; - rtl_sdr_actions = nullptr; - m_rtl_sdr_actions_isSet = false; - sdr_play_actions = nullptr; - m_sdr_play_actions_isSet = false; sig_mf_file_input_actions = nullptr; m_sig_mf_file_input_actions_isSet = false; - soapy_sdr_input_actions = nullptr; - m_soapy_sdr_input_actions_isSet = false; - test_source_actions = nullptr; - m_test_source_actions_isSet = false; - xtrx_input_actions = nullptr; - m_xtrx_input_actions_isSet = false; } SWGDeviceActions::~SWGDeviceActions() { @@ -86,44 +50,8 @@ SWGDeviceActions::init() { m_direction_isSet = false; originator_index = 0; m_originator_index_isSet = false; - airspy_actions = new SWGAirspyActions(); - m_airspy_actions_isSet = false; - airspy_hf_actions = new SWGAirspyHFActions(); - m_airspy_hf_actions_isSet = false; - blade_rf1_input_actions = new SWGBladeRF1InputActions(); - m_blade_rf1_input_actions_isSet = false; - blade_rf2_input_actions = new SWGBladeRF2InputActions(); - m_blade_rf2_input_actions_isSet = false; - fcd_pro_actions = new SWGFCDProActions(); - m_fcd_pro_actions_isSet = false; - fcd_pro_plus_actions = new SWGFCDProPlusActions(); - m_fcd_pro_plus_actions_isSet = false; - hack_rf_input_actions = new SWGHackRFInputActions(); - m_hack_rf_input_actions_isSet = false; - kiwi_sdr_actions = new SWGKiwiSDRActions(); - m_kiwi_sdr_actions_isSet = false; - lime_sdr_input_actions = new SWGLimeSdrInputActions(); - m_lime_sdr_input_actions_isSet = false; - local_input_actions = new SWGLocalInputActions(); - m_local_input_actions_isSet = false; - perseus_actions = new SWGPerseusActions(); - m_perseus_actions_isSet = false; - pluto_sdr_input_actions = new SWGPlutoSdrInputActions(); - m_pluto_sdr_input_actions_isSet = false; - remote_input_actions = new SWGRemoteInputActions(); - m_remote_input_actions_isSet = false; - rtl_sdr_actions = new SWGRtlSdrActions(); - m_rtl_sdr_actions_isSet = false; - sdr_play_actions = new SWGSDRPlayActions(); - m_sdr_play_actions_isSet = false; sig_mf_file_input_actions = new SWGSigMFFileInputActions(); m_sig_mf_file_input_actions_isSet = false; - soapy_sdr_input_actions = new SWGSoapySDRInputActions(); - m_soapy_sdr_input_actions_isSet = false; - test_source_actions = new SWGTestSourceActions(); - m_test_source_actions_isSet = false; - xtrx_input_actions = new SWGXtrxInputActions(); - m_xtrx_input_actions_isSet = false; } void @@ -133,63 +61,9 @@ SWGDeviceActions::cleanup() { } - if(airspy_actions != nullptr) { - delete airspy_actions; - } - if(airspy_hf_actions != nullptr) { - delete airspy_hf_actions; - } - if(blade_rf1_input_actions != nullptr) { - delete blade_rf1_input_actions; - } - if(blade_rf2_input_actions != nullptr) { - delete blade_rf2_input_actions; - } - if(fcd_pro_actions != nullptr) { - delete fcd_pro_actions; - } - if(fcd_pro_plus_actions != nullptr) { - delete fcd_pro_plus_actions; - } - if(hack_rf_input_actions != nullptr) { - delete hack_rf_input_actions; - } - if(kiwi_sdr_actions != nullptr) { - delete kiwi_sdr_actions; - } - if(lime_sdr_input_actions != nullptr) { - delete lime_sdr_input_actions; - } - if(local_input_actions != nullptr) { - delete local_input_actions; - } - if(perseus_actions != nullptr) { - delete perseus_actions; - } - if(pluto_sdr_input_actions != nullptr) { - delete pluto_sdr_input_actions; - } - if(remote_input_actions != nullptr) { - delete remote_input_actions; - } - if(rtl_sdr_actions != nullptr) { - delete rtl_sdr_actions; - } - if(sdr_play_actions != nullptr) { - delete sdr_play_actions; - } if(sig_mf_file_input_actions != nullptr) { delete sig_mf_file_input_actions; } - if(soapy_sdr_input_actions != nullptr) { - delete soapy_sdr_input_actions; - } - if(test_source_actions != nullptr) { - delete test_source_actions; - } - if(xtrx_input_actions != nullptr) { - delete xtrx_input_actions; - } } SWGDeviceActions* @@ -209,44 +83,8 @@ SWGDeviceActions::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&originator_index, pJson["originatorIndex"], "qint32", ""); - ::SWGSDRangel::setValue(&airspy_actions, pJson["airspyActions"], "SWGAirspyActions", "SWGAirspyActions"); - - ::SWGSDRangel::setValue(&airspy_hf_actions, pJson["airspyHFActions"], "SWGAirspyHFActions", "SWGAirspyHFActions"); - - ::SWGSDRangel::setValue(&blade_rf1_input_actions, pJson["bladeRF1InputActions"], "SWGBladeRF1InputActions", "SWGBladeRF1InputActions"); - - ::SWGSDRangel::setValue(&blade_rf2_input_actions, pJson["bladeRF2InputActions"], "SWGBladeRF2InputActions", "SWGBladeRF2InputActions"); - - ::SWGSDRangel::setValue(&fcd_pro_actions, pJson["fcdProActions"], "SWGFCDProActions", "SWGFCDProActions"); - - ::SWGSDRangel::setValue(&fcd_pro_plus_actions, pJson["fcdProPlusActions"], "SWGFCDProPlusActions", "SWGFCDProPlusActions"); - - ::SWGSDRangel::setValue(&hack_rf_input_actions, pJson["hackRFInputActions"], "SWGHackRFInputActions", "SWGHackRFInputActions"); - - ::SWGSDRangel::setValue(&kiwi_sdr_actions, pJson["kiwiSDRActions"], "SWGKiwiSDRActions", "SWGKiwiSDRActions"); - - ::SWGSDRangel::setValue(&lime_sdr_input_actions, pJson["limeSdrInputActions"], "SWGLimeSdrInputActions", "SWGLimeSdrInputActions"); - - ::SWGSDRangel::setValue(&local_input_actions, pJson["localInputActions"], "SWGLocalInputActions", "SWGLocalInputActions"); - - ::SWGSDRangel::setValue(&perseus_actions, pJson["perseusActions"], "SWGPerseusActions", "SWGPerseusActions"); - - ::SWGSDRangel::setValue(&pluto_sdr_input_actions, pJson["plutoSdrInputActions"], "SWGPlutoSdrInputActions", "SWGPlutoSdrInputActions"); - - ::SWGSDRangel::setValue(&remote_input_actions, pJson["remoteInputActions"], "SWGRemoteInputActions", "SWGRemoteInputActions"); - - ::SWGSDRangel::setValue(&rtl_sdr_actions, pJson["rtlSdrActions"], "SWGRtlSdrActions", "SWGRtlSdrActions"); - - ::SWGSDRangel::setValue(&sdr_play_actions, pJson["sdrPlayActions"], "SWGSDRPlayActions", "SWGSDRPlayActions"); - ::SWGSDRangel::setValue(&sig_mf_file_input_actions, pJson["sigMFFileInputActions"], "SWGSigMFFileInputActions", "SWGSigMFFileInputActions"); - ::SWGSDRangel::setValue(&soapy_sdr_input_actions, pJson["soapySDRInputActions"], "SWGSoapySDRInputActions", "SWGSoapySDRInputActions"); - - ::SWGSDRangel::setValue(&test_source_actions, pJson["testSourceActions"], "SWGTestSourceActions", "SWGTestSourceActions"); - - ::SWGSDRangel::setValue(&xtrx_input_actions, pJson["xtrxInputActions"], "SWGXtrxInputActions", "SWGXtrxInputActions"); - } QString @@ -272,63 +110,9 @@ SWGDeviceActions::asJsonObject() { if(m_originator_index_isSet){ obj->insert("originatorIndex", QJsonValue(originator_index)); } - if((airspy_actions != nullptr) && (airspy_actions->isSet())){ - toJsonValue(QString("airspyActions"), airspy_actions, obj, QString("SWGAirspyActions")); - } - if((airspy_hf_actions != nullptr) && (airspy_hf_actions->isSet())){ - toJsonValue(QString("airspyHFActions"), airspy_hf_actions, obj, QString("SWGAirspyHFActions")); - } - if((blade_rf1_input_actions != nullptr) && (blade_rf1_input_actions->isSet())){ - toJsonValue(QString("bladeRF1InputActions"), blade_rf1_input_actions, obj, QString("SWGBladeRF1InputActions")); - } - if((blade_rf2_input_actions != nullptr) && (blade_rf2_input_actions->isSet())){ - toJsonValue(QString("bladeRF2InputActions"), blade_rf2_input_actions, obj, QString("SWGBladeRF2InputActions")); - } - if((fcd_pro_actions != nullptr) && (fcd_pro_actions->isSet())){ - toJsonValue(QString("fcdProActions"), fcd_pro_actions, obj, QString("SWGFCDProActions")); - } - if((fcd_pro_plus_actions != nullptr) && (fcd_pro_plus_actions->isSet())){ - toJsonValue(QString("fcdProPlusActions"), fcd_pro_plus_actions, obj, QString("SWGFCDProPlusActions")); - } - if((hack_rf_input_actions != nullptr) && (hack_rf_input_actions->isSet())){ - toJsonValue(QString("hackRFInputActions"), hack_rf_input_actions, obj, QString("SWGHackRFInputActions")); - } - if((kiwi_sdr_actions != nullptr) && (kiwi_sdr_actions->isSet())){ - toJsonValue(QString("kiwiSDRActions"), kiwi_sdr_actions, obj, QString("SWGKiwiSDRActions")); - } - if((lime_sdr_input_actions != nullptr) && (lime_sdr_input_actions->isSet())){ - toJsonValue(QString("limeSdrInputActions"), lime_sdr_input_actions, obj, QString("SWGLimeSdrInputActions")); - } - if((local_input_actions != nullptr) && (local_input_actions->isSet())){ - toJsonValue(QString("localInputActions"), local_input_actions, obj, QString("SWGLocalInputActions")); - } - if((perseus_actions != nullptr) && (perseus_actions->isSet())){ - toJsonValue(QString("perseusActions"), perseus_actions, obj, QString("SWGPerseusActions")); - } - if((pluto_sdr_input_actions != nullptr) && (pluto_sdr_input_actions->isSet())){ - toJsonValue(QString("plutoSdrInputActions"), pluto_sdr_input_actions, obj, QString("SWGPlutoSdrInputActions")); - } - if((remote_input_actions != nullptr) && (remote_input_actions->isSet())){ - toJsonValue(QString("remoteInputActions"), remote_input_actions, obj, QString("SWGRemoteInputActions")); - } - if((rtl_sdr_actions != nullptr) && (rtl_sdr_actions->isSet())){ - toJsonValue(QString("rtlSdrActions"), rtl_sdr_actions, obj, QString("SWGRtlSdrActions")); - } - if((sdr_play_actions != nullptr) && (sdr_play_actions->isSet())){ - toJsonValue(QString("sdrPlayActions"), sdr_play_actions, obj, QString("SWGSDRPlayActions")); - } if((sig_mf_file_input_actions != nullptr) && (sig_mf_file_input_actions->isSet())){ toJsonValue(QString("sigMFFileInputActions"), sig_mf_file_input_actions, obj, QString("SWGSigMFFileInputActions")); } - if((soapy_sdr_input_actions != nullptr) && (soapy_sdr_input_actions->isSet())){ - toJsonValue(QString("soapySDRInputActions"), soapy_sdr_input_actions, obj, QString("SWGSoapySDRInputActions")); - } - if((test_source_actions != nullptr) && (test_source_actions->isSet())){ - toJsonValue(QString("testSourceActions"), test_source_actions, obj, QString("SWGTestSourceActions")); - } - if((xtrx_input_actions != nullptr) && (xtrx_input_actions->isSet())){ - toJsonValue(QString("xtrxInputActions"), xtrx_input_actions, obj, QString("SWGXtrxInputActions")); - } return obj; } @@ -363,156 +147,6 @@ SWGDeviceActions::setOriginatorIndex(qint32 originator_index) { this->m_originator_index_isSet = true; } -SWGAirspyActions* -SWGDeviceActions::getAirspyActions() { - return airspy_actions; -} -void -SWGDeviceActions::setAirspyActions(SWGAirspyActions* airspy_actions) { - this->airspy_actions = airspy_actions; - this->m_airspy_actions_isSet = true; -} - -SWGAirspyHFActions* -SWGDeviceActions::getAirspyHfActions() { - return airspy_hf_actions; -} -void -SWGDeviceActions::setAirspyHfActions(SWGAirspyHFActions* airspy_hf_actions) { - this->airspy_hf_actions = airspy_hf_actions; - this->m_airspy_hf_actions_isSet = true; -} - -SWGBladeRF1InputActions* -SWGDeviceActions::getBladeRf1InputActions() { - return blade_rf1_input_actions; -} -void -SWGDeviceActions::setBladeRf1InputActions(SWGBladeRF1InputActions* blade_rf1_input_actions) { - this->blade_rf1_input_actions = blade_rf1_input_actions; - this->m_blade_rf1_input_actions_isSet = true; -} - -SWGBladeRF2InputActions* -SWGDeviceActions::getBladeRf2InputActions() { - return blade_rf2_input_actions; -} -void -SWGDeviceActions::setBladeRf2InputActions(SWGBladeRF2InputActions* blade_rf2_input_actions) { - this->blade_rf2_input_actions = blade_rf2_input_actions; - this->m_blade_rf2_input_actions_isSet = true; -} - -SWGFCDProActions* -SWGDeviceActions::getFcdProActions() { - return fcd_pro_actions; -} -void -SWGDeviceActions::setFcdProActions(SWGFCDProActions* fcd_pro_actions) { - this->fcd_pro_actions = fcd_pro_actions; - this->m_fcd_pro_actions_isSet = true; -} - -SWGFCDProPlusActions* -SWGDeviceActions::getFcdProPlusActions() { - return fcd_pro_plus_actions; -} -void -SWGDeviceActions::setFcdProPlusActions(SWGFCDProPlusActions* fcd_pro_plus_actions) { - this->fcd_pro_plus_actions = fcd_pro_plus_actions; - this->m_fcd_pro_plus_actions_isSet = true; -} - -SWGHackRFInputActions* -SWGDeviceActions::getHackRfInputActions() { - return hack_rf_input_actions; -} -void -SWGDeviceActions::setHackRfInputActions(SWGHackRFInputActions* hack_rf_input_actions) { - this->hack_rf_input_actions = hack_rf_input_actions; - this->m_hack_rf_input_actions_isSet = true; -} - -SWGKiwiSDRActions* -SWGDeviceActions::getKiwiSdrActions() { - return kiwi_sdr_actions; -} -void -SWGDeviceActions::setKiwiSdrActions(SWGKiwiSDRActions* kiwi_sdr_actions) { - this->kiwi_sdr_actions = kiwi_sdr_actions; - this->m_kiwi_sdr_actions_isSet = true; -} - -SWGLimeSdrInputActions* -SWGDeviceActions::getLimeSdrInputActions() { - return lime_sdr_input_actions; -} -void -SWGDeviceActions::setLimeSdrInputActions(SWGLimeSdrInputActions* lime_sdr_input_actions) { - this->lime_sdr_input_actions = lime_sdr_input_actions; - this->m_lime_sdr_input_actions_isSet = true; -} - -SWGLocalInputActions* -SWGDeviceActions::getLocalInputActions() { - return local_input_actions; -} -void -SWGDeviceActions::setLocalInputActions(SWGLocalInputActions* local_input_actions) { - this->local_input_actions = local_input_actions; - this->m_local_input_actions_isSet = true; -} - -SWGPerseusActions* -SWGDeviceActions::getPerseusActions() { - return perseus_actions; -} -void -SWGDeviceActions::setPerseusActions(SWGPerseusActions* perseus_actions) { - this->perseus_actions = perseus_actions; - this->m_perseus_actions_isSet = true; -} - -SWGPlutoSdrInputActions* -SWGDeviceActions::getPlutoSdrInputActions() { - return pluto_sdr_input_actions; -} -void -SWGDeviceActions::setPlutoSdrInputActions(SWGPlutoSdrInputActions* pluto_sdr_input_actions) { - this->pluto_sdr_input_actions = pluto_sdr_input_actions; - this->m_pluto_sdr_input_actions_isSet = true; -} - -SWGRemoteInputActions* -SWGDeviceActions::getRemoteInputActions() { - return remote_input_actions; -} -void -SWGDeviceActions::setRemoteInputActions(SWGRemoteInputActions* remote_input_actions) { - this->remote_input_actions = remote_input_actions; - this->m_remote_input_actions_isSet = true; -} - -SWGRtlSdrActions* -SWGDeviceActions::getRtlSdrActions() { - return rtl_sdr_actions; -} -void -SWGDeviceActions::setRtlSdrActions(SWGRtlSdrActions* rtl_sdr_actions) { - this->rtl_sdr_actions = rtl_sdr_actions; - this->m_rtl_sdr_actions_isSet = true; -} - -SWGSDRPlayActions* -SWGDeviceActions::getSdrPlayActions() { - return sdr_play_actions; -} -void -SWGDeviceActions::setSdrPlayActions(SWGSDRPlayActions* sdr_play_actions) { - this->sdr_play_actions = sdr_play_actions; - this->m_sdr_play_actions_isSet = true; -} - SWGSigMFFileInputActions* SWGDeviceActions::getSigMfFileInputActions() { return sig_mf_file_input_actions; @@ -523,36 +157,6 @@ SWGDeviceActions::setSigMfFileInputActions(SWGSigMFFileInputActions* sig_mf_file this->m_sig_mf_file_input_actions_isSet = true; } -SWGSoapySDRInputActions* -SWGDeviceActions::getSoapySdrInputActions() { - return soapy_sdr_input_actions; -} -void -SWGDeviceActions::setSoapySdrInputActions(SWGSoapySDRInputActions* soapy_sdr_input_actions) { - this->soapy_sdr_input_actions = soapy_sdr_input_actions; - this->m_soapy_sdr_input_actions_isSet = true; -} - -SWGTestSourceActions* -SWGDeviceActions::getTestSourceActions() { - return test_source_actions; -} -void -SWGDeviceActions::setTestSourceActions(SWGTestSourceActions* test_source_actions) { - this->test_source_actions = test_source_actions; - this->m_test_source_actions_isSet = true; -} - -SWGXtrxInputActions* -SWGDeviceActions::getXtrxInputActions() { - return xtrx_input_actions; -} -void -SWGDeviceActions::setXtrxInputActions(SWGXtrxInputActions* xtrx_input_actions) { - this->xtrx_input_actions = xtrx_input_actions; - this->m_xtrx_input_actions_isSet = true; -} - bool SWGDeviceActions::isSet(){ @@ -567,63 +171,9 @@ SWGDeviceActions::isSet(){ if(m_originator_index_isSet){ isObjectUpdated = true; break; } - if(airspy_actions && airspy_actions->isSet()){ - isObjectUpdated = true; break; - } - if(airspy_hf_actions && airspy_hf_actions->isSet()){ - isObjectUpdated = true; break; - } - if(blade_rf1_input_actions && blade_rf1_input_actions->isSet()){ - isObjectUpdated = true; break; - } - if(blade_rf2_input_actions && blade_rf2_input_actions->isSet()){ - isObjectUpdated = true; break; - } - if(fcd_pro_actions && fcd_pro_actions->isSet()){ - isObjectUpdated = true; break; - } - if(fcd_pro_plus_actions && fcd_pro_plus_actions->isSet()){ - isObjectUpdated = true; break; - } - if(hack_rf_input_actions && hack_rf_input_actions->isSet()){ - isObjectUpdated = true; break; - } - if(kiwi_sdr_actions && kiwi_sdr_actions->isSet()){ - isObjectUpdated = true; break; - } - if(lime_sdr_input_actions && lime_sdr_input_actions->isSet()){ - isObjectUpdated = true; break; - } - if(local_input_actions && local_input_actions->isSet()){ - isObjectUpdated = true; break; - } - if(perseus_actions && perseus_actions->isSet()){ - isObjectUpdated = true; break; - } - if(pluto_sdr_input_actions && pluto_sdr_input_actions->isSet()){ - isObjectUpdated = true; break; - } - if(remote_input_actions && remote_input_actions->isSet()){ - isObjectUpdated = true; break; - } - if(rtl_sdr_actions && rtl_sdr_actions->isSet()){ - isObjectUpdated = true; break; - } - if(sdr_play_actions && sdr_play_actions->isSet()){ - isObjectUpdated = true; break; - } if(sig_mf_file_input_actions && sig_mf_file_input_actions->isSet()){ isObjectUpdated = true; break; } - if(soapy_sdr_input_actions && soapy_sdr_input_actions->isSet()){ - isObjectUpdated = true; break; - } - if(test_source_actions && test_source_actions->isSet()){ - isObjectUpdated = true; break; - } - if(xtrx_input_actions && xtrx_input_actions->isSet()){ - isObjectUpdated = true; break; - } }while(false); return isObjectUpdated; } diff --git a/swagger/sdrangel/code/qt5/client/SWGDeviceActions.h b/swagger/sdrangel/code/qt5/client/SWGDeviceActions.h index 2dce5bce1..8d3a9971f 100644 --- a/swagger/sdrangel/code/qt5/client/SWGDeviceActions.h +++ b/swagger/sdrangel/code/qt5/client/SWGDeviceActions.h @@ -22,25 +22,7 @@ #include -#include "SWGAirspyActions.h" -#include "SWGAirspyHFActions.h" -#include "SWGBladeRF1InputActions.h" -#include "SWGBladeRF2InputActions.h" -#include "SWGFCDProActions.h" -#include "SWGFCDProPlusActions.h" -#include "SWGHackRFInputActions.h" -#include "SWGKiwiSDRActions.h" -#include "SWGLimeSdrInputActions.h" -#include "SWGLocalInputActions.h" -#include "SWGPerseusActions.h" -#include "SWGPlutoSdrInputActions.h" -#include "SWGRemoteInputActions.h" -#include "SWGRtlSdrActions.h" -#include "SWGSDRPlayActions.h" #include "SWGSigMFFileInputActions.h" -#include "SWGSoapySDRInputActions.h" -#include "SWGTestSourceActions.h" -#include "SWGXtrxInputActions.h" #include #include "SWGObject.h" @@ -70,63 +52,9 @@ public: qint32 getOriginatorIndex(); void setOriginatorIndex(qint32 originator_index); - SWGAirspyActions* getAirspyActions(); - void setAirspyActions(SWGAirspyActions* airspy_actions); - - SWGAirspyHFActions* getAirspyHfActions(); - void setAirspyHfActions(SWGAirspyHFActions* airspy_hf_actions); - - SWGBladeRF1InputActions* getBladeRf1InputActions(); - void setBladeRf1InputActions(SWGBladeRF1InputActions* blade_rf1_input_actions); - - SWGBladeRF2InputActions* getBladeRf2InputActions(); - void setBladeRf2InputActions(SWGBladeRF2InputActions* blade_rf2_input_actions); - - SWGFCDProActions* getFcdProActions(); - void setFcdProActions(SWGFCDProActions* fcd_pro_actions); - - SWGFCDProPlusActions* getFcdProPlusActions(); - void setFcdProPlusActions(SWGFCDProPlusActions* fcd_pro_plus_actions); - - SWGHackRFInputActions* getHackRfInputActions(); - void setHackRfInputActions(SWGHackRFInputActions* hack_rf_input_actions); - - SWGKiwiSDRActions* getKiwiSdrActions(); - void setKiwiSdrActions(SWGKiwiSDRActions* kiwi_sdr_actions); - - SWGLimeSdrInputActions* getLimeSdrInputActions(); - void setLimeSdrInputActions(SWGLimeSdrInputActions* lime_sdr_input_actions); - - SWGLocalInputActions* getLocalInputActions(); - void setLocalInputActions(SWGLocalInputActions* local_input_actions); - - SWGPerseusActions* getPerseusActions(); - void setPerseusActions(SWGPerseusActions* perseus_actions); - - SWGPlutoSdrInputActions* getPlutoSdrInputActions(); - void setPlutoSdrInputActions(SWGPlutoSdrInputActions* pluto_sdr_input_actions); - - SWGRemoteInputActions* getRemoteInputActions(); - void setRemoteInputActions(SWGRemoteInputActions* remote_input_actions); - - SWGRtlSdrActions* getRtlSdrActions(); - void setRtlSdrActions(SWGRtlSdrActions* rtl_sdr_actions); - - SWGSDRPlayActions* getSdrPlayActions(); - void setSdrPlayActions(SWGSDRPlayActions* sdr_play_actions); - SWGSigMFFileInputActions* getSigMfFileInputActions(); void setSigMfFileInputActions(SWGSigMFFileInputActions* sig_mf_file_input_actions); - SWGSoapySDRInputActions* getSoapySdrInputActions(); - void setSoapySdrInputActions(SWGSoapySDRInputActions* soapy_sdr_input_actions); - - SWGTestSourceActions* getTestSourceActions(); - void setTestSourceActions(SWGTestSourceActions* test_source_actions); - - SWGXtrxInputActions* getXtrxInputActions(); - void setXtrxInputActions(SWGXtrxInputActions* xtrx_input_actions); - virtual bool isSet() override; @@ -140,63 +68,9 @@ private: qint32 originator_index; bool m_originator_index_isSet; - SWGAirspyActions* airspy_actions; - bool m_airspy_actions_isSet; - - SWGAirspyHFActions* airspy_hf_actions; - bool m_airspy_hf_actions_isSet; - - SWGBladeRF1InputActions* blade_rf1_input_actions; - bool m_blade_rf1_input_actions_isSet; - - SWGBladeRF2InputActions* blade_rf2_input_actions; - bool m_blade_rf2_input_actions_isSet; - - SWGFCDProActions* fcd_pro_actions; - bool m_fcd_pro_actions_isSet; - - SWGFCDProPlusActions* fcd_pro_plus_actions; - bool m_fcd_pro_plus_actions_isSet; - - SWGHackRFInputActions* hack_rf_input_actions; - bool m_hack_rf_input_actions_isSet; - - SWGKiwiSDRActions* kiwi_sdr_actions; - bool m_kiwi_sdr_actions_isSet; - - SWGLimeSdrInputActions* lime_sdr_input_actions; - bool m_lime_sdr_input_actions_isSet; - - SWGLocalInputActions* local_input_actions; - bool m_local_input_actions_isSet; - - SWGPerseusActions* perseus_actions; - bool m_perseus_actions_isSet; - - SWGPlutoSdrInputActions* pluto_sdr_input_actions; - bool m_pluto_sdr_input_actions_isSet; - - SWGRemoteInputActions* remote_input_actions; - bool m_remote_input_actions_isSet; - - SWGRtlSdrActions* rtl_sdr_actions; - bool m_rtl_sdr_actions_isSet; - - SWGSDRPlayActions* sdr_play_actions; - bool m_sdr_play_actions_isSet; - SWGSigMFFileInputActions* sig_mf_file_input_actions; bool m_sig_mf_file_input_actions_isSet; - SWGSoapySDRInputActions* soapy_sdr_input_actions; - bool m_soapy_sdr_input_actions_isSet; - - SWGTestSourceActions* test_source_actions; - bool m_test_source_actions_isSet; - - SWGXtrxInputActions* xtrx_input_actions; - bool m_xtrx_input_actions_isSet; - }; } diff --git a/swagger/sdrangel/code/qt5/client/SWGFCDProActions.cpp b/swagger/sdrangel/code/qt5/client/SWGFCDProActions.cpp deleted file mode 100644 index 7b806163c..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGFCDProActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGFCDProActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGFCDProActions::SWGFCDProActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGFCDProActions::SWGFCDProActions() { - record = 0; - m_record_isSet = false; -} - -SWGFCDProActions::~SWGFCDProActions() { - this->cleanup(); -} - -void -SWGFCDProActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGFCDProActions::cleanup() { - -} - -SWGFCDProActions* -SWGFCDProActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGFCDProActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGFCDProActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGFCDProActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGFCDProActions::getRecord() { - return record; -} -void -SWGFCDProActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGFCDProActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGFCDProActions.h b/swagger/sdrangel/code/qt5/client/SWGFCDProActions.h deleted file mode 100644 index 8fa7a77d5..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGFCDProActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGFCDProActions.h - * - * FCDPro - */ - -#ifndef SWGFCDProActions_H_ -#define SWGFCDProActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGFCDProActions: public SWGObject { -public: - SWGFCDProActions(); - SWGFCDProActions(QString* json); - virtual ~SWGFCDProActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGFCDProActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGFCDProActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGFCDProPlusActions.cpp b/swagger/sdrangel/code/qt5/client/SWGFCDProPlusActions.cpp deleted file mode 100644 index 9c7f1d95d..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGFCDProPlusActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGFCDProPlusActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGFCDProPlusActions::SWGFCDProPlusActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGFCDProPlusActions::SWGFCDProPlusActions() { - record = 0; - m_record_isSet = false; -} - -SWGFCDProPlusActions::~SWGFCDProPlusActions() { - this->cleanup(); -} - -void -SWGFCDProPlusActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGFCDProPlusActions::cleanup() { - -} - -SWGFCDProPlusActions* -SWGFCDProPlusActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGFCDProPlusActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGFCDProPlusActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGFCDProPlusActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGFCDProPlusActions::getRecord() { - return record; -} -void -SWGFCDProPlusActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGFCDProPlusActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGFCDProPlusActions.h b/swagger/sdrangel/code/qt5/client/SWGFCDProPlusActions.h deleted file mode 100644 index 577ec5515..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGFCDProPlusActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGFCDProPlusActions.h - * - * FCDProPlus - */ - -#ifndef SWGFCDProPlusActions_H_ -#define SWGFCDProPlusActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGFCDProPlusActions: public SWGObject { -public: - SWGFCDProPlusActions(); - SWGFCDProPlusActions(QString* json); - virtual ~SWGFCDProPlusActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGFCDProPlusActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGFCDProPlusActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGFCDProPlusSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGFCDProPlusSettings.cpp index 4edc8423b..c3c619135 100644 --- a/swagger/sdrangel/code/qt5/client/SWGFCDProPlusSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGFCDProPlusSettings.cpp @@ -60,8 +60,6 @@ SWGFCDProPlusSettings::SWGFCDProPlusSettings() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -110,8 +108,6 @@ SWGFCDProPlusSettings::init() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -140,9 +136,6 @@ SWGFCDProPlusSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -194,8 +187,6 @@ SWGFCDProPlusSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -268,9 +259,6 @@ SWGFCDProPlusSettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -447,16 +435,6 @@ SWGFCDProPlusSettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGFCDProPlusSettings::getFileRecordName() { - return file_record_name; -} -void -SWGFCDProPlusSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGFCDProPlusSettings::getUseReverseApi() { return use_reverse_api; @@ -550,9 +528,6 @@ SWGFCDProPlusSettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGFCDProPlusSettings.h b/swagger/sdrangel/code/qt5/client/SWGFCDProPlusSettings.h index 861129583..356abd2b7 100644 --- a/swagger/sdrangel/code/qt5/client/SWGFCDProPlusSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGFCDProPlusSettings.h @@ -90,9 +90,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -157,9 +154,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGFCDProSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGFCDProSettings.cpp index d97693cb3..d604845aa 100644 --- a/swagger/sdrangel/code/qt5/client/SWGFCDProSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGFCDProSettings.cpp @@ -78,8 +78,6 @@ SWGFCDProSettings::SWGFCDProSettings() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -146,8 +144,6 @@ SWGFCDProSettings::init() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -185,9 +181,6 @@ SWGFCDProSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -257,8 +250,6 @@ SWGFCDProSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -358,9 +349,6 @@ SWGFCDProSettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -627,16 +615,6 @@ SWGFCDProSettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGFCDProSettings::getFileRecordName() { - return file_record_name; -} -void -SWGFCDProSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGFCDProSettings::getUseReverseApi() { return use_reverse_api; @@ -757,9 +735,6 @@ SWGFCDProSettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGFCDProSettings.h b/swagger/sdrangel/code/qt5/client/SWGFCDProSettings.h index 5c6a2aa3a..7135038ef 100644 --- a/swagger/sdrangel/code/qt5/client/SWGFCDProSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGFCDProSettings.h @@ -117,9 +117,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -211,9 +208,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGHackRFInputActions.cpp b/swagger/sdrangel/code/qt5/client/SWGHackRFInputActions.cpp deleted file mode 100644 index 5caa138c9..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGHackRFInputActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGHackRFInputActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGHackRFInputActions::SWGHackRFInputActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGHackRFInputActions::SWGHackRFInputActions() { - record = 0; - m_record_isSet = false; -} - -SWGHackRFInputActions::~SWGHackRFInputActions() { - this->cleanup(); -} - -void -SWGHackRFInputActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGHackRFInputActions::cleanup() { - -} - -SWGHackRFInputActions* -SWGHackRFInputActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGHackRFInputActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGHackRFInputActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGHackRFInputActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGHackRFInputActions::getRecord() { - return record; -} -void -SWGHackRFInputActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGHackRFInputActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGHackRFInputActions.h b/swagger/sdrangel/code/qt5/client/SWGHackRFInputActions.h deleted file mode 100644 index b110d8de5..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGHackRFInputActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGHackRFInputActions.h - * - * HackRF - */ - -#ifndef SWGHackRFInputActions_H_ -#define SWGHackRFInputActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGHackRFInputActions: public SWGObject { -public: - SWGHackRFInputActions(); - SWGHackRFInputActions(QString* json); - virtual ~SWGHackRFInputActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGHackRFInputActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGHackRFInputActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGHackRFInputSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGHackRFInputSettings.cpp index 9bc9b2232..19e8f42b0 100644 --- a/swagger/sdrangel/code/qt5/client/SWGHackRFInputSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGHackRFInputSettings.cpp @@ -52,8 +52,6 @@ SWGHackRFInputSettings::SWGHackRFInputSettings() { m_dc_block_isSet = false; iq_correction = 0; m_iq_correction_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; transverter_mode = 0; m_transverter_mode_isSet = false; transverter_delta_frequency = 0L; @@ -100,8 +98,6 @@ SWGHackRFInputSettings::init() { m_dc_block_isSet = false; iq_correction = 0; m_iq_correction_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; transverter_mode = 0; m_transverter_mode_isSet = false; transverter_delta_frequency = 0L; @@ -132,9 +128,6 @@ SWGHackRFInputSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } @@ -181,8 +174,6 @@ SWGHackRFInputSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_correction, pJson["iqCorrection"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&transverter_mode, pJson["transverterMode"], "qint32", ""); ::SWGSDRangel::setValue(&transverter_delta_frequency, pJson["transverterDeltaFrequency"], "qint64", ""); @@ -249,9 +240,6 @@ SWGHackRFInputSettings::asJsonObject() { if(m_iq_correction_isSet){ obj->insert("iqCorrection", QJsonValue(iq_correction)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_transverter_mode_isSet){ obj->insert("transverterMode", QJsonValue(transverter_mode)); } @@ -397,16 +385,6 @@ SWGHackRFInputSettings::setIqCorrection(qint32 iq_correction) { this->m_iq_correction_isSet = true; } -QString* -SWGHackRFInputSettings::getFileRecordName() { - return file_record_name; -} -void -SWGHackRFInputSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGHackRFInputSettings::getTransverterMode() { return transverter_mode; @@ -518,9 +496,6 @@ SWGHackRFInputSettings::isSet(){ if(m_iq_correction_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_transverter_mode_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGHackRFInputSettings.h b/swagger/sdrangel/code/qt5/client/SWGHackRFInputSettings.h index 1dc7296f4..cef8d95b0 100644 --- a/swagger/sdrangel/code/qt5/client/SWGHackRFInputSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGHackRFInputSettings.h @@ -78,9 +78,6 @@ public: qint32 getIqCorrection(); void setIqCorrection(qint32 iq_correction); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getTransverterMode(); void setTransverterMode(qint32 transverter_mode); @@ -142,9 +139,6 @@ private: qint32 iq_correction; bool m_iq_correction_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 transverter_mode; bool m_transverter_mode_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGKiwiSDRActions.cpp b/swagger/sdrangel/code/qt5/client/SWGKiwiSDRActions.cpp deleted file mode 100644 index 1dc7f574f..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGKiwiSDRActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGKiwiSDRActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGKiwiSDRActions::SWGKiwiSDRActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGKiwiSDRActions::SWGKiwiSDRActions() { - record = 0; - m_record_isSet = false; -} - -SWGKiwiSDRActions::~SWGKiwiSDRActions() { - this->cleanup(); -} - -void -SWGKiwiSDRActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGKiwiSDRActions::cleanup() { - -} - -SWGKiwiSDRActions* -SWGKiwiSDRActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGKiwiSDRActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGKiwiSDRActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGKiwiSDRActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGKiwiSDRActions::getRecord() { - return record; -} -void -SWGKiwiSDRActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGKiwiSDRActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGKiwiSDRActions.h b/swagger/sdrangel/code/qt5/client/SWGKiwiSDRActions.h deleted file mode 100644 index 1e514c9b9..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGKiwiSDRActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGKiwiSDRActions.h - * - * KiwiSDR - */ - -#ifndef SWGKiwiSDRActions_H_ -#define SWGKiwiSDRActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGKiwiSDRActions: public SWGObject { -public: - SWGKiwiSDRActions(); - SWGKiwiSDRActions(QString* json); - virtual ~SWGKiwiSDRActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGKiwiSDRActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGKiwiSDRActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGKiwiSDRSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGKiwiSDRSettings.cpp index a6db8e85b..0eafd521b 100644 --- a/swagger/sdrangel/code/qt5/client/SWGKiwiSDRSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGKiwiSDRSettings.cpp @@ -38,8 +38,6 @@ SWGKiwiSDRSettings::SWGKiwiSDRSettings() { m_center_frequency_isSet = false; server_address = nullptr; m_server_address_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -66,8 +64,6 @@ SWGKiwiSDRSettings::init() { m_center_frequency_isSet = false; server_address = new QString(""); m_server_address_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -87,9 +83,6 @@ SWGKiwiSDRSettings::cleanup() { if(server_address != nullptr) { delete server_address; } - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -119,8 +112,6 @@ SWGKiwiSDRSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&server_address, pJson["serverAddress"], "QString", "QString"); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -160,9 +151,6 @@ SWGKiwiSDRSettings::asJsonObject() { if(server_address != nullptr && *server_address != QString("")){ toJsonValue(QString("serverAddress"), server_address, obj, QString("QString")); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -229,16 +217,6 @@ SWGKiwiSDRSettings::setServerAddress(QString* server_address) { this->m_server_address_isSet = true; } -QString* -SWGKiwiSDRSettings::getFileRecordName() { - return file_record_name; -} -void -SWGKiwiSDRSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGKiwiSDRSettings::getUseReverseApi() { return use_reverse_api; @@ -299,9 +277,6 @@ SWGKiwiSDRSettings::isSet(){ if(server_address && *server_address != QString("")){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGKiwiSDRSettings.h b/swagger/sdrangel/code/qt5/client/SWGKiwiSDRSettings.h index ab4c216b9..573267e6d 100644 --- a/swagger/sdrangel/code/qt5/client/SWGKiwiSDRSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGKiwiSDRSettings.h @@ -57,9 +57,6 @@ public: QString* getServerAddress(); void setServerAddress(QString* server_address); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -91,9 +88,6 @@ private: QString* server_address; bool m_server_address_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputActions.cpp b/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputActions.cpp deleted file mode 100644 index 2a8718cd7..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGLimeSdrInputActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGLimeSdrInputActions::SWGLimeSdrInputActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGLimeSdrInputActions::SWGLimeSdrInputActions() { - record = 0; - m_record_isSet = false; -} - -SWGLimeSdrInputActions::~SWGLimeSdrInputActions() { - this->cleanup(); -} - -void -SWGLimeSdrInputActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGLimeSdrInputActions::cleanup() { - -} - -SWGLimeSdrInputActions* -SWGLimeSdrInputActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGLimeSdrInputActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGLimeSdrInputActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGLimeSdrInputActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGLimeSdrInputActions::getRecord() { - return record; -} -void -SWGLimeSdrInputActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGLimeSdrInputActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputActions.h b/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputActions.h deleted file mode 100644 index e4150cc12..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGLimeSdrInputActions.h - * - * LimeSDR - */ - -#ifndef SWGLimeSdrInputActions_H_ -#define SWGLimeSdrInputActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGLimeSdrInputActions: public SWGObject { -public: - SWGLimeSdrInputActions(); - SWGLimeSdrInputActions(QString* json); - virtual ~SWGLimeSdrInputActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGLimeSdrInputActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGLimeSdrInputActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputSettings.cpp index 9ee00ca07..bb2c5d485 100644 --- a/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputSettings.cpp @@ -72,8 +72,6 @@ SWGLimeSdrInputSettings::SWGLimeSdrInputSettings() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; gpio_dir = 0; m_gpio_dir_isSet = false; gpio_pins = 0; @@ -138,8 +136,6 @@ SWGLimeSdrInputSettings::init() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; gpio_dir = 0; m_gpio_dir_isSet = false; gpio_pins = 0; @@ -178,9 +174,6 @@ SWGLimeSdrInputSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } @@ -246,8 +239,6 @@ SWGLimeSdrInputSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&gpio_dir, pJson["gpioDir"], "qint32", ""); ::SWGSDRangel::setValue(&gpio_pins, pJson["gpioPins"], "qint32", ""); @@ -342,9 +333,6 @@ SWGLimeSdrInputSettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_gpio_dir_isSet){ obj->insert("gpioDir", QJsonValue(gpio_dir)); } @@ -587,16 +575,6 @@ SWGLimeSdrInputSettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGLimeSdrInputSettings::getFileRecordName() { - return file_record_name; -} -void -SWGLimeSdrInputSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGLimeSdrInputSettings::getGpioDir() { return gpio_dir; @@ -728,9 +706,6 @@ SWGLimeSdrInputSettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_gpio_dir_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputSettings.h b/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputSettings.h index 89452f374..563fa8bb9 100644 --- a/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGLimeSdrInputSettings.h @@ -108,9 +108,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getGpioDir(); void setGpioDir(qint32 gpio_dir); @@ -199,9 +196,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 gpio_dir; bool m_gpio_dir_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGLocalInputActions.cpp b/swagger/sdrangel/code/qt5/client/SWGLocalInputActions.cpp deleted file mode 100644 index a292de2f9..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGLocalInputActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGLocalInputActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGLocalInputActions::SWGLocalInputActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGLocalInputActions::SWGLocalInputActions() { - record = 0; - m_record_isSet = false; -} - -SWGLocalInputActions::~SWGLocalInputActions() { - this->cleanup(); -} - -void -SWGLocalInputActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGLocalInputActions::cleanup() { - -} - -SWGLocalInputActions* -SWGLocalInputActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGLocalInputActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGLocalInputActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGLocalInputActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGLocalInputActions::getRecord() { - return record; -} -void -SWGLocalInputActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGLocalInputActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGLocalInputActions.h b/swagger/sdrangel/code/qt5/client/SWGLocalInputActions.h deleted file mode 100644 index 74e5faca3..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGLocalInputActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGLocalInputActions.h - * - * LocalInput - */ - -#ifndef SWGLocalInputActions_H_ -#define SWGLocalInputActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGLocalInputActions: public SWGObject { -public: - SWGLocalInputActions(); - SWGLocalInputActions(QString* json); - virtual ~SWGLocalInputActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGLocalInputActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGLocalInputActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGLocalInputSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGLocalInputSettings.cpp index 536db0427..6dd3e200c 100644 --- a/swagger/sdrangel/code/qt5/client/SWGLocalInputSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGLocalInputSettings.cpp @@ -32,8 +32,6 @@ SWGLocalInputSettings::SWGLocalInputSettings() { m_dc_block_isSet = false; iq_correction = 0; m_iq_correction_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -54,8 +52,6 @@ SWGLocalInputSettings::init() { m_dc_block_isSet = false; iq_correction = 0; m_iq_correction_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -70,9 +66,6 @@ void SWGLocalInputSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -96,8 +89,6 @@ SWGLocalInputSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_correction, pJson["iqCorrection"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -128,9 +119,6 @@ SWGLocalInputSettings::asJsonObject() { if(m_iq_correction_isSet){ obj->insert("iqCorrection", QJsonValue(iq_correction)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -167,16 +155,6 @@ SWGLocalInputSettings::setIqCorrection(qint32 iq_correction) { this->m_iq_correction_isSet = true; } -QString* -SWGLocalInputSettings::getFileRecordName() { - return file_record_name; -} -void -SWGLocalInputSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGLocalInputSettings::getUseReverseApi() { return use_reverse_api; @@ -228,9 +206,6 @@ SWGLocalInputSettings::isSet(){ if(m_iq_correction_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGLocalInputSettings.h b/swagger/sdrangel/code/qt5/client/SWGLocalInputSettings.h index f516f4a79..b751bd6f5 100644 --- a/swagger/sdrangel/code/qt5/client/SWGLocalInputSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGLocalInputSettings.h @@ -48,9 +48,6 @@ public: qint32 getIqCorrection(); void setIqCorrection(qint32 iq_correction); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -73,9 +70,6 @@ private: qint32 iq_correction; bool m_iq_correction_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGModelFactory.h b/swagger/sdrangel/code/qt5/client/SWGModelFactory.h index 10fcc12cb..1ca932081 100644 --- a/swagger/sdrangel/code/qt5/client/SWGModelFactory.h +++ b/swagger/sdrangel/code/qt5/client/SWGModelFactory.h @@ -23,8 +23,6 @@ #include "SWGATVDemodSettings.h" #include "SWGATVModReport.h" #include "SWGATVModSettings.h" -#include "SWGAirspyActions.h" -#include "SWGAirspyHFActions.h" #include "SWGAirspyHFReport.h" #include "SWGAirspyHFSettings.h" #include "SWGAirspyReport.h" @@ -38,10 +36,8 @@ #include "SWGBFMDemodSettings.h" #include "SWGBandwidth.h" #include "SWGBeamSteeringCWModSettings.h" -#include "SWGBladeRF1InputActions.h" #include "SWGBladeRF1InputSettings.h" #include "SWGBladeRF1OutputSettings.h" -#include "SWGBladeRF2InputActions.h" #include "SWGBladeRF2InputReport.h" #include "SWGBladeRF2InputSettings.h" #include "SWGBladeRF2MIMOSettings.h" @@ -77,8 +73,6 @@ #include "SWGDeviceSettings.h" #include "SWGDeviceState.h" #include "SWGErrorResponse.h" -#include "SWGFCDProActions.h" -#include "SWGFCDProPlusActions.h" #include "SWGFCDProPlusSettings.h" #include "SWGFCDProSettings.h" #include "SWGFileInputReport.h" @@ -101,7 +95,6 @@ #include "SWGGLScope.h" #include "SWGGLSpectrum.h" #include "SWGGain.h" -#include "SWGHackRFInputActions.h" #include "SWGHackRFInputSettings.h" #include "SWGHackRFOutputSettings.h" #include "SWGInstanceChannelsResponse.h" @@ -109,21 +102,18 @@ #include "SWGInstanceDevicesResponse.h" #include "SWGInstanceSummaryResponse.h" #include "SWGInterferometerSettings.h" -#include "SWGKiwiSDRActions.h" #include "SWGKiwiSDRReport.h" #include "SWGKiwiSDRSettings.h" #include "SWGLimeRFEDevice.h" #include "SWGLimeRFEDevices.h" #include "SWGLimeRFEPower.h" #include "SWGLimeRFESettings.h" -#include "SWGLimeSdrInputActions.h" #include "SWGLimeSdrInputReport.h" #include "SWGLimeSdrInputSettings.h" #include "SWGLimeSdrMIMOReport.h" #include "SWGLimeSdrMIMOSettings.h" #include "SWGLimeSdrOutputReport.h" #include "SWGLimeSdrOutputSettings.h" -#include "SWGLocalInputActions.h" #include "SWGLocalInputReport.h" #include "SWGLocalInputSettings.h" #include "SWGLocalOutputReport.h" @@ -137,10 +127,8 @@ #include "SWGNFMModReport.h" #include "SWGNFMModSettings.h" #include "SWGNamedEnum.h" -#include "SWGPerseusActions.h" #include "SWGPerseusReport.h" #include "SWGPerseusSettings.h" -#include "SWGPlutoSdrInputActions.h" #include "SWGPlutoSdrInputReport.h" #include "SWGPlutoSdrInputSettings.h" #include "SWGPlutoSdrOutputReport.h" @@ -158,7 +146,6 @@ #include "SWGRDSReport_altFrequencies.h" #include "SWGRange.h" #include "SWGRangeFloat.h" -#include "SWGRemoteInputActions.h" #include "SWGRemoteInputReport.h" #include "SWGRemoteInputSettings.h" #include "SWGRemoteOutputReport.h" @@ -166,10 +153,8 @@ #include "SWGRemoteSinkSettings.h" #include "SWGRemoteSourceReport.h" #include "SWGRemoteSourceSettings.h" -#include "SWGRtlSdrActions.h" #include "SWGRtlSdrReport.h" #include "SWGRtlSdrSettings.h" -#include "SWGSDRPlayActions.h" #include "SWGSDRPlayReport.h" #include "SWGSDRPlaySettings.h" #include "SWGSSBDemodReport.h" @@ -186,7 +171,6 @@ #include "SWGSigMFFileSinkSettings.h" #include "SWGSoapySDRFrequencySetting.h" #include "SWGSoapySDRGainSetting.h" -#include "SWGSoapySDRInputActions.h" #include "SWGSoapySDRInputSettings.h" #include "SWGSoapySDROutputSettings.h" #include "SWGSoapySDRReport.h" @@ -196,7 +180,6 @@ #include "SWGTestMISettings.h" #include "SWGTestMOSyncSettings.h" #include "SWGTestMiStreamSettings.h" -#include "SWGTestSourceActions.h" #include "SWGTestSourceSettings.h" #include "SWGTraceData.h" #include "SWGTriggerData.h" @@ -208,7 +191,6 @@ #include "SWGWFMDemodSettings.h" #include "SWGWFMModReport.h" #include "SWGWFMModSettings.h" -#include "SWGXtrxInputActions.h" #include "SWGXtrxInputReport.h" #include "SWGXtrxInputSettings.h" #include "SWGXtrxMIMOReport.h" @@ -246,12 +228,6 @@ namespace SWGSDRangel { if(QString("SWGATVModSettings").compare(type) == 0) { return new SWGATVModSettings(); } - if(QString("SWGAirspyActions").compare(type) == 0) { - return new SWGAirspyActions(); - } - if(QString("SWGAirspyHFActions").compare(type) == 0) { - return new SWGAirspyHFActions(); - } if(QString("SWGAirspyHFReport").compare(type) == 0) { return new SWGAirspyHFReport(); } @@ -291,18 +267,12 @@ namespace SWGSDRangel { if(QString("SWGBeamSteeringCWModSettings").compare(type) == 0) { return new SWGBeamSteeringCWModSettings(); } - if(QString("SWGBladeRF1InputActions").compare(type) == 0) { - return new SWGBladeRF1InputActions(); - } if(QString("SWGBladeRF1InputSettings").compare(type) == 0) { return new SWGBladeRF1InputSettings(); } if(QString("SWGBladeRF1OutputSettings").compare(type) == 0) { return new SWGBladeRF1OutputSettings(); } - if(QString("SWGBladeRF2InputActions").compare(type) == 0) { - return new SWGBladeRF2InputActions(); - } if(QString("SWGBladeRF2InputReport").compare(type) == 0) { return new SWGBladeRF2InputReport(); } @@ -408,12 +378,6 @@ namespace SWGSDRangel { if(QString("SWGErrorResponse").compare(type) == 0) { return new SWGErrorResponse(); } - if(QString("SWGFCDProActions").compare(type) == 0) { - return new SWGFCDProActions(); - } - if(QString("SWGFCDProPlusActions").compare(type) == 0) { - return new SWGFCDProPlusActions(); - } if(QString("SWGFCDProPlusSettings").compare(type) == 0) { return new SWGFCDProPlusSettings(); } @@ -480,9 +444,6 @@ namespace SWGSDRangel { if(QString("SWGGain").compare(type) == 0) { return new SWGGain(); } - if(QString("SWGHackRFInputActions").compare(type) == 0) { - return new SWGHackRFInputActions(); - } if(QString("SWGHackRFInputSettings").compare(type) == 0) { return new SWGHackRFInputSettings(); } @@ -504,9 +465,6 @@ namespace SWGSDRangel { if(QString("SWGInterferometerSettings").compare(type) == 0) { return new SWGInterferometerSettings(); } - if(QString("SWGKiwiSDRActions").compare(type) == 0) { - return new SWGKiwiSDRActions(); - } if(QString("SWGKiwiSDRReport").compare(type) == 0) { return new SWGKiwiSDRReport(); } @@ -525,9 +483,6 @@ namespace SWGSDRangel { if(QString("SWGLimeRFESettings").compare(type) == 0) { return new SWGLimeRFESettings(); } - if(QString("SWGLimeSdrInputActions").compare(type) == 0) { - return new SWGLimeSdrInputActions(); - } if(QString("SWGLimeSdrInputReport").compare(type) == 0) { return new SWGLimeSdrInputReport(); } @@ -546,9 +501,6 @@ namespace SWGSDRangel { if(QString("SWGLimeSdrOutputSettings").compare(type) == 0) { return new SWGLimeSdrOutputSettings(); } - if(QString("SWGLocalInputActions").compare(type) == 0) { - return new SWGLocalInputActions(); - } if(QString("SWGLocalInputReport").compare(type) == 0) { return new SWGLocalInputReport(); } @@ -588,18 +540,12 @@ namespace SWGSDRangel { if(QString("SWGNamedEnum").compare(type) == 0) { return new SWGNamedEnum(); } - if(QString("SWGPerseusActions").compare(type) == 0) { - return new SWGPerseusActions(); - } if(QString("SWGPerseusReport").compare(type) == 0) { return new SWGPerseusReport(); } if(QString("SWGPerseusSettings").compare(type) == 0) { return new SWGPerseusSettings(); } - if(QString("SWGPlutoSdrInputActions").compare(type) == 0) { - return new SWGPlutoSdrInputActions(); - } if(QString("SWGPlutoSdrInputReport").compare(type) == 0) { return new SWGPlutoSdrInputReport(); } @@ -651,9 +597,6 @@ namespace SWGSDRangel { if(QString("SWGRangeFloat").compare(type) == 0) { return new SWGRangeFloat(); } - if(QString("SWGRemoteInputActions").compare(type) == 0) { - return new SWGRemoteInputActions(); - } if(QString("SWGRemoteInputReport").compare(type) == 0) { return new SWGRemoteInputReport(); } @@ -675,18 +618,12 @@ namespace SWGSDRangel { if(QString("SWGRemoteSourceSettings").compare(type) == 0) { return new SWGRemoteSourceSettings(); } - if(QString("SWGRtlSdrActions").compare(type) == 0) { - return new SWGRtlSdrActions(); - } if(QString("SWGRtlSdrReport").compare(type) == 0) { return new SWGRtlSdrReport(); } if(QString("SWGRtlSdrSettings").compare(type) == 0) { return new SWGRtlSdrSettings(); } - if(QString("SWGSDRPlayActions").compare(type) == 0) { - return new SWGSDRPlayActions(); - } if(QString("SWGSDRPlayReport").compare(type) == 0) { return new SWGSDRPlayReport(); } @@ -735,9 +672,6 @@ namespace SWGSDRangel { if(QString("SWGSoapySDRGainSetting").compare(type) == 0) { return new SWGSoapySDRGainSetting(); } - if(QString("SWGSoapySDRInputActions").compare(type) == 0) { - return new SWGSoapySDRInputActions(); - } if(QString("SWGSoapySDRInputSettings").compare(type) == 0) { return new SWGSoapySDRInputSettings(); } @@ -765,9 +699,6 @@ namespace SWGSDRangel { if(QString("SWGTestMiStreamSettings").compare(type) == 0) { return new SWGTestMiStreamSettings(); } - if(QString("SWGTestSourceActions").compare(type) == 0) { - return new SWGTestSourceActions(); - } if(QString("SWGTestSourceSettings").compare(type) == 0) { return new SWGTestSourceSettings(); } @@ -801,9 +732,6 @@ namespace SWGSDRangel { if(QString("SWGWFMModSettings").compare(type) == 0) { return new SWGWFMModSettings(); } - if(QString("SWGXtrxInputActions").compare(type) == 0) { - return new SWGXtrxInputActions(); - } if(QString("SWGXtrxInputReport").compare(type) == 0) { return new SWGXtrxInputReport(); } diff --git a/swagger/sdrangel/code/qt5/client/SWGPerseusActions.cpp b/swagger/sdrangel/code/qt5/client/SWGPerseusActions.cpp deleted file mode 100644 index bc92459cc..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGPerseusActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGPerseusActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGPerseusActions::SWGPerseusActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGPerseusActions::SWGPerseusActions() { - record = 0; - m_record_isSet = false; -} - -SWGPerseusActions::~SWGPerseusActions() { - this->cleanup(); -} - -void -SWGPerseusActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGPerseusActions::cleanup() { - -} - -SWGPerseusActions* -SWGPerseusActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGPerseusActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGPerseusActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGPerseusActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGPerseusActions::getRecord() { - return record; -} -void -SWGPerseusActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGPerseusActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGPerseusActions.h b/swagger/sdrangel/code/qt5/client/SWGPerseusActions.h deleted file mode 100644 index fde1a7617..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGPerseusActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGPerseusActions.h - * - * Perseus - */ - -#ifndef SWGPerseusActions_H_ -#define SWGPerseusActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGPerseusActions: public SWGObject { -public: - SWGPerseusActions(); - SWGPerseusActions(QString* json); - virtual ~SWGPerseusActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGPerseusActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGPerseusActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGPerseusSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGPerseusSettings.cpp index 1d48c7f64..216bcc0e7 100644 --- a/swagger/sdrangel/code/qt5/client/SWGPerseusSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGPerseusSettings.cpp @@ -48,8 +48,6 @@ SWGPerseusSettings::SWGPerseusSettings() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; attenuator = 0; m_attenuator_isSet = false; use_reverse_api = 0; @@ -88,8 +86,6 @@ SWGPerseusSettings::init() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; attenuator = 0; m_attenuator_isSet = false; use_reverse_api = 0; @@ -114,9 +110,6 @@ SWGPerseusSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { @@ -157,8 +150,6 @@ SWGPerseusSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&attenuator, pJson["attenuator"], "qint32", ""); ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); @@ -215,9 +206,6 @@ SWGPerseusSettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_attenuator_isSet){ obj->insert("attenuator", QJsonValue(attenuator)); } @@ -337,16 +325,6 @@ SWGPerseusSettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGPerseusSettings::getFileRecordName() { - return file_record_name; -} -void -SWGPerseusSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGPerseusSettings::getAttenuator() { return attenuator; @@ -432,9 +410,6 @@ SWGPerseusSettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_attenuator_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGPerseusSettings.h b/swagger/sdrangel/code/qt5/client/SWGPerseusSettings.h index 65e4f3faa..b64c522d1 100644 --- a/swagger/sdrangel/code/qt5/client/SWGPerseusSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGPerseusSettings.h @@ -72,9 +72,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getAttenuator(); void setAttenuator(qint32 attenuator); @@ -124,9 +121,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 attenuator; bool m_attenuator_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputActions.cpp b/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputActions.cpp deleted file mode 100644 index 5163d2298..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGPlutoSdrInputActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGPlutoSdrInputActions::SWGPlutoSdrInputActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGPlutoSdrInputActions::SWGPlutoSdrInputActions() { - record = 0; - m_record_isSet = false; -} - -SWGPlutoSdrInputActions::~SWGPlutoSdrInputActions() { - this->cleanup(); -} - -void -SWGPlutoSdrInputActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGPlutoSdrInputActions::cleanup() { - -} - -SWGPlutoSdrInputActions* -SWGPlutoSdrInputActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGPlutoSdrInputActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGPlutoSdrInputActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGPlutoSdrInputActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGPlutoSdrInputActions::getRecord() { - return record; -} -void -SWGPlutoSdrInputActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGPlutoSdrInputActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputActions.h b/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputActions.h deleted file mode 100644 index d5993efc7..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGPlutoSdrInputActions.h - * - * PlutoSDR - */ - -#ifndef SWGPlutoSdrInputActions_H_ -#define SWGPlutoSdrInputActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGPlutoSdrInputActions: public SWGObject { -public: - SWGPlutoSdrInputActions(); - SWGPlutoSdrInputActions(QString* json); - virtual ~SWGPlutoSdrInputActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGPlutoSdrInputActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGPlutoSdrInputActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputSettings.cpp index f3c13d024..d030cd50a 100644 --- a/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputSettings.cpp @@ -70,8 +70,6 @@ SWGPlutoSdrInputSettings::SWGPlutoSdrInputSettings() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -130,8 +128,6 @@ SWGPlutoSdrInputSettings::init() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -165,9 +161,6 @@ SWGPlutoSdrInputSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -229,8 +222,6 @@ SWGPlutoSdrInputSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -318,9 +309,6 @@ SWGPlutoSdrInputSettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -547,16 +535,6 @@ SWGPlutoSdrInputSettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGPlutoSdrInputSettings::getFileRecordName() { - return file_record_name; -} -void -SWGPlutoSdrInputSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGPlutoSdrInputSettings::getUseReverseApi() { return use_reverse_api; @@ -665,9 +643,6 @@ SWGPlutoSdrInputSettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputSettings.h b/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputSettings.h index b75ae7c42..0f2a31f8f 100644 --- a/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGPlutoSdrInputSettings.h @@ -105,9 +105,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -187,9 +184,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGRemoteInputActions.cpp b/swagger/sdrangel/code/qt5/client/SWGRemoteInputActions.cpp deleted file mode 100644 index 777761b57..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGRemoteInputActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGRemoteInputActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGRemoteInputActions::SWGRemoteInputActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGRemoteInputActions::SWGRemoteInputActions() { - record = 0; - m_record_isSet = false; -} - -SWGRemoteInputActions::~SWGRemoteInputActions() { - this->cleanup(); -} - -void -SWGRemoteInputActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGRemoteInputActions::cleanup() { - -} - -SWGRemoteInputActions* -SWGRemoteInputActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGRemoteInputActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGRemoteInputActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGRemoteInputActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGRemoteInputActions::getRecord() { - return record; -} -void -SWGRemoteInputActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGRemoteInputActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGRemoteInputActions.h b/swagger/sdrangel/code/qt5/client/SWGRemoteInputActions.h deleted file mode 100644 index 3ee0a84eb..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGRemoteInputActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGRemoteInputActions.h - * - * RemoteInput - */ - -#ifndef SWGRemoteInputActions_H_ -#define SWGRemoteInputActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGRemoteInputActions: public SWGObject { -public: - SWGRemoteInputActions(); - SWGRemoteInputActions(QString* json); - virtual ~SWGRemoteInputActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGRemoteInputActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGRemoteInputActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGRemoteInputSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGRemoteInputSettings.cpp index bddb7bac3..5acd74132 100644 --- a/swagger/sdrangel/code/qt5/client/SWGRemoteInputSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGRemoteInputSettings.cpp @@ -40,8 +40,6 @@ SWGRemoteInputSettings::SWGRemoteInputSettings() { m_dc_block_isSet = false; iq_correction = 0; m_iq_correction_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -70,8 +68,6 @@ SWGRemoteInputSettings::init() { m_dc_block_isSet = false; iq_correction = 0; m_iq_correction_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -94,9 +90,6 @@ SWGRemoteInputSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -128,8 +121,6 @@ SWGRemoteInputSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_correction, pJson["iqCorrection"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -172,9 +163,6 @@ SWGRemoteInputSettings::asJsonObject() { if(m_iq_correction_isSet){ obj->insert("iqCorrection", QJsonValue(iq_correction)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -251,16 +239,6 @@ SWGRemoteInputSettings::setIqCorrection(qint32 iq_correction) { this->m_iq_correction_isSet = true; } -QString* -SWGRemoteInputSettings::getFileRecordName() { - return file_record_name; -} -void -SWGRemoteInputSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGRemoteInputSettings::getUseReverseApi() { return use_reverse_api; @@ -324,9 +302,6 @@ SWGRemoteInputSettings::isSet(){ if(m_iq_correction_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGRemoteInputSettings.h b/swagger/sdrangel/code/qt5/client/SWGRemoteInputSettings.h index 0f21646eb..d07db6738 100644 --- a/swagger/sdrangel/code/qt5/client/SWGRemoteInputSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGRemoteInputSettings.h @@ -60,9 +60,6 @@ public: qint32 getIqCorrection(); void setIqCorrection(qint32 iq_correction); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -97,9 +94,6 @@ private: qint32 iq_correction; bool m_iq_correction_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGRtlSdrActions.cpp b/swagger/sdrangel/code/qt5/client/SWGRtlSdrActions.cpp deleted file mode 100644 index 7e0885ccd..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGRtlSdrActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGRtlSdrActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGRtlSdrActions::SWGRtlSdrActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGRtlSdrActions::SWGRtlSdrActions() { - record = 0; - m_record_isSet = false; -} - -SWGRtlSdrActions::~SWGRtlSdrActions() { - this->cleanup(); -} - -void -SWGRtlSdrActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGRtlSdrActions::cleanup() { - -} - -SWGRtlSdrActions* -SWGRtlSdrActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGRtlSdrActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGRtlSdrActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGRtlSdrActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGRtlSdrActions::getRecord() { - return record; -} -void -SWGRtlSdrActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGRtlSdrActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGRtlSdrActions.h b/swagger/sdrangel/code/qt5/client/SWGRtlSdrActions.h deleted file mode 100644 index 20e62c4f9..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGRtlSdrActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGRtlSdrActions.h - * - * RTLSDR - */ - -#ifndef SWGRtlSdrActions_H_ -#define SWGRtlSdrActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGRtlSdrActions: public SWGObject { -public: - SWGRtlSdrActions(); - SWGRtlSdrActions(QString* json); - virtual ~SWGRtlSdrActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGRtlSdrActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGRtlSdrActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGRtlSdrSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGRtlSdrSettings.cpp index 697940b9e..73270a30a 100644 --- a/swagger/sdrangel/code/qt5/client/SWGRtlSdrSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGRtlSdrSettings.cpp @@ -62,8 +62,6 @@ SWGRtlSdrSettings::SWGRtlSdrSettings() { m_rf_bandwidth_isSet = false; bias_tee = 0; m_bias_tee_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -114,8 +112,6 @@ SWGRtlSdrSettings::init() { m_rf_bandwidth_isSet = false; bias_tee = 0; m_bias_tee_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -145,9 +141,6 @@ SWGRtlSdrSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -201,8 +194,6 @@ SWGRtlSdrSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&bias_tee, pJson["biasTee"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -278,9 +269,6 @@ SWGRtlSdrSettings::asJsonObject() { if(m_bias_tee_isSet){ obj->insert("biasTee", QJsonValue(bias_tee)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -467,16 +455,6 @@ SWGRtlSdrSettings::setBiasTee(qint32 bias_tee) { this->m_bias_tee_isSet = true; } -QString* -SWGRtlSdrSettings::getFileRecordName() { - return file_record_name; -} -void -SWGRtlSdrSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGRtlSdrSettings::getUseReverseApi() { return use_reverse_api; @@ -573,9 +551,6 @@ SWGRtlSdrSettings::isSet(){ if(m_bias_tee_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGRtlSdrSettings.h b/swagger/sdrangel/code/qt5/client/SWGRtlSdrSettings.h index f5db59d9d..c22ba7e44 100644 --- a/swagger/sdrangel/code/qt5/client/SWGRtlSdrSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGRtlSdrSettings.h @@ -93,9 +93,6 @@ public: qint32 getBiasTee(); void setBiasTee(qint32 bias_tee); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -163,9 +160,6 @@ private: qint32 bias_tee; bool m_bias_tee_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGSDRPlayActions.cpp b/swagger/sdrangel/code/qt5/client/SWGSDRPlayActions.cpp deleted file mode 100644 index 30166e088..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGSDRPlayActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGSDRPlayActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGSDRPlayActions::SWGSDRPlayActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGSDRPlayActions::SWGSDRPlayActions() { - record = 0; - m_record_isSet = false; -} - -SWGSDRPlayActions::~SWGSDRPlayActions() { - this->cleanup(); -} - -void -SWGSDRPlayActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGSDRPlayActions::cleanup() { - -} - -SWGSDRPlayActions* -SWGSDRPlayActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGSDRPlayActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGSDRPlayActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGSDRPlayActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGSDRPlayActions::getRecord() { - return record; -} -void -SWGSDRPlayActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGSDRPlayActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGSDRPlayActions.h b/swagger/sdrangel/code/qt5/client/SWGSDRPlayActions.h deleted file mode 100644 index a2e5521ac..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGSDRPlayActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGSDRPlayActions.h - * - * SDRplay1 - */ - -#ifndef SWGSDRPlayActions_H_ -#define SWGSDRPlayActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGSDRPlayActions: public SWGObject { -public: - SWGSDRPlayActions(); - SWGSDRPlayActions(QString* json); - virtual ~SWGSDRPlayActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGSDRPlayActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGSDRPlayActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.cpp b/swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.cpp index 582d0eb3a..c5d4e0c04 100644 --- a/swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.cpp @@ -60,8 +60,6 @@ SWGSDRPlaySettings::SWGSDRPlaySettings() { m_baseband_gain_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -110,8 +108,6 @@ SWGSDRPlaySettings::init() { m_baseband_gain_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -140,9 +136,6 @@ SWGSDRPlaySettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -194,8 +187,6 @@ SWGSDRPlaySettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -268,9 +259,6 @@ SWGSDRPlaySettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -447,16 +435,6 @@ SWGSDRPlaySettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGSDRPlaySettings::getFileRecordName() { - return file_record_name; -} -void -SWGSDRPlaySettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGSDRPlaySettings::getUseReverseApi() { return use_reverse_api; @@ -550,9 +528,6 @@ SWGSDRPlaySettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.h b/swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.h index b426c7a22..661171198 100644 --- a/swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.h @@ -90,9 +90,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -157,9 +154,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputActions.cpp b/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputActions.cpp deleted file mode 100644 index 2b10ad48c..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGSoapySDRInputActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGSoapySDRInputActions::SWGSoapySDRInputActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGSoapySDRInputActions::SWGSoapySDRInputActions() { - record = 0; - m_record_isSet = false; -} - -SWGSoapySDRInputActions::~SWGSoapySDRInputActions() { - this->cleanup(); -} - -void -SWGSoapySDRInputActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGSoapySDRInputActions::cleanup() { - -} - -SWGSoapySDRInputActions* -SWGSoapySDRInputActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGSoapySDRInputActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGSoapySDRInputActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGSoapySDRInputActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGSoapySDRInputActions::getRecord() { - return record; -} -void -SWGSoapySDRInputActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGSoapySDRInputActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputActions.h b/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputActions.h deleted file mode 100644 index c2154faaf..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGSoapySDRInputActions.h - * - * SoapySDR - */ - -#ifndef SWGSoapySDRInputActions_H_ -#define SWGSoapySDRInputActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGSoapySDRInputActions: public SWGObject { -public: - SWGSoapySDRInputActions(); - SWGSoapySDRInputActions(QString* json); - virtual ~SWGSoapySDRInputActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGSoapySDRInputActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGSoapySDRInputActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputSettings.cpp index 6fb664ea2..b20c96c46 100644 --- a/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputSettings.cpp @@ -48,8 +48,6 @@ SWGSoapySDRInputSettings::SWGSoapySDRInputSettings() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; antenna = nullptr; m_antenna_isSet = false; bandwidth = 0; @@ -110,8 +108,6 @@ SWGSoapySDRInputSettings::init() { m_transverter_delta_frequency_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; antenna = new QString(""); m_antenna_isSet = false; bandwidth = 0; @@ -158,9 +154,6 @@ SWGSoapySDRInputSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(antenna != nullptr) { delete antenna; } @@ -242,8 +235,6 @@ SWGSoapySDRInputSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&antenna, pJson["antenna"], "QString", "QString"); ::SWGSDRangel::setValue(&bandwidth, pJson["bandwidth"], "qint32", ""); @@ -322,9 +313,6 @@ SWGSoapySDRInputSettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(antenna != nullptr && *antenna != QString("")){ toJsonValue(QString("antenna"), antenna, obj, QString("QString")); } @@ -477,16 +465,6 @@ SWGSoapySDRInputSettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGSoapySDRInputSettings::getFileRecordName() { - return file_record_name; -} -void -SWGSoapySDRInputSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - QString* SWGSoapySDRInputSettings::getAntenna() { return antenna; @@ -682,9 +660,6 @@ SWGSoapySDRInputSettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(antenna && *antenna != QString("")){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputSettings.h b/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputSettings.h index e0aac531d..20a24de69 100644 --- a/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGSoapySDRInputSettings.h @@ -75,9 +75,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - QString* getAntenna(); void setAntenna(QString* antenna); @@ -160,9 +157,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - QString* antenna; bool m_antenna_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGTestSourceActions.cpp b/swagger/sdrangel/code/qt5/client/SWGTestSourceActions.cpp deleted file mode 100644 index 4701ca879..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGTestSourceActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGTestSourceActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGTestSourceActions::SWGTestSourceActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGTestSourceActions::SWGTestSourceActions() { - record = 0; - m_record_isSet = false; -} - -SWGTestSourceActions::~SWGTestSourceActions() { - this->cleanup(); -} - -void -SWGTestSourceActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGTestSourceActions::cleanup() { - -} - -SWGTestSourceActions* -SWGTestSourceActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGTestSourceActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGTestSourceActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGTestSourceActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGTestSourceActions::getRecord() { - return record; -} -void -SWGTestSourceActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGTestSourceActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGTestSourceActions.h b/swagger/sdrangel/code/qt5/client/SWGTestSourceActions.h deleted file mode 100644 index 05e2e6986..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGTestSourceActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGTestSourceActions.h - * - * TestSource - */ - -#ifndef SWGTestSourceActions_H_ -#define SWGTestSourceActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGTestSourceActions: public SWGObject { -public: - SWGTestSourceActions(); - SWGTestSourceActions(QString* json); - virtual ~SWGTestSourceActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGTestSourceActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGTestSourceActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.cpp index 7946d599f..4ca24ead8 100644 --- a/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.cpp @@ -60,8 +60,6 @@ SWGTestSourceSettings::SWGTestSourceSettings() { m_q_factor_isSet = false; phase_imbalance = 0.0f; m_phase_imbalance_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -110,8 +108,6 @@ SWGTestSourceSettings::init() { m_q_factor_isSet = false; phase_imbalance = 0.0f; m_phase_imbalance_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -140,9 +136,6 @@ SWGTestSourceSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -194,8 +187,6 @@ SWGTestSourceSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&phase_imbalance, pJson["phaseImbalance"], "float", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -268,9 +259,6 @@ SWGTestSourceSettings::asJsonObject() { if(m_phase_imbalance_isSet){ obj->insert("phaseImbalance", QJsonValue(phase_imbalance)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -447,16 +435,6 @@ SWGTestSourceSettings::setPhaseImbalance(float phase_imbalance) { this->m_phase_imbalance_isSet = true; } -QString* -SWGTestSourceSettings::getFileRecordName() { - return file_record_name; -} -void -SWGTestSourceSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGTestSourceSettings::getUseReverseApi() { return use_reverse_api; @@ -550,9 +528,6 @@ SWGTestSourceSettings::isSet(){ if(m_phase_imbalance_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.h b/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.h index f8494dd73..845bb37a1 100644 --- a/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.h @@ -90,9 +90,6 @@ public: float getPhaseImbalance(); void setPhaseImbalance(float phase_imbalance); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -157,9 +154,6 @@ private: float phase_imbalance; bool m_phase_imbalance_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet; diff --git a/swagger/sdrangel/code/qt5/client/SWGXtrxInputActions.cpp b/swagger/sdrangel/code/qt5/client/SWGXtrxInputActions.cpp deleted file mode 100644 index 8e9e1104d..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGXtrxInputActions.cpp +++ /dev/null @@ -1,108 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - - -#include "SWGXtrxInputActions.h" - -#include "SWGHelpers.h" - -#include -#include -#include -#include - -namespace SWGSDRangel { - -SWGXtrxInputActions::SWGXtrxInputActions(QString* json) { - init(); - this->fromJson(*json); -} - -SWGXtrxInputActions::SWGXtrxInputActions() { - record = 0; - m_record_isSet = false; -} - -SWGXtrxInputActions::~SWGXtrxInputActions() { - this->cleanup(); -} - -void -SWGXtrxInputActions::init() { - record = 0; - m_record_isSet = false; -} - -void -SWGXtrxInputActions::cleanup() { - -} - -SWGXtrxInputActions* -SWGXtrxInputActions::fromJson(QString &json) { - QByteArray array (json.toStdString().c_str()); - QJsonDocument doc = QJsonDocument::fromJson(array); - QJsonObject jsonObject = doc.object(); - this->fromJsonObject(jsonObject); - return this; -} - -void -SWGXtrxInputActions::fromJsonObject(QJsonObject &pJson) { - ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", ""); - -} - -QString -SWGXtrxInputActions::asJson () -{ - QJsonObject* obj = this->asJsonObject(); - - QJsonDocument doc(*obj); - QByteArray bytes = doc.toJson(); - delete obj; - return QString(bytes); -} - -QJsonObject* -SWGXtrxInputActions::asJsonObject() { - QJsonObject* obj = new QJsonObject(); - if(m_record_isSet){ - obj->insert("record", QJsonValue(record)); - } - - return obj; -} - -qint32 -SWGXtrxInputActions::getRecord() { - return record; -} -void -SWGXtrxInputActions::setRecord(qint32 record) { - this->record = record; - this->m_record_isSet = true; -} - - -bool -SWGXtrxInputActions::isSet(){ - bool isObjectUpdated = false; - do{ - if(m_record_isSet){ - isObjectUpdated = true; break; - } - }while(false); - return isObjectUpdated; -} -} - diff --git a/swagger/sdrangel/code/qt5/client/SWGXtrxInputActions.h b/swagger/sdrangel/code/qt5/client/SWGXtrxInputActions.h deleted file mode 100644 index 81ceb46ac..000000000 --- a/swagger/sdrangel/code/qt5/client/SWGXtrxInputActions.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * SDRangel - * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time --- - * - * OpenAPI spec version: 5.6.0 - * Contact: f4exb06@gmail.com - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * Do not edit the class manually. - */ - -/* - * SWGXtrxInputActions.h - * - * XTRX - */ - -#ifndef SWGXtrxInputActions_H_ -#define SWGXtrxInputActions_H_ - -#include - - - -#include "SWGObject.h" -#include "export.h" - -namespace SWGSDRangel { - -class SWG_API SWGXtrxInputActions: public SWGObject { -public: - SWGXtrxInputActions(); - SWGXtrxInputActions(QString* json); - virtual ~SWGXtrxInputActions(); - void init(); - void cleanup(); - - virtual QString asJson () override; - virtual QJsonObject* asJsonObject() override; - virtual void fromJsonObject(QJsonObject &json) override; - virtual SWGXtrxInputActions* fromJson(QString &jsonString) override; - - qint32 getRecord(); - void setRecord(qint32 record); - - - virtual bool isSet() override; - -private: - qint32 record; - bool m_record_isSet; - -}; - -} - -#endif /* SWGXtrxInputActions_H_ */ diff --git a/swagger/sdrangel/code/qt5/client/SWGXtrxInputSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGXtrxInputSettings.cpp index f5243c521..c535e3785 100644 --- a/swagger/sdrangel/code/qt5/client/SWGXtrxInputSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGXtrxInputSettings.cpp @@ -66,8 +66,6 @@ SWGXtrxInputSettings::SWGXtrxInputSettings() { m_pwrmode_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = nullptr; - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = nullptr; @@ -122,8 +120,6 @@ SWGXtrxInputSettings::init() { m_pwrmode_isSet = false; iq_order = 0; m_iq_order_isSet = false; - file_record_name = new QString(""); - m_file_record_name_isSet = false; use_reverse_api = 0; m_use_reverse_api_isSet = false; reverse_api_address = new QString(""); @@ -155,9 +151,6 @@ SWGXtrxInputSettings::cleanup() { - if(file_record_name != nullptr) { - delete file_record_name; - } if(reverse_api_address != nullptr) { delete reverse_api_address; @@ -215,8 +208,6 @@ SWGXtrxInputSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&iq_order, pJson["iqOrder"], "qint32", ""); - ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString"); - ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", ""); ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString"); @@ -298,9 +289,6 @@ SWGXtrxInputSettings::asJsonObject() { if(m_iq_order_isSet){ obj->insert("iqOrder", QJsonValue(iq_order)); } - if(file_record_name != nullptr && *file_record_name != QString("")){ - toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString")); - } if(m_use_reverse_api_isSet){ obj->insert("useReverseAPI", QJsonValue(use_reverse_api)); } @@ -507,16 +495,6 @@ SWGXtrxInputSettings::setIqOrder(qint32 iq_order) { this->m_iq_order_isSet = true; } -QString* -SWGXtrxInputSettings::getFileRecordName() { - return file_record_name; -} -void -SWGXtrxInputSettings::setFileRecordName(QString* file_record_name) { - this->file_record_name = file_record_name; - this->m_file_record_name_isSet = true; -} - qint32 SWGXtrxInputSettings::getUseReverseApi() { return use_reverse_api; @@ -619,9 +597,6 @@ SWGXtrxInputSettings::isSet(){ if(m_iq_order_isSet){ isObjectUpdated = true; break; } - if(file_record_name && *file_record_name != QString("")){ - isObjectUpdated = true; break; - } if(m_use_reverse_api_isSet){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGXtrxInputSettings.h b/swagger/sdrangel/code/qt5/client/SWGXtrxInputSettings.h index 29e7fa0a0..864e18b75 100644 --- a/swagger/sdrangel/code/qt5/client/SWGXtrxInputSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGXtrxInputSettings.h @@ -99,9 +99,6 @@ public: qint32 getIqOrder(); void setIqOrder(qint32 iq_order); - QString* getFileRecordName(); - void setFileRecordName(QString* file_record_name); - qint32 getUseReverseApi(); void setUseReverseApi(qint32 use_reverse_api); @@ -175,9 +172,6 @@ private: qint32 iq_order; bool m_iq_order_isSet; - QString* file_record_name; - bool m_file_record_name_isSet; - qint32 use_reverse_api; bool m_use_reverse_api_isSet;