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 <SWGFrequency.h>
Public Member Functions | |
SWGFrequency () | |
SWGFrequency (QString *json) | |
virtual | ~SWGFrequency () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGFrequency * | fromJson (QString &jsonString) override |
qint32 | getFrequency () |
void | setFrequency (qint32 frequency) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | frequency |
bool | m_frequency_isSet |
Definition at line 31 of file SWGFrequency.h.
SWGSDRangel::SWGFrequency::SWGFrequency | ( | ) |
SWGSDRangel::SWGFrequency::SWGFrequency | ( | QString * | json | ) |
Definition at line 25 of file SWGFrequency.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 35 of file SWGFrequency.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 66 of file SWGFrequency.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 77 of file SWGFrequency.cpp.
References frequency, and m_frequency_isSet.
Referenced by asJson().
void SWGSDRangel::SWGFrequency::cleanup | ( | ) |
Definition at line 46 of file SWGFrequency.cpp.
Referenced by ~SWGFrequency().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 51 of file SWGFrequency.cpp.
References fromJsonObject().
Referenced by SWGFrequency().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 60 of file SWGFrequency.cpp.
References frequency, and SWGSDRangel::setValue().
Referenced by fromJson().
qint32 SWGSDRangel::SWGFrequency::getFrequency | ( | ) |
void SWGSDRangel::SWGFrequency::init | ( | ) |
Definition at line 40 of file SWGFrequency.cpp.
References frequency, and m_frequency_isSet.
Referenced by SWGFrequency().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 98 of file SWGFrequency.cpp.
References m_frequency_isSet.
void SWGSDRangel::SWGFrequency::setFrequency | ( | qint32 | frequency | ) |
|
private |
Definition at line 51 of file SWGFrequency.h.
Referenced by asJsonObject(), fromJsonObject(), getFrequency(), init(), setFrequency(), and SWGFrequency().
|
private |
Definition at line 52 of file SWGFrequency.h.
Referenced by asJsonObject(), init(), isSet(), setFrequency(), and SWGFrequency().