SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <webapiadaptersrv.h>
Private Member Functions | |
void | getDeviceSetList (SWGSDRangel::SWGDeviceSetList *deviceSetList) |
void | getDeviceSet (SWGSDRangel::SWGDeviceSet *swgDeviceSet, const DeviceSet *deviceSet, int deviceUISetIndex) |
void | getChannelsDetail (SWGSDRangel::SWGChannelsDetail *channelsDetail, const DeviceSet *deviceSet) |
Static Private Member Functions | |
static QtMsgType | getMsgTypeFromString (const QString &msgTypeString) |
static void | getMsgTypeString (const QtMsgType &msgType, QString &level) |
Private Attributes | |
MainCore & | m_mainCore |
Additional Inherited Members | |
Static Public Attributes inherited from WebAPIAdapterInterface | |
static QString | instanceSummaryURL = "/sdrangel" |
static QString | instanceConfigURL = "/sdrangel/config" |
static QString | instanceDevicesURL = "/sdrangel/devices" |
static QString | instanceChannelsURL = "/sdrangel/channels" |
static QString | instanceLoggingURL = "/sdrangel/logging" |
static QString | instanceAudioURL = "/sdrangel/audio" |
static QString | instanceAudioInputParametersURL = "/sdrangel/audio/input/parameters" |
static QString | instanceAudioOutputParametersURL = "/sdrangel/audio/output/parameters" |
static QString | instanceAudioInputCleanupURL = "/sdrangel/audio/input/cleanup" |
static QString | instanceAudioOutputCleanupURL = "/sdrangel/audio/output/cleanup" |
static QString | instanceLocationURL = "/sdrangel/location" |
static QString | instanceAMBESerialURL = "/sdrangel/ambe/serial" |
static QString | instanceAMBEDevicesURL = "/sdrangel/ambe/devices" |
static QString | instancePresetsURL = "/sdrangel/presets" |
static QString | instancePresetURL = "/sdrangel/preset" |
static QString | instancePresetFileURL = "/sdrangel/preset/file" |
static QString | instanceDeviceSetsURL = "/sdrangel/devicesets" |
static QString | instanceDeviceSetURL = "/sdrangel/deviceset" |
static std::regex | devicesetURLRe |
static std::regex | devicesetFocusURLRe |
static std::regex | devicesetDeviceURLRe |
static std::regex | devicesetDeviceSettingsURLRe |
static std::regex | devicesetDeviceRunURLRe |
static std::regex | devicesetDeviceReportURLRe |
static std::regex | devicesetChannelURLRe |
static std::regex | devicesetChannelIndexURLRe |
static std::regex | devicesetChannelSettingsURLRe |
static std::regex | devicesetChannelReportURLRe |
static std::regex | devicesetChannelsReportURLRe |
Definition at line 30 of file webapiadaptersrv.h.
WebAPIAdapterSrv::WebAPIAdapterSrv | ( | MainCore & | mainCore | ) |
Definition at line 63 of file webapiadaptersrv.cpp.
|
virtual |
Definition at line 68 of file webapiadaptersrv.cpp.
|
virtual |
Handler of /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex} (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1667 of file webapiadaptersrv.cpp.
References MainCore::MsgDeleteChannel::create(), SWGSDRangel::SWGSuccessResponse::getMessage(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGSuccessResponse::init(), MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, MainCore::m_inputMessageQueue, m_mainCore, and MessageQueue::push().
|
virtual |
Handler of /sdrangel/deviceset/{deviceSetIndex}/channel (POST) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1570 of file webapiadaptersrv.cpp.
References MainCore::MsgAddChannel::create(), SWGSDRangel::SWGChannelSettings::getChannelType(), SWGSDRangel::SWGChannelSettings::getDirection(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGSuccessResponse::getMessage(), PluginManager::getRxChannelRegistrations(), PluginManager::getTxChannelRegistrations(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGSuccessResponse::init(), MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, MainCore::m_inputMessageQueue, m_mainCore, MainCore::m_pluginManager, and MessageQueue::push().
|
virtual |
Handler of /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1793 of file webapiadaptersrv.cpp.
References DeviceAPI::getChanelSinkAPIAt(), DeviceAPI::getChanelSourceAPIAt(), SWGSDRangel::SWGChannelReport::getChannelType(), ChannelAPI::getIdentifier(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGErrorResponse::init(), DeviceSet::m_deviceAPI, MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, m_mainCore, SWGSDRangel::SWGChannelReport::setChannelType(), SWGSDRangel::SWGChannelReport::setDirection(), and ChannelAPI::webapiReportGet().
|
virtual |
Handler of /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1734 of file webapiadaptersrv.cpp.
References DeviceAPI::getChanelSinkAPIAt(), DeviceAPI::getChanelSourceAPIAt(), SWGSDRangel::SWGChannelSettings::getChannelType(), ChannelAPI::getIdentifier(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGErrorResponse::init(), DeviceSet::m_deviceAPI, MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, m_mainCore, SWGSDRangel::SWGChannelSettings::setChannelType(), SWGSDRangel::SWGChannelSettings::setDirection(), and ChannelAPI::webapiSettingsGet().
|
virtual |
Handler of /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings (PUT, PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1852 of file webapiadaptersrv.cpp.
References arg(), DeviceAPI::getChanelSinkAPIAt(), DeviceAPI::getChanelSourceAPIAt(), SWGSDRangel::SWGChannelSettings::getChannelType(), ChannelAPI::getIdentifier(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGErrorResponse::init(), DeviceSet::m_deviceAPI, MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, m_mainCore, and ChannelAPI::webapiSettingsPutPatch().
|
virtual |
Handler of /sdrangel/deviceset/{devicesetIndex}/channels/report (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1549 of file webapiadaptersrv.cpp.
References getChannelsDetail(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGErrorResponse::init(), MainCore::m_deviceSets, and m_mainCore.
|
virtual |
Handler of /sdrangel/deviceset/{devicesetIndex}/device (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1199 of file webapiadaptersrv.cpp.
References MainCore::MsgSetDevice::create(), PluginInterface::SamplingDevice::deviceItemIndex, PluginInterface::SamplingDevice::deviceNbItems, PluginInterface::SamplingDevice::displayedName, SWGSDRangel::SWGDeviceListItem::getDeviceStreamIndex(), SWGSDRangel::SWGDeviceListItem::getDirection(), SWGSDRangel::SWGDeviceListItem::getDisplayedName(), SWGSDRangel::SWGDeviceListItem::getHwType(), SWGSDRangel::SWGErrorResponse::getMessage(), DeviceEnumerator::getNbRxSamplingDevices(), DeviceEnumerator::getNbTxSamplingDevices(), DeviceEnumerator::getRxSamplingDevice(), SWGSDRangel::SWGDeviceListItem::getSequence(), SWGSDRangel::SWGDeviceListItem::getSerial(), DeviceEnumerator::getTxSamplingDevice(), PluginInterface::SamplingDevice::hardwareId, i, SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGDeviceListItem::init(), DeviceEnumerator::instance(), MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, MainCore::m_inputMessageQueue, m_mainCore, MessageQueue::push(), PluginInterface::SamplingDevice::sequence, PluginInterface::SamplingDevice::serial, SWGSDRangel::SWGDeviceListItem::setDeviceNbStreams(), SWGSDRangel::SWGDeviceListItem::setDeviceSetIndex(), SWGSDRangel::SWGDeviceListItem::setDeviceStreamIndex(), SWGSDRangel::SWGDeviceListItem::setDirection(), SWGSDRangel::SWGDeviceListItem::setIndex(), and SWGSDRangel::SWGDeviceListItem::setSequence().
|
virtual |
Handler of /sdrangel/deviceset/{devicesetIndex}/device/report (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1511 of file webapiadaptersrv.cpp.
References DeviceAPI::getHardwareId(), SWGSDRangel::SWGErrorResponse::getMessage(), DeviceAPI::getSampleSink(), DeviceAPI::getSampleSource(), SWGSDRangel::SWGErrorResponse::init(), DeviceSet::m_deviceAPI, MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, m_mainCore, SWGSDRangel::SWGDeviceReport::setDeviceHwType(), SWGSDRangel::SWGDeviceReport::setDirection(), DeviceSampleSink::webapiReportGet(), and DeviceSampleSource::webapiReportGet().
|
virtual |
Handler of /sdrangel/deviceset/{devicesetIndex}/device/run (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1475 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGErrorResponse::getMessage(), DeviceAPI::getSampleSink(), DeviceAPI::getSampleSource(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGDeviceState::init(), DeviceSet::m_deviceAPI, MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, m_mainCore, DeviceSampleSink::webapiRun(), and DeviceSampleSource::webapiRun().
|
virtual |
Handler of /sdrangel/deviceset/{devicesetIndex}/device/run (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1403 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGErrorResponse::getMessage(), DeviceAPI::getSampleSink(), DeviceAPI::getSampleSource(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGDeviceState::init(), DeviceSet::m_deviceAPI, MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, m_mainCore, DeviceSampleSink::webapiRunGet(), and DeviceSampleSource::webapiRunGet().
|
virtual |
Handler of /sdrangel/deviceset/{devicesetIndex}/device/run (POST) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1439 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGErrorResponse::getMessage(), DeviceAPI::getSampleSink(), DeviceAPI::getSampleSource(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGDeviceState::init(), DeviceSet::m_deviceAPI, MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, m_mainCore, DeviceSampleSink::webapiRun(), and DeviceSampleSource::webapiRun().
|
virtual |
Handler of /sdrangel/deviceset/{devicesetIndex}/device/settings (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1303 of file webapiadaptersrv.cpp.
References DeviceAPI::getHardwareId(), SWGSDRangel::SWGErrorResponse::getMessage(), DeviceAPI::getSampleSink(), DeviceAPI::getSampleSource(), SWGSDRangel::SWGErrorResponse::init(), DeviceSet::m_deviceAPI, MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, m_mainCore, SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGDeviceSettings::setDirection(), DeviceSampleSink::webapiSettingsGet(), and DeviceSampleSource::webapiSettingsGet().
|
virtual |
Handler of /sdrangel/deviceset/{devicesetIndex}/device/settings (PUT, PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1341 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGDeviceSettings::getDeviceHwType(), SWGSDRangel::SWGDeviceSettings::getDirection(), DeviceAPI::getHardwareId(), SWGSDRangel::SWGErrorResponse::getMessage(), DeviceAPI::getSampleSink(), DeviceAPI::getSampleSource(), SWGSDRangel::SWGErrorResponse::init(), DeviceSet::m_deviceAPI, MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, m_mainCore, DeviceSampleSink::webapiSettingsPutPatch(), and DeviceSampleSource::webapiSettingsPutPatch().
|
virtual |
Handler of /sdrangel/deviceset/{devicesetIndex}/focus (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1190 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGErrorResponse::getMessage().
|
virtual |
Handler of /sdrangel/deviceset/{devicesetIndex} (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1169 of file webapiadaptersrv.cpp.
References getDeviceSet(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGErrorResponse::init(), MainCore::m_deviceSets, and m_mainCore.
|
private |
Definition at line 2023 of file webapiadaptersrv.cpp.
References ChannelAPI::getCenterFrequency(), DeviceAPI::getChanelSinkAPIAt(), DeviceAPI::getChanelSourceAPIAt(), SWGSDRangel::SWGChannelsDetail::getChannelcount(), SWGSDRangel::SWGChannelsDetail::getChannels(), ChannelAPI::getIdentifier(), ChannelAPI::getIndexInDeviceSet(), DeviceAPI::getNbSinkChannels(), DeviceAPI::getNbSourceChannels(), ChannelAPI::getTitle(), ChannelAPI::getUID(), i, SWGSDRangel::SWGChannelsDetail::init(), DeviceSet::m_deviceAPI, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, SWGSDRangel::SWGChannelsDetail::setChannelcount(), and ChannelAPI::webapiReportGet().
Referenced by devicesetChannelsReportGet().
|
private |
Definition at line 1951 of file webapiadaptersrv.cpp.
References ChannelAPI::getCenterFrequency(), DeviceSampleSink::getCenterFrequency(), DeviceSampleSource::getCenterFrequency(), DeviceAPI::getChanelSinkAPIAt(), DeviceAPI::getChanelSourceAPIAt(), SWGSDRangel::SWGDeviceSet::getChannelcount(), SWGSDRangel::SWGDeviceSet::getChannels(), DeviceAPI::getDeviceEngineStateStr(), DeviceAPI::getDeviceItemIndex(), DeviceAPI::getDeviceNbItems(), DeviceAPI::getHardwareId(), SWGSDRangel::SWGSamplingDevice::getHwType(), ChannelAPI::getIdentifier(), ChannelAPI::getIndexInDeviceSet(), DeviceAPI::getNbSinkChannels(), DeviceAPI::getNbSourceChannels(), DeviceSampleSink::getSampleRate(), DeviceSampleSource::getSampleRate(), SWGSDRangel::SWGDeviceSet::getSamplingDevice(), DeviceAPI::getSamplingDeviceSequence(), DeviceAPI::getSamplingDeviceSerial(), SWGSDRangel::SWGSamplingDevice::getSerial(), DSPDeviceSinkEngine::getSink(), DSPDeviceSourceEngine::getSource(), SWGSDRangel::SWGSamplingDevice::getState(), ChannelAPI::getTitle(), ChannelAPI::getUID(), i, SWGSDRangel::SWGSamplingDevice::init(), SWGSDRangel::SWGDeviceSet::init(), DeviceSet::m_deviceAPI, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, SWGSDRangel::SWGSamplingDevice::setBandwidth(), SWGSDRangel::SWGSamplingDevice::setCenterFrequency(), SWGSDRangel::SWGDeviceSet::setChannelcount(), SWGSDRangel::SWGSamplingDevice::setDeviceNbStreams(), SWGSDRangel::SWGSamplingDevice::setDeviceStreamIndex(), SWGSDRangel::SWGSamplingDevice::setDirection(), SWGSDRangel::SWGSamplingDevice::setIndex(), and SWGSDRangel::SWGSamplingDevice::setSequence().
Referenced by devicesetGet(), and getDeviceSetList().
|
private |
Definition at line 1935 of file webapiadaptersrv.cpp.
References getDeviceSet(), SWGSDRangel::SWGDeviceSetList::getDeviceSets(), i, SWGSDRangel::SWGDeviceSetList::init(), MainCore::m_deviceSets, m_mainCore, and SWGSDRangel::SWGDeviceSetList::setDevicesetcount().
Referenced by instanceDeviceSetsGet(), and instanceSummary().
|
staticprivate |
Definition at line 2082 of file webapiadaptersrv.cpp.
Referenced by instanceLoggingPut().
|
staticprivate |
Definition at line 2097 of file webapiadaptersrv.cpp.
Referenced by instanceLoggingPut().
|
virtual |
Handler of /sdrangel/ambe/devices (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 695 of file webapiadaptersrv.cpp.
References DSPEngine::getAMBEEngine(), SWGSDRangel::SWGSuccessResponse::getMessage(), SWGSDRangel::SWGSuccessResponse::init(), MainCore::m_dspEngine, m_mainCore, and AMBEEngine::releaseAll().
|
virtual |
Handler of /sdrangel/ambe/devices (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 669 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGAMBEDevices::getAmbeDevices(), DSPEngine::getDVSerialNames(), SWGSDRangel::SWGAMBEDevices::init(), MainCore::m_dspEngine, m_mainCore, and SWGSDRangel::SWGAMBEDevices::setNbDevices().
Referenced by instanceAMBEDevicesPatch(), and instanceAMBEDevicesPut().
|
virtual |
Handler of /sdrangel/ambe/devices (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 725 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGAMBEDevices::getAmbeDevices(), DSPEngine::getAMBEEngine(), instanceAMBEDevicesGet(), MainCore::m_dspEngine, m_mainCore, AMBEEngine::registerController(), and AMBEEngine::releaseController().
|
virtual |
Handler of /sdrangel/ambe/devices (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 708 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGAMBEDevices::getAmbeDevices(), DSPEngine::getAMBEEngine(), instanceAMBEDevicesGet(), MainCore::m_dspEngine, m_mainCore, AMBEEngine::registerController(), and AMBEEngine::releaseAll().
|
virtual |
Handler of /sdrangel/ambe/serial (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 638 of file webapiadaptersrv.cpp.
References DSPEngine::getAMBEEngine(), SWGSDRangel::SWGDVSerialDevices::getDvSerialDevices(), SWGSDRangel::SWGDVSerialDevices::init(), MainCore::m_dspEngine, m_mainCore, AMBEEngine::scan(), and SWGSDRangel::SWGDVSerialDevices::setNbDevices().
|
virtual |
Handler of /sdrangel/audio (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 289 of file webapiadaptersrv.cpp.
References AudioDeviceManager::OutputDeviceInfo::copyToUDP, DSPEngine::getAudioDeviceManager(), AudioDeviceManager::getInputDeviceInfo(), SWGSDRangel::SWGAudioDevices::getInputDevices(), AudioDeviceManager::getInputDevices(), AudioDeviceManager::getOutputDeviceInfo(), SWGSDRangel::SWGAudioDevices::getOutputDevices(), AudioDeviceManager::getOutputDevices(), i, SWGSDRangel::SWGAudioDevices::init(), AudioDeviceManager::m_defaultDeviceName, MainCore::m_dspEngine, m_mainCore, AudioDeviceManager::InputDeviceInfo::resetToDefaults(), AudioDeviceManager::OutputDeviceInfo::resetToDefaults(), AudioDeviceManager::InputDeviceInfo::sampleRate, AudioDeviceManager::OutputDeviceInfo::sampleRate, SWGSDRangel::SWGAudioDevices::setNbInputDevices(), SWGSDRangel::SWGAudioDevices::setNbOutputDevices(), AudioDeviceManager::OutputDeviceInfo::udpAddress, AudioDeviceManager::OutputDeviceInfo::udpChannelCodec, AudioDeviceManager::OutputDeviceInfo::udpChannelMode, AudioDeviceManager::OutputDeviceInfo::udpDecimationFactor, AudioDeviceManager::OutputDeviceInfo::udpPort, AudioDeviceManager::OutputDeviceInfo::udpUseRTP, and AudioDeviceManager::InputDeviceInfo::volume.
|
virtual |
Handler of /sdrangel/audio/input/cleanup (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 526 of file webapiadaptersrv.cpp.
References DSPEngine::getAudioDeviceManager(), SWGSDRangel::SWGSuccessResponse::getMessage(), SWGSDRangel::SWGSuccessResponse::init(), AudioDeviceManager::inputInfosCleanup(), MainCore::m_dspEngine, and m_mainCore.
|
virtual |
Handler of /sdrangel/audio/input/parameters (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 466 of file webapiadaptersrv.cpp.
References DSPEngine::getAudioDeviceManager(), SWGSDRangel::SWGAudioInputDevice::getIndex(), AudioDeviceManager::getInputDeviceInfo(), AudioDeviceManager::getInputDeviceName(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGErrorResponse::init(), MainCore::m_dspEngine, m_mainCore, AudioDeviceManager::InputDeviceInfo::sampleRate, SWGSDRangel::SWGAudioInputDevice::setSampleRate(), SWGSDRangel::SWGAudioInputDevice::setVolume(), AudioDeviceManager::unsetInputDeviceInfo(), and AudioDeviceManager::InputDeviceInfo::volume.
|
virtual |
Handler of /sdrangel/audio/input/parameters (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 373 of file webapiadaptersrv.cpp.
References DSPEngine::getAudioDeviceManager(), SWGSDRangel::SWGAudioInputDevice::getIndex(), AudioDeviceManager::getInputDeviceInfo(), AudioDeviceManager::getInputDeviceName(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGAudioInputDevice::getSampleRate(), SWGSDRangel::SWGAudioInputDevice::getVolume(), SWGSDRangel::SWGErrorResponse::init(), MainCore::m_dspEngine, m_mainCore, AudioDeviceManager::InputDeviceInfo::sampleRate, AudioDeviceManager::setInputDeviceInfo(), SWGSDRangel::SWGAudioInputDevice::setSampleRate(), SWGSDRangel::SWGAudioInputDevice::setVolume(), and AudioDeviceManager::InputDeviceInfo::volume.
|
virtual |
Handler of /sdrangel/audio/output/cleanup (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 538 of file webapiadaptersrv.cpp.
References DSPEngine::getAudioDeviceManager(), SWGSDRangel::SWGSuccessResponse::getMessage(), SWGSDRangel::SWGSuccessResponse::init(), MainCore::m_dspEngine, m_mainCore, and AudioDeviceManager::outputInfosCleanup().
|
virtual |
Handler of /sdrangel/audio/output/paramaters (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 490 of file webapiadaptersrv.cpp.
References AudioDeviceManager::OutputDeviceInfo::copyToUDP, DSPEngine::getAudioDeviceManager(), SWGSDRangel::SWGAudioOutputDevice::getIndex(), SWGSDRangel::SWGErrorResponse::getMessage(), AudioDeviceManager::getOutputDeviceInfo(), AudioDeviceManager::getOutputDeviceName(), SWGSDRangel::SWGAudioOutputDevice::getUdpAddress(), SWGSDRangel::SWGErrorResponse::init(), MainCore::m_dspEngine, m_mainCore, AudioDeviceManager::OutputDeviceInfo::sampleRate, SWGSDRangel::SWGAudioOutputDevice::setCopyToUdp(), SWGSDRangel::SWGAudioOutputDevice::setSampleRate(), SWGSDRangel::SWGAudioOutputDevice::setUdpAddress(), SWGSDRangel::SWGAudioOutputDevice::setUdpChannelCodec(), SWGSDRangel::SWGAudioOutputDevice::setUdpChannelMode(), SWGSDRangel::SWGAudioOutputDevice::setUdpDecimationFactor(), SWGSDRangel::SWGAudioOutputDevice::setUdpPort(), SWGSDRangel::SWGAudioOutputDevice::setUdpUsesRtp(), AudioDeviceManager::OutputDeviceInfo::udpAddress, AudioDeviceManager::OutputDeviceInfo::udpChannelCodec, AudioDeviceManager::OutputDeviceInfo::udpChannelMode, AudioDeviceManager::OutputDeviceInfo::udpDecimationFactor, AudioDeviceManager::OutputDeviceInfo::udpPort, AudioDeviceManager::OutputDeviceInfo::udpUseRTP, and AudioDeviceManager::unsetInputDeviceInfo().
|
virtual |
Handler of /sdrangel/audio/output/parameters (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 408 of file webapiadaptersrv.cpp.
References AudioDeviceManager::OutputDeviceInfo::copyToUDP, DSPEngine::getAudioDeviceManager(), SWGSDRangel::SWGAudioOutputDevice::getCopyToUdp(), SWGSDRangel::SWGAudioOutputDevice::getIndex(), SWGSDRangel::SWGErrorResponse::getMessage(), AudioDeviceManager::getOutputDeviceInfo(), AudioDeviceManager::getOutputDeviceName(), SWGSDRangel::SWGAudioOutputDevice::getSampleRate(), SWGSDRangel::SWGAudioOutputDevice::getUdpAddress(), SWGSDRangel::SWGAudioOutputDevice::getUdpChannelMode(), SWGSDRangel::SWGAudioOutputDevice::getUdpPort(), SWGSDRangel::SWGAudioOutputDevice::getUdpUsesRtp(), SWGSDRangel::SWGErrorResponse::init(), MainCore::m_dspEngine, m_mainCore, AudioDeviceManager::OutputDeviceInfo::sampleRate, SWGSDRangel::SWGAudioOutputDevice::setCopyToUdp(), AudioDeviceManager::setOutputDeviceInfo(), SWGSDRangel::SWGAudioOutputDevice::setSampleRate(), SWGSDRangel::SWGAudioOutputDevice::setUdpAddress(), SWGSDRangel::SWGAudioOutputDevice::setUdpChannelCodec(), SWGSDRangel::SWGAudioOutputDevice::setUdpChannelMode(), SWGSDRangel::SWGAudioOutputDevice::setUdpDecimationFactor(), SWGSDRangel::SWGAudioOutputDevice::setUdpPort(), SWGSDRangel::SWGAudioOutputDevice::setUdpUsesRtp(), AudioDeviceManager::OutputDeviceInfo::udpAddress, AudioDeviceManager::OutputDeviceInfo::udpChannelCodec, AudioDeviceManager::OutputDeviceInfo::udpChannelMode, AudioDeviceManager::OutputDeviceInfo::udpDecimationFactor, AudioDeviceManager::OutputDeviceInfo::udpPort, and AudioDeviceManager::OutputDeviceInfo::udpUseRTP.
|
virtual |
Handler of /sdrangel/channels (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 189 of file webapiadaptersrv.cpp.
References PluginDescriptor::displayedName, SWGSDRangel::SWGInstanceChannelsResponse::getChannels(), PluginInterface::getPluginDescriptor(), PluginManager::getRxChannelRegistrations(), PluginManager::getTxChannelRegistrations(), i, SWGSDRangel::SWGInstanceChannelsResponse::init(), m_mainCore, MainCore::m_pluginManager, SWGSDRangel::SWGInstanceChannelsResponse::setChannelcount(), and PluginDescriptor::version.
|
virtual |
Handler of /sdrangel/config (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceSummary returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 118 of file webapiadaptersrv.cpp.
References MainCore::getMainSettings(), MainSettings::getPreferences(), SWGSDRangel::SWGInstanceConfigResponse::getPreferences(), MainSettings::getPreset(), MainSettings::getPresetCount(), SWGSDRangel::SWGInstanceConfigResponse::getPresets(), SWGSDRangel::SWGInstanceConfigResponse::getWorkingPreset(), MainSettings::getWorkingPresetConst(), i, SWGSDRangel::SWGInstanceConfigResponse::init(), m_mainCore, MainCore::m_settings, WebAPIAdapterBase::webapiFormatPreferences(), and WebAPIAdapterBase::webapiFormatPreset().
|
virtual |
Handler of /sdrangel (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceSummary returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 105 of file webapiadaptersrv.cpp.
References MainCore::MsgDeleteInstance::create(), MainCore::getInputMessageQueue(), SWGSDRangel::SWGSuccessResponse::getMessage(), SWGSDRangel::SWGSuccessResponse::init(), m_mainCore, and MessageQueue::push().
|
virtual |
Handler of /sdrangel/devices (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceDevices returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 141 of file webapiadaptersrv.cpp.
References PluginInterface::SamplingDevice::claimed, PluginInterface::SamplingDevice::deviceNbItems, PluginInterface::SamplingDevice::displayedName, SWGSDRangel::SWGInstanceDevicesResponse::getDevices(), DeviceEnumerator::getNbRxSamplingDevices(), DeviceEnumerator::getNbTxSamplingDevices(), DeviceEnumerator::getRxSamplingDevice(), DeviceEnumerator::getTxSamplingDevice(), PluginInterface::SamplingDevice::hardwareId, i, SWGSDRangel::SWGInstanceDevicesResponse::init(), DeviceEnumerator::instance(), PluginInterface::SamplingDevice::sequence, PluginInterface::SamplingDevice::serial, SWGSDRangel::SWGInstanceDevicesResponse::setDevicecount(), and PluginInterface::SamplingDevice::streamType.
|
virtual |
Handler of /sdrangel/deviceset (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1146 of file webapiadaptersrv.cpp.
References MainCore::MsgRemoveLastDeviceSet::create(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGSuccessResponse::getMessage(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGSuccessResponse::init(), MainCore::m_deviceSets, MainCore::m_inputMessageQueue, m_mainCore, and MessageQueue::push().
|
virtual |
Handler of /sdrangel/deviceset (POST) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1132 of file webapiadaptersrv.cpp.
References MainCore::MsgAddDeviceSet::create(), SWGSDRangel::SWGSuccessResponse::getMessage(), SWGSDRangel::SWGSuccessResponse::init(), MainCore::m_inputMessageQueue, m_mainCore, and MessageQueue::push().
|
virtual |
Handler of /sdrangel/devicesets (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1124 of file webapiadaptersrv.cpp.
References getDeviceSetList().
|
virtual |
Definition at line 580 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGDVSerialDevices::getDvSerialDevices(), DSPEngine::getDVSerialNames(), SWGSDRangel::SWGDVSerialDevices::init(), MainCore::m_dspEngine, m_mainCore, and SWGSDRangel::SWGDVSerialDevices::setNbDevices().
|
virtual |
Definition at line 604 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGDVSerialDevices::getDvSerialDevices(), DSPEngine::getDVSerialNames(), SWGSDRangel::SWGDVSerialDevices::init(), MainCore::m_dspEngine, m_mainCore, DSPEngine::setDVSerialSupport(), and SWGSDRangel::SWGDVSerialDevices::setNbDevices().
|
virtual |
Handler of /sdrangel/location (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 550 of file webapiadaptersrv.cpp.
References MainSettings::getLatitude(), MainSettings::getLongitude(), SWGSDRangel::SWGLocationInformation::init(), m_mainCore, MainCore::m_settings, SWGSDRangel::SWGLocationInformation::setLatitude(), and SWGSDRangel::SWGLocationInformation::setLongitude().
|
virtual |
Handler of /sdrangel/location (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 561 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGLocationInformation::getLatitude(), MainSettings::getLatitude(), SWGSDRangel::SWGLocationInformation::getLongitude(), MainSettings::getLongitude(), m_mainCore, MainCore::m_settings, SWGSDRangel::SWGLocationInformation::setLatitude(), MainSettings::setLatitude(), SWGSDRangel::SWGLocationInformation::setLongitude(), and MainSettings::setLongitude().
|
virtual |
Handler of /sdrangel/logging (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 234 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGLoggingInfo::getConsoleLevel(), qtwebapp::LoggerWithFile::getConsoleMinMessageLevelStr(), SWGSDRangel::SWGLoggingInfo::getDumpToFile(), SWGSDRangel::SWGLoggingInfo::getFileLevel(), qtwebapp::LoggerWithFile::getFileMinMessageLevelStr(), SWGSDRangel::SWGLoggingInfo::getFileName(), qtwebapp::LoggerWithFile::getLogFileName(), qtwebapp::LoggerWithFile::getUseFileLogger(), SWGSDRangel::SWGLoggingInfo::init(), MainCore::m_logger, m_mainCore, and SWGSDRangel::SWGLoggingInfo::setDumpToFile().
|
virtual |
Handler of /sdrangel/logging (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 251 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGLoggingInfo::getConsoleLevel(), MainSettings::getConsoleMinLogLevel(), SWGSDRangel::SWGLoggingInfo::getDumpToFile(), SWGSDRangel::SWGLoggingInfo::getFileLevel(), MainSettings::getFileMinLogLevel(), SWGSDRangel::SWGLoggingInfo::getFileName(), MainSettings::getLogFileName(), getMsgTypeFromString(), getMsgTypeString(), MainSettings::getUseLogFile(), SWGSDRangel::SWGLoggingInfo::init(), m_mainCore, MainCore::m_settings, MainSettings::setConsoleMinLogLevel(), SWGSDRangel::SWGLoggingInfo::setDumpToFile(), MainSettings::setFileMinLogLevel(), MainSettings::setLogFileName(), MainCore::setLoggingOptions(), and MainSettings::setUseLogFile().
|
virtual |
Handler of /sdrangel/preset (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1093 of file webapiadaptersrv.cpp.
References arg(), MainCore::MsgDeletePreset::create(), SWGSDRangel::SWGPresetIdentifier::getCenterFrequency(), Preset::getCenterFrequency(), Preset::getDescription(), Preset::getGroup(), SWGSDRangel::SWGPresetIdentifier::getGroupName(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGPresetIdentifier::getName(), MainSettings::getPreset(), SWGSDRangel::SWGPresetIdentifier::getType(), SWGSDRangel::SWGErrorResponse::init(), Preset::isSourcePreset(), MainCore::m_inputMessageQueue, m_mainCore, MainCore::m_settings, MessageQueue::push(), and SWGSDRangel::SWGPresetIdentifier::setCenterFrequency().
|
virtual |
Handler of /sdrangel/preset/file (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 797 of file webapiadaptersrv.cpp.
References arg(), SWGSDRangel::SWGPresetIdentifier::getCenterFrequency(), Preset::getCenterFrequency(), Preset::getDescription(), SWGSDRangel::SWGPresetExport::getFilePath(), Preset::getGroup(), SWGSDRangel::SWGPresetIdentifier::getGroupName(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGPresetIdentifier::getName(), MainSettings::getPreset(), SWGSDRangel::SWGPresetExport::getPreset(), SWGSDRangel::SWGPresetIdentifier::getType(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGPresetIdentifier::init(), Preset::isSourcePreset(), m_mainCore, MainCore::m_settings, Preset::serialize(), and SWGSDRangel::SWGPresetIdentifier::setCenterFrequency().
|
virtual |
Handler of /sdrangel/preset/file (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 745 of file webapiadaptersrv.cpp.
References Preset::deserialize(), Preset::getCenterFrequency(), SWGSDRangel::SWGPresetImport::getDescription(), Preset::getDescription(), SWGSDRangel::SWGPresetImport::getFilePath(), Preset::getGroup(), SWGSDRangel::SWGPresetImport::getGroupName(), SWGSDRangel::SWGPresetIdentifier::getGroupName(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGPresetIdentifier::getName(), SWGSDRangel::SWGPresetIdentifier::getType(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGPresetIdentifier::init(), Preset::isSourcePreset(), m_mainCore, MainCore::m_settings, MainSettings::newPreset(), SWGSDRangel::SWGPresetIdentifier::setCenterFrequency(), Preset::setDescription(), and Preset::setGroup().
|
virtual |
Handler of /sdrangel/preset (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 907 of file webapiadaptersrv.cpp.
References arg(), MainCore::MsgLoadPreset::create(), SWGSDRangel::SWGPresetIdentifier::getCenterFrequency(), Preset::getCenterFrequency(), Preset::getDescription(), SWGSDRangel::SWGPresetTransfer::getDeviceSetIndex(), Preset::getGroup(), SWGSDRangel::SWGPresetIdentifier::getGroupName(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGPresetIdentifier::getName(), MainSettings::getPreset(), SWGSDRangel::SWGPresetTransfer::getPreset(), SWGSDRangel::SWGPresetIdentifier::getType(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGPresetIdentifier::init(), Preset::isSourcePreset(), MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, MainCore::m_inputMessageQueue, m_mainCore, MainCore::m_settings, MessageQueue::push(), and SWGSDRangel::SWGPresetIdentifier::setCenterFrequency().
|
virtual |
Handler of /sdrangel/preset (POST) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 1029 of file webapiadaptersrv.cpp.
References arg(), MainCore::MsgSavePreset::create(), DeviceSampleSink::getCenterFrequency(), DeviceSampleSource::getCenterFrequency(), Preset::getDescription(), SWGSDRangel::SWGPresetTransfer::getDeviceSetIndex(), Preset::getGroup(), SWGSDRangel::SWGPresetIdentifier::getGroupName(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGPresetIdentifier::getName(), MainSettings::getPreset(), SWGSDRangel::SWGPresetTransfer::getPreset(), DSPDeviceSinkEngine::getSink(), DSPDeviceSourceEngine::getSource(), SWGSDRangel::SWGPresetIdentifier::getType(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGPresetIdentifier::init(), MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, MainCore::m_inputMessageQueue, m_mainCore, MainCore::m_settings, MainSettings::newPreset(), MessageQueue::push(), and SWGSDRangel::SWGPresetIdentifier::setCenterFrequency().
|
virtual |
Handler of /sdrangel/preset (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 967 of file webapiadaptersrv.cpp.
References arg(), MainCore::MsgSavePreset::create(), SWGSDRangel::SWGPresetIdentifier::getCenterFrequency(), Preset::getCenterFrequency(), Preset::getDescription(), SWGSDRangel::SWGPresetTransfer::getDeviceSetIndex(), Preset::getGroup(), SWGSDRangel::SWGPresetIdentifier::getGroupName(), SWGSDRangel::SWGErrorResponse::getMessage(), SWGSDRangel::SWGPresetIdentifier::getName(), MainSettings::getPreset(), SWGSDRangel::SWGPresetTransfer::getPreset(), SWGSDRangel::SWGPresetIdentifier::getType(), SWGSDRangel::SWGErrorResponse::init(), SWGSDRangel::SWGPresetIdentifier::init(), Preset::isSourcePreset(), MainCore::m_deviceSets, DeviceSet::m_deviceSinkEngine, DeviceSet::m_deviceSourceEngine, MainCore::m_inputMessageQueue, m_mainCore, MainCore::m_settings, MessageQueue::push(), and SWGSDRangel::SWGPresetIdentifier::setCenterFrequency().
|
virtual |
Handler of /sdrangel/presets (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 862 of file webapiadaptersrv.cpp.
References Preset::getCenterFrequency(), Preset::getDescription(), Preset::getGroup(), SWGSDRangel::SWGPresets::getGroups(), MainSettings::getPreset(), MainSettings::getPresetCount(), i, SWGSDRangel::SWGPresets::init(), Preset::isSourcePreset(), m_mainCore, MainCore::m_settings, and SWGSDRangel::SWGPresets::setNbGroups().
|
virtual |
Handler of /sdrangel (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceSummary returns the Http status code (default 501: not implemented)
Reimplemented from WebAPIAdapterInterface.
Definition at line 72 of file webapiadaptersrv.cpp.
References SWGSDRangel::SWGInstanceSummaryResponse::getAppname(), SWGSDRangel::SWGInstanceSummaryResponse::getArchitecture(), SWGSDRangel::SWGLoggingInfo::getConsoleLevel(), qtwebapp::LoggerWithFile::getConsoleMinMessageLevelStr(), SWGSDRangel::SWGInstanceSummaryResponse::getDevicesetlist(), getDeviceSetList(), SWGSDRangel::SWGLoggingInfo::getDumpToFile(), SWGSDRangel::SWGLoggingInfo::getFileLevel(), qtwebapp::LoggerWithFile::getFileMinMessageLevelStr(), SWGSDRangel::SWGLoggingInfo::getFileName(), qtwebapp::LoggerWithFile::getLogFileName(), SWGSDRangel::SWGInstanceSummaryResponse::getLogging(), SWGSDRangel::SWGInstanceSummaryResponse::getOs(), SWGSDRangel::SWGInstanceSummaryResponse::getQtVersion(), qtwebapp::LoggerWithFile::getUseFileLogger(), SWGSDRangel::SWGInstanceSummaryResponse::getVersion(), SWGSDRangel::SWGLoggingInfo::init(), SWGSDRangel::SWGInstanceSummaryResponse::init(), MainCore::m_logger, m_mainCore, SDR_RX_SAMP_SZ, SDR_TX_SAMP_SZ, SWGSDRangel::SWGInstanceSummaryResponse::setDspRxBits(), SWGSDRangel::SWGInstanceSummaryResponse::setDspTxBits(), SWGSDRangel::SWGLoggingInfo::setDumpToFile(), and SWGSDRangel::SWGInstanceSummaryResponse::setPid().
|
private |
Definition at line 268 of file webapiadaptersrv.h.
Referenced by devicesetChannelDelete(), devicesetChannelPost(), devicesetChannelReportGet(), devicesetChannelSettingsGet(), devicesetChannelSettingsPutPatch(), devicesetChannelsReportGet(), devicesetDevicePut(), devicesetDeviceReportGet(), devicesetDeviceRunDelete(), devicesetDeviceRunGet(), devicesetDeviceRunPost(), devicesetDeviceSettingsGet(), devicesetDeviceSettingsPutPatch(), devicesetGet(), getDeviceSetList(), instanceAMBEDevicesDelete(), instanceAMBEDevicesGet(), instanceAMBEDevicesPatch(), instanceAMBEDevicesPut(), instanceAMBESerialGet(), instanceAudioGet(), instanceAudioInputCleanupPatch(), instanceAudioInputDelete(), instanceAudioInputPatch(), instanceAudioOutputCleanupPatch(), instanceAudioOutputDelete(), instanceAudioOutputPatch(), instanceChannels(), instanceConfigGet(), instanceDelete(), instanceDeviceSetDelete(), instanceDeviceSetPost(), instanceDVSerialGet(), instanceDVSerialPatch(), instanceLocationGet(), instanceLocationPut(), instanceLoggingGet(), instanceLoggingPut(), instancePresetDelete(), instancePresetFilePost(), instancePresetFilePut(), instancePresetPatch(), instancePresetPost(), instancePresetPut(), instancePresetsGet(), and instanceSummary().