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