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 <SWGRtlSdrReport.h>
Public Member Functions | |
SWGRtlSdrReport () | |
SWGRtlSdrReport (QString *json) | |
virtual | ~SWGRtlSdrReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGRtlSdrReport * | fromJson (QString &jsonString) override |
QList< SWGGain * > * | getGains () |
void | setGains (QList< SWGGain *> *gains) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QList< SWGGain * > * | gains |
bool | m_gains_isSet |
Definition at line 33 of file SWGRtlSdrReport.h.
SWGSDRangel::SWGRtlSdrReport::SWGRtlSdrReport | ( | ) |
SWGSDRangel::SWGRtlSdrReport::SWGRtlSdrReport | ( | QString * | json | ) |
Definition at line 25 of file SWGRtlSdrReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 35 of file SWGRtlSdrReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 72 of file SWGRtlSdrReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 83 of file SWGRtlSdrReport.cpp.
References gains, and SWGSDRangel::toJsonArray().
Referenced by asJson().
void SWGSDRangel::SWGRtlSdrReport::cleanup | ( | ) |
Definition at line 46 of file SWGRtlSdrReport.cpp.
References gains.
Referenced by ~SWGRtlSdrReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 57 of file SWGRtlSdrReport.cpp.
References fromJsonObject().
Referenced by SWGRtlSdrReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 66 of file SWGRtlSdrReport.cpp.
References gains, and SWGSDRangel::setValue().
Referenced by fromJson().
QList< SWGGain * > * SWGSDRangel::SWGRtlSdrReport::getGains | ( | ) |
Definition at line 93 of file SWGRtlSdrReport.cpp.
References gains.
Referenced by RTLSDRInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGRtlSdrReport::init | ( | ) |
Definition at line 40 of file SWGRtlSdrReport.cpp.
References gains, and m_gains_isSet.
Referenced by SWGRtlSdrReport(), and RTLSDRInput::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 104 of file SWGRtlSdrReport.cpp.
References gains.
Referenced by SWGSDRangel::SWGDeviceReport::asJsonObject(), and SWGSDRangel::SWGDeviceReport::isSet().
void SWGSDRangel::SWGRtlSdrReport::setGains | ( | QList< SWGGain *> * | gains | ) |
Definition at line 97 of file SWGRtlSdrReport.cpp.
References gains, and m_gains_isSet.
Referenced by RTLSDRInput::webapiFormatDeviceReport().
|
private |
Definition at line 53 of file SWGRtlSdrReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getGains(), init(), isSet(), setGains(), and SWGRtlSdrReport().
|
private |
Definition at line 54 of file SWGRtlSdrReport.h.
Referenced by init(), setGains(), and SWGRtlSdrReport().