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 <SWGPresetItem.h>
Public Member Functions | |
SWGPresetItem () | |
SWGPresetItem (QString *json) | |
virtual | ~SWGPresetItem () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGPresetItem * | fromJson (QString &jsonString) override |
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 | |
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 SWGPresetItem.h.
SWGSDRangel::SWGPresetItem::SWGPresetItem | ( | ) |
Definition at line 30 of file SWGPresetItem.cpp.
References center_frequency, m_center_frequency_isSet, m_name_isSet, m_type_isSet, name, and type.
SWGSDRangel::SWGPresetItem::SWGPresetItem | ( | QString * | json | ) |
Definition at line 25 of file SWGPresetItem.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 39 of file SWGPresetItem.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 84 of file SWGPresetItem.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 95 of file SWGPresetItem.cpp.
References center_frequency, m_center_frequency_isSet, name, SWGSDRangel::toJsonValue(), and type.
Referenced by asJson().
void SWGSDRangel::SWGPresetItem::cleanup | ( | ) |
Definition at line 54 of file SWGPresetItem.cpp.
Referenced by ~SWGPresetItem().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 65 of file SWGPresetItem.cpp.
References fromJsonObject().
Referenced by SWGPresetItem().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 74 of file SWGPresetItem.cpp.
References center_frequency, name, SWGSDRangel::setValue(), and type.
Referenced by fromJson().
qint64 SWGSDRangel::SWGPresetItem::getCenterFrequency | ( | ) |
QString * SWGSDRangel::SWGPresetItem::getName | ( | ) |
QString * SWGSDRangel::SWGPresetItem::getType | ( | ) |
void SWGSDRangel::SWGPresetItem::init | ( | ) |
Definition at line 44 of file SWGPresetItem.cpp.
References center_frequency, m_center_frequency_isSet, m_name_isSet, m_type_isSet, name, and type.
Referenced by SWGPresetItem().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 142 of file SWGPresetItem.cpp.
References m_center_frequency_isSet, name, and type.
void SWGSDRangel::SWGPresetItem::setCenterFrequency | ( | qint64 | center_frequency | ) |
Definition at line 115 of file SWGPresetItem.cpp.
References center_frequency, and m_center_frequency_isSet.
void SWGSDRangel::SWGPresetItem::setName | ( | QString * | name | ) |
void SWGSDRangel::SWGPresetItem::setType | ( | QString * | type | ) |
|
private |
Definition at line 58 of file SWGPresetItem.h.
Referenced by asJsonObject(), fromJsonObject(), getCenterFrequency(), init(), setCenterFrequency(), and SWGPresetItem().
|
private |
Definition at line 59 of file SWGPresetItem.h.
Referenced by asJsonObject(), init(), isSet(), setCenterFrequency(), and SWGPresetItem().
|
private |
Definition at line 65 of file SWGPresetItem.h.
Referenced by init(), setName(), and SWGPresetItem().
|
private |
Definition at line 62 of file SWGPresetItem.h.
Referenced by init(), setType(), and SWGPresetItem().
|
private |
Definition at line 64 of file SWGPresetItem.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getName(), init(), isSet(), setName(), and SWGPresetItem().
|
private |
Definition at line 61 of file SWGPresetItem.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getType(), init(), isSet(), setType(), and SWGPresetItem().