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 <SWGRange.h>
Public Member Functions | |
SWGRange () | |
SWGRange (QString *json) | |
virtual | ~SWGRange () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGRange * | fromJson (QString &jsonString) override |
qint32 | getMin () |
void | setMin (qint32 min) |
qint32 | getMax () |
void | setMax (qint32 max) |
qint32 | getStep () |
void | setStep (qint32 step) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | min |
bool | m_min_isSet |
qint32 | max |
bool | m_max_isSet |
qint32 | step |
bool | m_step_isSet |
Definition at line 31 of file SWGRange.h.
SWGSDRangel::SWGRange::SWGRange | ( | ) |
Definition at line 30 of file SWGRange.cpp.
References m_max_isSet, m_min_isSet, m_step_isSet, max, min, and step.
SWGSDRangel::SWGRange::SWGRange | ( | QString * | json | ) |
Definition at line 25 of file SWGRange.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 39 of file SWGRange.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 80 of file SWGRange.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 91 of file SWGRange.cpp.
References m_max_isSet, m_min_isSet, m_step_isSet, max, min, and step.
Referenced by asJson().
void SWGSDRangel::SWGRange::cleanup | ( | ) |
Definition at line 54 of file SWGRange.cpp.
Referenced by ~SWGRange().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 61 of file SWGRange.cpp.
References fromJsonObject().
Referenced by SWGRange().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 70 of file SWGRange.cpp.
References max, min, SWGSDRangel::setValue(), and step.
Referenced by fromJson().
qint32 SWGSDRangel::SWGRange::getMax | ( | ) |
Definition at line 117 of file SWGRange.cpp.
References max.
qint32 SWGSDRangel::SWGRange::getMin | ( | ) |
Definition at line 107 of file SWGRange.cpp.
References min.
qint32 SWGSDRangel::SWGRange::getStep | ( | ) |
Definition at line 127 of file SWGRange.cpp.
References step.
void SWGSDRangel::SWGRange::init | ( | ) |
Definition at line 44 of file SWGRange.cpp.
References m_max_isSet, m_min_isSet, m_step_isSet, max, min, and step.
Referenced by SWGRange().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 138 of file SWGRange.cpp.
References m_max_isSet, m_min_isSet, and m_step_isSet.
Referenced by SWGSDRangel::SWGBladeRF2OutputReport::asJsonObject(), SWGSDRangel::SWGBladeRF2InputReport::asJsonObject(), SWGSDRangel::SWGBladeRF2OutputReport::isSet(), and SWGSDRangel::SWGBladeRF2InputReport::isSet().
void SWGSDRangel::SWGRange::setMax | ( | qint32 | max | ) |
Definition at line 121 of file SWGRange.cpp.
References m_max_isSet, and max.
Referenced by BladeRF2Output::webapiFormatDeviceReport(), and BladeRF2Input::webapiFormatDeviceReport().
void SWGSDRangel::SWGRange::setMin | ( | qint32 | min | ) |
Definition at line 111 of file SWGRange.cpp.
References m_min_isSet, and min.
Referenced by BladeRF2Output::webapiFormatDeviceReport(), and BladeRF2Input::webapiFormatDeviceReport().
void SWGSDRangel::SWGRange::setStep | ( | qint32 | step | ) |
Definition at line 131 of file SWGRange.cpp.
References m_step_isSet, and step.
Referenced by BladeRF2Output::webapiFormatDeviceReport(), and BladeRF2Input::webapiFormatDeviceReport().
|
private |
Definition at line 61 of file SWGRange.h.
Referenced by asJsonObject(), init(), isSet(), setMax(), and SWGRange().
|
private |
Definition at line 58 of file SWGRange.h.
Referenced by asJsonObject(), init(), isSet(), setMin(), and SWGRange().
|
private |
Definition at line 64 of file SWGRange.h.
Referenced by asJsonObject(), init(), isSet(), setStep(), and SWGRange().
|
private |
Definition at line 60 of file SWGRange.h.
Referenced by asJsonObject(), fromJsonObject(), getMax(), init(), setMax(), and SWGRange().
|
private |
Definition at line 57 of file SWGRange.h.
Referenced by asJsonObject(), fromJsonObject(), getMin(), init(), setMin(), and SWGRange().
|
private |
Definition at line 63 of file SWGRange.h.
Referenced by asJsonObject(), fromJsonObject(), getStep(), init(), setStep(), and SWGRange().