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