![]() |
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>
Inheritance diagram for SWGSDRangel::SWGLocalInputReport:
Collaboration diagram for SWGSDRangel::SWGLocalInputReport: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().
Here is the call graph for this function:
|
virtual |
Definition at line 37 of file SWGLocalInputReport.cpp.
References cleanup().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 73 of file SWGLocalInputReport.cpp.
References asJsonObject().
Here is the call graph for this function:
|
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().
Here is the caller graph for this function:| void SWGSDRangel::SWGLocalInputReport::cleanup | ( | ) |
Definition at line 50 of file SWGLocalInputReport.cpp.
Referenced by ~SWGLocalInputReport().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 56 of file SWGLocalInputReport.cpp.
References fromJsonObject().
Referenced by SWGLocalInputReport().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 65 of file SWGLocalInputReport.cpp.
References center_frequency, sample_rate, and SWGSDRangel::setValue().
Referenced by fromJson().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:
|
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().
1.8.13