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 <SWGPresetIdentifier.h>
Public Member Functions | |
SWGPresetIdentifier () | |
SWGPresetIdentifier (QString *json) | |
virtual | ~SWGPresetIdentifier () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGPresetIdentifier * | fromJson (QString &jsonString) override |
QString * | getGroupName () |
void | setGroupName (QString *group_name) |
qint64 | getCenterFrequency () |
void | setCenterFrequency (qint64 center_frequency) |
QString * | getType () |
void | setType (QString *type) |
QString * | getName () |
void | setName (QString *name) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | group_name |
bool | m_group_name_isSet |
qint64 | center_frequency |
bool | m_center_frequency_isSet |
QString * | type |
bool | m_type_isSet |
QString * | name |
bool | m_name_isSet |
Definition at line 32 of file SWGPresetIdentifier.h.
SWGSDRangel::SWGPresetIdentifier::SWGPresetIdentifier | ( | ) |
Definition at line 30 of file SWGPresetIdentifier.cpp.
References center_frequency, group_name, m_center_frequency_isSet, m_group_name_isSet, m_name_isSet, m_type_isSet, name, and type.
SWGSDRangel::SWGPresetIdentifier::SWGPresetIdentifier | ( | QString * | json | ) |
Definition at line 25 of file SWGPresetIdentifier.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 41 of file SWGPresetIdentifier.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 93 of file SWGPresetIdentifier.cpp.
References asJsonObject().
Referenced by SWGSDRangel::SWGInstanceApi::instancePresetDelete(), WebAPIRequestMapper::instancePresetFileService(), and WebAPIRequestMapper::instancePresetService().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 104 of file SWGPresetIdentifier.cpp.
References center_frequency, group_name, m_center_frequency_isSet, name, SWGSDRangel::toJsonValue(), and type.
Referenced by asJson().
void SWGSDRangel::SWGPresetIdentifier::cleanup | ( | ) |
Definition at line 58 of file SWGPresetIdentifier.cpp.
References group_name, name, and type.
Referenced by ~SWGPresetIdentifier().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 72 of file SWGPresetIdentifier.cpp.
References fromJsonObject().
Referenced by WebAPIRequestMapper::instancePresetService(), and SWGPresetIdentifier().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 81 of file SWGPresetIdentifier.cpp.
References center_frequency, group_name, name, SWGSDRangel::setValue(), and type.
Referenced by fromJson().
qint64 SWGSDRangel::SWGPresetIdentifier::getCenterFrequency | ( | ) |
Definition at line 133 of file SWGPresetIdentifier.cpp.
References center_frequency.
Referenced by WebAPIAdapterGUI::instancePresetDelete(), WebAPIAdapterSrv::instancePresetDelete(), WebAPIAdapterSrv::instancePresetFilePost(), WebAPIAdapterGUI::instancePresetPatch(), WebAPIAdapterSrv::instancePresetPatch(), WebAPIAdapterGUI::instancePresetPut(), and WebAPIAdapterSrv::instancePresetPut().
QString * SWGSDRangel::SWGPresetIdentifier::getGroupName | ( | ) |
Definition at line 123 of file SWGPresetIdentifier.cpp.
References group_name.
Referenced by WebAPIAdapterGUI::instancePresetDelete(), WebAPIAdapterSrv::instancePresetDelete(), WebAPIAdapterSrv::instancePresetFilePost(), WebAPIAdapterSrv::instancePresetFilePut(), WebAPIAdapterGUI::instancePresetPatch(), WebAPIAdapterSrv::instancePresetPatch(), WebAPIAdapterGUI::instancePresetPost(), WebAPIAdapterSrv::instancePresetPost(), WebAPIAdapterGUI::instancePresetPut(), WebAPIAdapterSrv::instancePresetPut(), and WebAPIRequestMapper::validatePresetIdentifer().
QString * SWGSDRangel::SWGPresetIdentifier::getName | ( | ) |
Definition at line 153 of file SWGPresetIdentifier.cpp.
References name.
Referenced by WebAPIAdapterGUI::instancePresetDelete(), WebAPIAdapterSrv::instancePresetDelete(), WebAPIAdapterSrv::instancePresetFilePost(), WebAPIAdapterSrv::instancePresetFilePut(), WebAPIAdapterGUI::instancePresetPatch(), WebAPIAdapterSrv::instancePresetPatch(), WebAPIAdapterGUI::instancePresetPost(), WebAPIAdapterSrv::instancePresetPost(), WebAPIAdapterGUI::instancePresetPut(), WebAPIAdapterSrv::instancePresetPut(), and WebAPIRequestMapper::validatePresetIdentifer().
QString * SWGSDRangel::SWGPresetIdentifier::getType | ( | ) |
Definition at line 143 of file SWGPresetIdentifier.cpp.
References type.
Referenced by WebAPIAdapterGUI::instancePresetDelete(), WebAPIAdapterSrv::instancePresetDelete(), WebAPIAdapterSrv::instancePresetFilePost(), WebAPIAdapterSrv::instancePresetFilePut(), WebAPIAdapterGUI::instancePresetPatch(), WebAPIAdapterSrv::instancePresetPatch(), WebAPIAdapterGUI::instancePresetPost(), WebAPIAdapterSrv::instancePresetPost(), WebAPIAdapterGUI::instancePresetPut(), WebAPIAdapterSrv::instancePresetPut(), and WebAPIRequestMapper::validatePresetIdentifer().
void SWGSDRangel::SWGPresetIdentifier::init | ( | ) |
Definition at line 46 of file SWGPresetIdentifier.cpp.
References center_frequency, group_name, m_center_frequency_isSet, m_group_name_isSet, m_name_isSet, m_type_isSet, name, and type.
Referenced by WebAPIAdapterSrv::instancePresetFilePost(), WebAPIAdapterSrv::instancePresetFilePut(), WebAPIAdapterGUI::instancePresetPatch(), WebAPIAdapterSrv::instancePresetPatch(), WebAPIAdapterGUI::instancePresetPost(), WebAPIAdapterSrv::instancePresetPost(), WebAPIAdapterGUI::instancePresetPut(), WebAPIAdapterSrv::instancePresetPut(), and SWGPresetIdentifier().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 164 of file SWGPresetIdentifier.cpp.
References group_name, m_center_frequency_isSet, name, and type.
Referenced by SWGSDRangel::SWGPresetTransfer::asJsonObject(), SWGSDRangel::SWGPresetExport::asJsonObject(), SWGSDRangel::SWGPresetTransfer::isSet(), and SWGSDRangel::SWGPresetExport::isSet().
void SWGSDRangel::SWGPresetIdentifier::setCenterFrequency | ( | qint64 | center_frequency | ) |
Definition at line 137 of file SWGPresetIdentifier.cpp.
References center_frequency, and m_center_frequency_isSet.
Referenced by WebAPIAdapterGUI::instancePresetDelete(), WebAPIAdapterSrv::instancePresetDelete(), WebAPIAdapterSrv::instancePresetFilePost(), WebAPIAdapterSrv::instancePresetFilePut(), WebAPIAdapterGUI::instancePresetPatch(), WebAPIAdapterSrv::instancePresetPatch(), WebAPIAdapterGUI::instancePresetPost(), WebAPIAdapterSrv::instancePresetPost(), WebAPIAdapterGUI::instancePresetPut(), and WebAPIAdapterSrv::instancePresetPut().
void SWGSDRangel::SWGPresetIdentifier::setGroupName | ( | QString * | group_name | ) |
Definition at line 127 of file SWGPresetIdentifier.cpp.
References group_name, and m_group_name_isSet.
void SWGSDRangel::SWGPresetIdentifier::setName | ( | QString * | name | ) |
void SWGSDRangel::SWGPresetIdentifier::setType | ( | QString * | type | ) |
|
private |
Definition at line 64 of file SWGPresetIdentifier.h.
Referenced by asJsonObject(), fromJsonObject(), getCenterFrequency(), init(), setCenterFrequency(), and SWGPresetIdentifier().
|
private |
Definition at line 61 of file SWGPresetIdentifier.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getGroupName(), init(), isSet(), setGroupName(), and SWGPresetIdentifier().
|
private |
Definition at line 65 of file SWGPresetIdentifier.h.
Referenced by asJsonObject(), init(), isSet(), setCenterFrequency(), and SWGPresetIdentifier().
|
private |
Definition at line 62 of file SWGPresetIdentifier.h.
Referenced by init(), setGroupName(), and SWGPresetIdentifier().
|
private |
Definition at line 71 of file SWGPresetIdentifier.h.
Referenced by init(), setName(), and SWGPresetIdentifier().
|
private |
Definition at line 68 of file SWGPresetIdentifier.h.
Referenced by init(), setType(), and SWGPresetIdentifier().
|
private |
Definition at line 70 of file SWGPresetIdentifier.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getName(), init(), isSet(), setName(), and SWGPresetIdentifier().
|
private |
Definition at line 67 of file SWGPresetIdentifier.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getType(), init(), isSet(), setType(), and SWGPresetIdentifier().