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 <SWGLocalOutputReport.h>
Public Member Functions | |
SWGLocalOutputReport () | |
SWGLocalOutputReport (QString *json) | |
virtual | ~SWGLocalOutputReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGLocalOutputReport * | fromJson (QString &jsonString) override |
qint32 | getCenterFrequency () |
void | setCenterFrequency (qint32 center_frequency) |
qint32 | getSampleRate () |
void | setSampleRate (qint32 sample_rate) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | center_frequency |
bool | m_center_frequency_isSet |
qint32 | sample_rate |
bool | m_sample_rate_isSet |
Definition at line 31 of file SWGLocalOutputReport.h.
SWGSDRangel::SWGLocalOutputReport::SWGLocalOutputReport | ( | ) |
Definition at line 30 of file SWGLocalOutputReport.cpp.
References center_frequency, m_center_frequency_isSet, m_sample_rate_isSet, and sample_rate.
SWGSDRangel::SWGLocalOutputReport::SWGLocalOutputReport | ( | QString * | json | ) |
Definition at line 25 of file SWGLocalOutputReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 37 of file SWGLocalOutputReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 73 of file SWGLocalOutputReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 84 of file SWGLocalOutputReport.cpp.
References center_frequency, m_center_frequency_isSet, m_sample_rate_isSet, and sample_rate.
Referenced by asJson().
void SWGSDRangel::SWGLocalOutputReport::cleanup | ( | ) |
Definition at line 50 of file SWGLocalOutputReport.cpp.
Referenced by ~SWGLocalOutputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 56 of file SWGLocalOutputReport.cpp.
References fromJsonObject().
Referenced by SWGLocalOutputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 65 of file SWGLocalOutputReport.cpp.
References center_frequency, sample_rate, and SWGSDRangel::setValue().
Referenced by fromJson().
qint32 SWGSDRangel::SWGLocalOutputReport::getCenterFrequency | ( | ) |
Definition at line 97 of file SWGLocalOutputReport.cpp.
References center_frequency.
qint32 SWGSDRangel::SWGLocalOutputReport::getSampleRate | ( | ) |
Definition at line 107 of file SWGLocalOutputReport.cpp.
References sample_rate.
void SWGSDRangel::SWGLocalOutputReport::init | ( | ) |
Definition at line 42 of file SWGLocalOutputReport.cpp.
References center_frequency, m_center_frequency_isSet, m_sample_rate_isSet, and sample_rate.
Referenced by SWGLocalOutputReport(), and LocalOutput::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 118 of file SWGLocalOutputReport.cpp.
References m_center_frequency_isSet, and m_sample_rate_isSet.
Referenced by SWGSDRangel::SWGDeviceReport::asJsonObject(), and SWGSDRangel::SWGDeviceReport::isSet().
void SWGSDRangel::SWGLocalOutputReport::setCenterFrequency | ( | qint32 | center_frequency | ) |
Definition at line 101 of file SWGLocalOutputReport.cpp.
References center_frequency, and m_center_frequency_isSet.
Referenced by LocalOutput::webapiFormatDeviceReport().
void SWGSDRangel::SWGLocalOutputReport::setSampleRate | ( | qint32 | sample_rate | ) |
Definition at line 111 of file SWGLocalOutputReport.cpp.
References m_sample_rate_isSet, and sample_rate.
Referenced by LocalOutput::webapiFormatDeviceReport().
|
private |
Definition at line 54 of file SWGLocalOutputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getCenterFrequency(), init(), setCenterFrequency(), and SWGLocalOutputReport().
|
private |
Definition at line 55 of file SWGLocalOutputReport.h.
Referenced by asJsonObject(), init(), isSet(), setCenterFrequency(), and SWGLocalOutputReport().
|
private |
Definition at line 58 of file SWGLocalOutputReport.h.
Referenced by asJsonObject(), init(), isSet(), setSampleRate(), and SWGLocalOutputReport().
|
private |
Definition at line 57 of file SWGLocalOutputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getSampleRate(), init(), setSampleRate(), and SWGLocalOutputReport().