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 <SWGPresets.h>
Public Member Functions | |
SWGPresets () | |
SWGPresets (QString *json) | |
virtual | ~SWGPresets () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGPresets * | fromJson (QString &jsonString) override |
qint32 | getNbGroups () |
void | setNbGroups (qint32 nb_groups) |
QList< SWGPresetGroup * > * | getGroups () |
void | setGroups (QList< SWGPresetGroup *> *groups) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | nb_groups |
bool | m_nb_groups_isSet |
QList< SWGPresetGroup * > * | groups |
bool | m_groups_isSet |
Definition at line 33 of file SWGPresets.h.
SWGSDRangel::SWGPresets::SWGPresets | ( | ) |
Definition at line 30 of file SWGPresets.cpp.
References groups, m_groups_isSet, m_nb_groups_isSet, and nb_groups.
SWGSDRangel::SWGPresets::SWGPresets | ( | QString * | json | ) |
Definition at line 25 of file SWGPresets.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 37 of file SWGPresets.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 79 of file SWGPresets.cpp.
References asJsonObject().
Referenced by WebAPIRequestMapper::instancePresetsService().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 90 of file SWGPresets.cpp.
References groups, m_nb_groups_isSet, nb_groups, and SWGSDRangel::toJsonArray().
Referenced by asJson().
void SWGSDRangel::SWGPresets::cleanup | ( | ) |
Definition at line 50 of file SWGPresets.cpp.
References groups.
Referenced by ~SWGPresets().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 62 of file SWGPresets.cpp.
References fromJsonObject().
Referenced by SWGPresets().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 71 of file SWGPresets.cpp.
References groups, nb_groups, and SWGSDRangel::setValue().
Referenced by fromJson().
QList< SWGPresetGroup * > * SWGSDRangel::SWGPresets::getGroups | ( | ) |
Definition at line 113 of file SWGPresets.cpp.
References groups.
Referenced by WebAPIAdapterGUI::instancePresetsGet(), and WebAPIAdapterSrv::instancePresetsGet().
qint32 SWGSDRangel::SWGPresets::getNbGroups | ( | ) |
void SWGSDRangel::SWGPresets::init | ( | ) |
Definition at line 42 of file SWGPresets.cpp.
References groups, m_groups_isSet, m_nb_groups_isSet, and nb_groups.
Referenced by WebAPIAdapterGUI::instancePresetsGet(), WebAPIAdapterSrv::instancePresetsGet(), and SWGPresets().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 124 of file SWGPresets.cpp.
References groups, and m_nb_groups_isSet.
void SWGSDRangel::SWGPresets::setGroups | ( | QList< SWGPresetGroup *> * | groups | ) |
void SWGSDRangel::SWGPresets::setNbGroups | ( | qint32 | nb_groups | ) |
Definition at line 107 of file SWGPresets.cpp.
References m_nb_groups_isSet, and nb_groups.
Referenced by WebAPIAdapterGUI::instancePresetsGet(), and WebAPIAdapterSrv::instancePresetsGet().
|
private |
Definition at line 59 of file SWGPresets.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getGroups(), init(), isSet(), setGroups(), and SWGPresets().
|
private |
Definition at line 60 of file SWGPresets.h.
Referenced by init(), setGroups(), and SWGPresets().
|
private |
Definition at line 57 of file SWGPresets.h.
Referenced by asJsonObject(), init(), isSet(), setNbGroups(), and SWGPresets().
|
private |
Definition at line 56 of file SWGPresets.h.
Referenced by asJsonObject(), fromJsonObject(), getNbGroups(), init(), setNbGroups(), and SWGPresets().