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 <SWGInstanceConfigResponse.h>
Public Member Functions | |
SWGInstanceConfigResponse () | |
SWGInstanceConfigResponse (QString *json) | |
virtual | ~SWGInstanceConfigResponse () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGInstanceConfigResponse * | fromJson (QString &jsonString) override |
SWGPreferences * | getPreferences () |
void | setPreferences (SWGPreferences *preferences) |
SWGPreset * | getWorkingPreset () |
void | setWorkingPreset (SWGPreset *working_preset) |
QList< SWGPreset * > * | getPresets () |
void | setPresets (QList< SWGPreset *> *presets) |
QList< SWGCommand * > * | getCommands () |
void | setCommands (QList< SWGCommand *> *commands) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
SWGPreferences * | preferences |
bool | m_preferences_isSet |
SWGPreset * | working_preset |
bool | m_working_preset_isSet |
QList< SWGPreset * > * | presets |
bool | m_presets_isSet |
QList< SWGCommand * > * | commands |
bool | m_commands_isSet |
Definition at line 35 of file SWGInstanceConfigResponse.h.
SWGSDRangel::SWGInstanceConfigResponse::SWGInstanceConfigResponse | ( | ) |
Definition at line 30 of file SWGInstanceConfigResponse.cpp.
References commands, m_commands_isSet, m_preferences_isSet, m_presets_isSet, m_working_preset_isSet, preferences, presets, and working_preset.
SWGSDRangel::SWGInstanceConfigResponse::SWGInstanceConfigResponse | ( | QString * | json | ) |
Definition at line 25 of file SWGInstanceConfigResponse.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 41 of file SWGInstanceConfigResponse.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 103 of file SWGInstanceConfigResponse.cpp.
References asJsonObject().
Referenced by WebAPIRequestMapper::instanceConfigService().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 114 of file SWGInstanceConfigResponse.cpp.
References commands, SWGSDRangel::SWGPreferences::isSet(), SWGSDRangel::SWGPreset::isSet(), preferences, presets, SWGSDRangel::toJsonArray(), SWGSDRangel::toJsonValue(), and working_preset.
Referenced by asJson().
void SWGSDRangel::SWGInstanceConfigResponse::cleanup | ( | ) |
Definition at line 58 of file SWGInstanceConfigResponse.cpp.
References commands, preferences, presets, and working_preset.
Referenced by ~SWGInstanceConfigResponse().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 82 of file SWGInstanceConfigResponse.cpp.
References fromJsonObject().
Referenced by SWGInstanceConfigResponse().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 91 of file SWGInstanceConfigResponse.cpp.
References commands, preferences, presets, SWGSDRangel::setValue(), and working_preset.
Referenced by fromJson().
QList< SWGCommand * > * SWGSDRangel::SWGInstanceConfigResponse::getCommands | ( | ) |
Definition at line 163 of file SWGInstanceConfigResponse.cpp.
References commands.
SWGPreferences * SWGSDRangel::SWGInstanceConfigResponse::getPreferences | ( | ) |
Definition at line 133 of file SWGInstanceConfigResponse.cpp.
References preferences.
Referenced by WebAPIAdapterGUI::instanceConfigGet(), and WebAPIAdapterSrv::instanceConfigGet().
QList< SWGPreset * > * SWGSDRangel::SWGInstanceConfigResponse::getPresets | ( | ) |
Definition at line 153 of file SWGInstanceConfigResponse.cpp.
References presets.
Referenced by WebAPIAdapterGUI::instanceConfigGet(), and WebAPIAdapterSrv::instanceConfigGet().
SWGPreset * SWGSDRangel::SWGInstanceConfigResponse::getWorkingPreset | ( | ) |
Definition at line 143 of file SWGInstanceConfigResponse.cpp.
References working_preset.
Referenced by WebAPIAdapterGUI::instanceConfigGet(), and WebAPIAdapterSrv::instanceConfigGet().
void SWGSDRangel::SWGInstanceConfigResponse::init | ( | ) |
Definition at line 46 of file SWGInstanceConfigResponse.cpp.
References commands, m_commands_isSet, m_preferences_isSet, m_presets_isSet, m_working_preset_isSet, preferences, presets, and working_preset.
Referenced by WebAPIAdapterGUI::instanceConfigGet(), WebAPIAdapterSrv::instanceConfigGet(), and SWGInstanceConfigResponse().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 174 of file SWGInstanceConfigResponse.cpp.
References commands, SWGSDRangel::SWGPreferences::isSet(), SWGSDRangel::SWGPreset::isSet(), preferences, presets, and working_preset.
void SWGSDRangel::SWGInstanceConfigResponse::setCommands | ( | QList< SWGCommand *> * | commands | ) |
Definition at line 167 of file SWGInstanceConfigResponse.cpp.
References commands, and m_commands_isSet.
void SWGSDRangel::SWGInstanceConfigResponse::setPreferences | ( | SWGPreferences * | preferences | ) |
Definition at line 137 of file SWGInstanceConfigResponse.cpp.
References m_preferences_isSet, and preferences.
void SWGSDRangel::SWGInstanceConfigResponse::setPresets | ( | QList< SWGPreset *> * | presets | ) |
Definition at line 157 of file SWGInstanceConfigResponse.cpp.
References m_presets_isSet, and presets.
void SWGSDRangel::SWGInstanceConfigResponse::setWorkingPreset | ( | SWGPreset * | working_preset | ) |
Definition at line 147 of file SWGInstanceConfigResponse.cpp.
References m_working_preset_isSet, and working_preset.
|
private |
Definition at line 73 of file SWGInstanceConfigResponse.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getCommands(), init(), isSet(), setCommands(), and SWGInstanceConfigResponse().
|
private |
Definition at line 74 of file SWGInstanceConfigResponse.h.
Referenced by init(), setCommands(), and SWGInstanceConfigResponse().
|
private |
Definition at line 65 of file SWGInstanceConfigResponse.h.
Referenced by init(), setPreferences(), and SWGInstanceConfigResponse().
|
private |
Definition at line 71 of file SWGInstanceConfigResponse.h.
Referenced by init(), setPresets(), and SWGInstanceConfigResponse().
|
private |
Definition at line 68 of file SWGInstanceConfigResponse.h.
Referenced by init(), setWorkingPreset(), and SWGInstanceConfigResponse().
|
private |
Definition at line 64 of file SWGInstanceConfigResponse.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getPreferences(), init(), isSet(), setPreferences(), and SWGInstanceConfigResponse().
|
private |
Definition at line 70 of file SWGInstanceConfigResponse.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getPresets(), init(), isSet(), setPresets(), and SWGInstanceConfigResponse().
|
private |
Definition at line 67 of file SWGInstanceConfigResponse.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getWorkingPreset(), init(), isSet(), setWorkingPreset(), and SWGInstanceConfigResponse().