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