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