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