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 <webapiadapterbase.h>
Static Public Member Functions | |
static void | webapiFormatPreferences (SWGSDRangel::SWGPreferences *apiPreferences, const Preferences &preferences) |
static void | webapiFormatPreset (SWGSDRangel::SWGPreset *apiPreset, const Preset &preset) |
Adapter between API and objects in sdrbase library
Definition at line 31 of file webapiadapterbase.h.
|
static |
Definition at line 21 of file webapiadapterbase.cpp.
References SWGSDRangel::SWGPreferences::init(), Preferences::m_audioDevice, Preferences::m_audioType, Preferences::m_consoleMinLogLevel, Preferences::m_fileMinLogLevel, Preferences::m_latitude, Preferences::m_logFileName, Preferences::m_longitude, Preferences::m_sourceDevice, Preferences::m_sourceIndex, Preferences::m_useLogFile, SWGSDRangel::SWGPreferences::setAudioDevice(), SWGSDRangel::SWGPreferences::setAudioType(), SWGSDRangel::SWGPreferences::setConsoleMinLogLevel(), SWGSDRangel::SWGPreferences::setFileMinLogLevel(), SWGSDRangel::SWGPreferences::setLatitude(), SWGSDRangel::SWGPreferences::setLogFileName(), SWGSDRangel::SWGPreferences::setLongitude(), SWGSDRangel::SWGPreferences::setSourceDevice(), SWGSDRangel::SWGPreferences::setSourceIndex(), and SWGSDRangel::SWGPreferences::setUseLogFile().
Referenced by WebAPIAdapterGUI::instanceConfigGet(), and WebAPIAdapterSrv::instanceConfigGet().
|
static |
Definition at line 39 of file webapiadapterbase.cpp.
References SWGSDRangel::SWGPreset::getMSpectrumConfig(), SWGSDRangel::SWGGLSpectrum::init(), SWGSDRangel::SWGPreset::init(), Preset::m_centerFrequency, Preset::m_dcOffsetCorrection, Preset::m_description, Preset::m_group, Preset::m_iqImbalanceCorrection, Preset::m_sourcePreset, SWGSDRangel::SWGPreset::setCenterFrequency(), SWGSDRangel::SWGPreset::setDcOffsetCorrection(), SWGSDRangel::SWGPreset::setDescription(), SWGSDRangel::SWGPreset::setGroup(), SWGSDRangel::SWGPreset::setIqImbalanceCorrection(), and SWGSDRangel::SWGPreset::setSourcePreset().
Referenced by WebAPIAdapterGUI::instanceConfigGet(), and WebAPIAdapterSrv::instanceConfigGet().