![]() |
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 <SWGRangeFloat.h>
Inheritance diagram for SWGSDRangel::SWGRangeFloat:
Collaboration diagram for SWGSDRangel::SWGRangeFloat:Public Member Functions | |
| SWGRangeFloat () | |
| SWGRangeFloat (QString *json) | |
| virtual | ~SWGRangeFloat () |
| void | init () |
| void | cleanup () |
| virtual QString | asJson () override |
| virtual QJsonObject * | asJsonObject () override |
| virtual void | fromJsonObject (QJsonObject &json) override |
| virtual SWGRangeFloat * | fromJson (QString &jsonString) override |
| float | getMin () |
| void | setMin (float min) |
| float | getMax () |
| void | setMax (float max) |
| float | getStep () |
| void | setStep (float step) |
| virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
| virtual | ~SWGObject () |
Private Attributes | |
| float | min |
| bool | m_min_isSet |
| float | max |
| bool | m_max_isSet |
| float | step |
| bool | m_step_isSet |
Definition at line 31 of file SWGRangeFloat.h.
| SWGSDRangel::SWGRangeFloat::SWGRangeFloat | ( | ) |
Definition at line 30 of file SWGRangeFloat.cpp.
References m_max_isSet, m_min_isSet, m_step_isSet, max, min, and step.
| SWGSDRangel::SWGRangeFloat::SWGRangeFloat | ( | QString * | json | ) |
Definition at line 25 of file SWGRangeFloat.cpp.
References fromJson(), and init().
Here is the call graph for this function:
|
virtual |
Definition at line 39 of file SWGRangeFloat.cpp.
References cleanup().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 80 of file SWGRangeFloat.cpp.
References asJsonObject().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 91 of file SWGRangeFloat.cpp.
References m_max_isSet, m_min_isSet, m_step_isSet, max, min, and step.
Referenced by asJson().
Here is the caller graph for this function:| void SWGSDRangel::SWGRangeFloat::cleanup | ( | ) |
Definition at line 54 of file SWGRangeFloat.cpp.
Referenced by ~SWGRangeFloat().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 61 of file SWGRangeFloat.cpp.
References fromJsonObject().
Referenced by SWGRangeFloat().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 70 of file SWGRangeFloat.cpp.
References max, min, SWGSDRangel::setValue(), and step.
Referenced by fromJson().
Here is the call graph for this function:
Here is the caller graph for this function:| float SWGSDRangel::SWGRangeFloat::getMax | ( | ) |
Definition at line 117 of file SWGRangeFloat.cpp.
References max.
| float SWGSDRangel::SWGRangeFloat::getMin | ( | ) |
Definition at line 107 of file SWGRangeFloat.cpp.
References min.
| float SWGSDRangel::SWGRangeFloat::getStep | ( | ) |
| void SWGSDRangel::SWGRangeFloat::init | ( | ) |
Definition at line 44 of file SWGRangeFloat.cpp.
References m_max_isSet, m_min_isSet, m_step_isSet, max, min, and step.
Referenced by SWGRangeFloat().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 138 of file SWGRangeFloat.cpp.
References m_max_isSet, m_min_isSet, and m_step_isSet.
Referenced by SWGSDRangel::SWGSoapySDRGainSetting::asJsonObject(), SWGSDRangel::SWGArgInfo::asJsonObject(), SWGSDRangel::SWGSoapySDRReport::asJsonObject(), SWGSDRangel::SWGSoapySDRGainSetting::isSet(), SWGSDRangel::SWGArgInfo::isSet(), and SWGSDRangel::SWGSoapySDRReport::isSet().
Here is the caller graph for this function:| void SWGSDRangel::SWGRangeFloat::setMax | ( | float | max | ) |
Definition at line 121 of file SWGRangeFloat.cpp.
References m_max_isSet, and max.
Referenced by SoapySDROutput::webapiFormatArgInfo(), SoapySDRInput::webapiFormatArgInfo(), SoapySDROutput::webapiFormatDeviceReport(), and SoapySDRInput::webapiFormatDeviceReport().
Here is the caller graph for this function:| void SWGSDRangel::SWGRangeFloat::setMin | ( | float | min | ) |
Definition at line 111 of file SWGRangeFloat.cpp.
References m_min_isSet, and min.
Referenced by SoapySDROutput::webapiFormatArgInfo(), SoapySDRInput::webapiFormatArgInfo(), SoapySDROutput::webapiFormatDeviceReport(), and SoapySDRInput::webapiFormatDeviceReport().
Here is the caller graph for this function:| void SWGSDRangel::SWGRangeFloat::setStep | ( | float | step | ) |
|
private |
Definition at line 61 of file SWGRangeFloat.h.
Referenced by asJsonObject(), init(), isSet(), setMax(), and SWGRangeFloat().
|
private |
Definition at line 58 of file SWGRangeFloat.h.
Referenced by asJsonObject(), init(), isSet(), setMin(), and SWGRangeFloat().
|
private |
Definition at line 64 of file SWGRangeFloat.h.
Referenced by asJsonObject(), init(), isSet(), setStep(), and SWGRangeFloat().
|
private |
Definition at line 60 of file SWGRangeFloat.h.
Referenced by asJsonObject(), fromJsonObject(), getMax(), init(), setMax(), and SWGRangeFloat().
|
private |
Definition at line 57 of file SWGRangeFloat.h.
Referenced by asJsonObject(), fromJsonObject(), getMin(), init(), setMin(), and SWGRangeFloat().
|
private |
Definition at line 63 of file SWGRangeFloat.h.
Referenced by asJsonObject(), fromJsonObject(), getStep(), init(), setStep(), and SWGRangeFloat().
1.8.13