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 <SWGFrequencyBand.h>
Public Member Functions | |
SWGFrequencyBand () | |
SWGFrequencyBand (QString *json) | |
virtual | ~SWGFrequencyBand () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGFrequencyBand * | fromJson (QString &jsonString) override |
QString * | getName () |
void | setName (QString *name) |
qint32 | getLowerBound () |
void | setLowerBound (qint32 lower_bound) |
qint32 | getHigherBound () |
void | setHigherBound (qint32 higher_bound) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | name |
bool | m_name_isSet |
qint32 | lower_bound |
bool | m_lower_bound_isSet |
qint32 | higher_bound |
bool | m_higher_bound_isSet |
Definition at line 32 of file SWGFrequencyBand.h.
SWGSDRangel::SWGFrequencyBand::SWGFrequencyBand | ( | ) |
Definition at line 30 of file SWGFrequencyBand.cpp.
References higher_bound, lower_bound, m_higher_bound_isSet, m_lower_bound_isSet, m_name_isSet, and name.
SWGSDRangel::SWGFrequencyBand::SWGFrequencyBand | ( | QString * | json | ) |
Definition at line 25 of file SWGFrequencyBand.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 39 of file SWGFrequencyBand.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 82 of file SWGFrequencyBand.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 93 of file SWGFrequencyBand.cpp.
References higher_bound, lower_bound, m_higher_bound_isSet, m_lower_bound_isSet, name, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGFrequencyBand::cleanup | ( | ) |
Definition at line 54 of file SWGFrequencyBand.cpp.
References name.
Referenced by ~SWGFrequencyBand().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 63 of file SWGFrequencyBand.cpp.
References fromJsonObject().
Referenced by SWGFrequencyBand().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 72 of file SWGFrequencyBand.cpp.
References higher_bound, lower_bound, name, and SWGSDRangel::setValue().
Referenced by fromJson().
qint32 SWGSDRangel::SWGFrequencyBand::getHigherBound | ( | ) |
qint32 SWGSDRangel::SWGFrequencyBand::getLowerBound | ( | ) |
QString * SWGSDRangel::SWGFrequencyBand::getName | ( | ) |
void SWGSDRangel::SWGFrequencyBand::init | ( | ) |
Definition at line 44 of file SWGFrequencyBand.cpp.
References higher_bound, lower_bound, m_higher_bound_isSet, m_lower_bound_isSet, m_name_isSet, and name.
Referenced by SWGFrequencyBand().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 140 of file SWGFrequencyBand.cpp.
References m_higher_bound_isSet, m_lower_bound_isSet, and name.
void SWGSDRangel::SWGFrequencyBand::setHigherBound | ( | qint32 | higher_bound | ) |
Definition at line 133 of file SWGFrequencyBand.cpp.
References higher_bound, and m_higher_bound_isSet.
void SWGSDRangel::SWGFrequencyBand::setLowerBound | ( | qint32 | lower_bound | ) |
Definition at line 123 of file SWGFrequencyBand.cpp.
References lower_bound, and m_lower_bound_isSet.
void SWGSDRangel::SWGFrequencyBand::setName | ( | QString * | name | ) |
|
private |
Definition at line 64 of file SWGFrequencyBand.h.
Referenced by asJsonObject(), fromJsonObject(), getHigherBound(), init(), setHigherBound(), and SWGFrequencyBand().
|
private |
Definition at line 61 of file SWGFrequencyBand.h.
Referenced by asJsonObject(), fromJsonObject(), getLowerBound(), init(), setLowerBound(), and SWGFrequencyBand().
|
private |
Definition at line 65 of file SWGFrequencyBand.h.
Referenced by asJsonObject(), init(), isSet(), setHigherBound(), and SWGFrequencyBand().
|
private |
Definition at line 62 of file SWGFrequencyBand.h.
Referenced by asJsonObject(), init(), isSet(), setLowerBound(), and SWGFrequencyBand().
|
private |
Definition at line 59 of file SWGFrequencyBand.h.
Referenced by init(), setName(), and SWGFrequencyBand().
|
private |
Definition at line 58 of file SWGFrequencyBand.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getName(), init(), isSet(), setName(), and SWGFrequencyBand().