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 <SWGBladeRF2InputReport.h>
Public Member Functions | |
SWGBladeRF2InputReport () | |
SWGBladeRF2InputReport (QString *json) | |
virtual | ~SWGBladeRF2InputReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGBladeRF2InputReport * | fromJson (QString &jsonString) override |
SWGFrequencyRange * | getFrequencyRange () |
void | setFrequencyRange (SWGFrequencyRange *frequency_range) |
SWGRange * | getSampleRateRange () |
void | setSampleRateRange (SWGRange *sample_rate_range) |
SWGRange * | getBandwidthRange () |
void | setBandwidthRange (SWGRange *bandwidth_range) |
SWGRange * | getGlobalGainRange () |
void | setGlobalGainRange (SWGRange *global_gain_range) |
QList< SWGNamedEnum * > * | getGainModes () |
void | setGainModes (QList< SWGNamedEnum *> *gain_modes) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
SWGFrequencyRange * | frequency_range |
bool | m_frequency_range_isSet |
SWGRange * | sample_rate_range |
bool | m_sample_rate_range_isSet |
SWGRange * | bandwidth_range |
bool | m_bandwidth_range_isSet |
SWGRange * | global_gain_range |
bool | m_global_gain_range_isSet |
QList< SWGNamedEnum * > * | gain_modes |
bool | m_gain_modes_isSet |
Definition at line 35 of file SWGBladeRF2InputReport.h.
SWGSDRangel::SWGBladeRF2InputReport::SWGBladeRF2InputReport | ( | ) |
Definition at line 30 of file SWGBladeRF2InputReport.cpp.
References bandwidth_range, frequency_range, gain_modes, global_gain_range, m_bandwidth_range_isSet, m_frequency_range_isSet, m_gain_modes_isSet, m_global_gain_range_isSet, m_sample_rate_range_isSet, and sample_rate_range.
SWGSDRangel::SWGBladeRF2InputReport::SWGBladeRF2InputReport | ( | QString * | json | ) |
Definition at line 25 of file SWGBladeRF2InputReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 43 of file SWGBladeRF2InputReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 108 of file SWGBladeRF2InputReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 119 of file SWGBladeRF2InputReport.cpp.
References bandwidth_range, frequency_range, gain_modes, global_gain_range, SWGSDRangel::SWGFrequencyRange::isSet(), SWGSDRangel::SWGRange::isSet(), sample_rate_range, SWGSDRangel::toJsonArray(), and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGBladeRF2InputReport::cleanup | ( | ) |
Definition at line 62 of file SWGBladeRF2InputReport.cpp.
References bandwidth_range, frequency_range, gain_modes, global_gain_range, and sample_rate_range.
Referenced by ~SWGBladeRF2InputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 85 of file SWGBladeRF2InputReport.cpp.
References fromJsonObject().
Referenced by SWGBladeRF2InputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 94 of file SWGBladeRF2InputReport.cpp.
References bandwidth_range, frequency_range, gain_modes, global_gain_range, sample_rate_range, and SWGSDRangel::setValue().
Referenced by fromJson().
SWGRange * SWGSDRangel::SWGBladeRF2InputReport::getBandwidthRange | ( | ) |
Definition at line 161 of file SWGBladeRF2InputReport.cpp.
References bandwidth_range.
Referenced by BladeRF2Input::webapiFormatDeviceReport().
SWGFrequencyRange * SWGSDRangel::SWGBladeRF2InputReport::getFrequencyRange | ( | ) |
Definition at line 141 of file SWGBladeRF2InputReport.cpp.
References frequency_range.
Referenced by BladeRF2Input::webapiFormatDeviceReport().
QList< SWGNamedEnum * > * SWGSDRangel::SWGBladeRF2InputReport::getGainModes | ( | ) |
Definition at line 181 of file SWGBladeRF2InputReport.cpp.
References gain_modes.
Referenced by BladeRF2Input::webapiFormatDeviceReport().
SWGRange * SWGSDRangel::SWGBladeRF2InputReport::getGlobalGainRange | ( | ) |
Definition at line 171 of file SWGBladeRF2InputReport.cpp.
References global_gain_range.
Referenced by BladeRF2Input::webapiFormatDeviceReport().
SWGRange * SWGSDRangel::SWGBladeRF2InputReport::getSampleRateRange | ( | ) |
Definition at line 151 of file SWGBladeRF2InputReport.cpp.
References sample_rate_range.
Referenced by BladeRF2Input::webapiFormatDeviceReport().
void SWGSDRangel::SWGBladeRF2InputReport::init | ( | ) |
Definition at line 48 of file SWGBladeRF2InputReport.cpp.
References bandwidth_range, frequency_range, gain_modes, global_gain_range, m_bandwidth_range_isSet, m_frequency_range_isSet, m_gain_modes_isSet, m_global_gain_range_isSet, m_sample_rate_range_isSet, and sample_rate_range.
Referenced by SWGBladeRF2InputReport(), and BladeRF2Input::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 192 of file SWGBladeRF2InputReport.cpp.
References bandwidth_range, frequency_range, gain_modes, global_gain_range, SWGSDRangel::SWGRange::isSet(), SWGSDRangel::SWGFrequencyRange::isSet(), and sample_rate_range.
Referenced by SWGSDRangel::SWGDeviceReport::asJsonObject(), and SWGSDRangel::SWGDeviceReport::isSet().
void SWGSDRangel::SWGBladeRF2InputReport::setBandwidthRange | ( | SWGRange * | bandwidth_range | ) |
Definition at line 165 of file SWGBladeRF2InputReport.cpp.
References bandwidth_range, and m_bandwidth_range_isSet.
Referenced by BladeRF2Input::webapiFormatDeviceReport().
void SWGSDRangel::SWGBladeRF2InputReport::setFrequencyRange | ( | SWGFrequencyRange * | frequency_range | ) |
Definition at line 145 of file SWGBladeRF2InputReport.cpp.
References frequency_range, and m_frequency_range_isSet.
Referenced by BladeRF2Input::webapiFormatDeviceReport().
void SWGSDRangel::SWGBladeRF2InputReport::setGainModes | ( | QList< SWGNamedEnum *> * | gain_modes | ) |
Definition at line 185 of file SWGBladeRF2InputReport.cpp.
References gain_modes, and m_gain_modes_isSet.
Referenced by BladeRF2Input::webapiFormatDeviceReport().
void SWGSDRangel::SWGBladeRF2InputReport::setGlobalGainRange | ( | SWGRange * | global_gain_range | ) |
Definition at line 175 of file SWGBladeRF2InputReport.cpp.
References global_gain_range, and m_global_gain_range_isSet.
Referenced by BladeRF2Input::webapiFormatDeviceReport().
void SWGSDRangel::SWGBladeRF2InputReport::setSampleRateRange | ( | SWGRange * | sample_rate_range | ) |
Definition at line 155 of file SWGBladeRF2InputReport.cpp.
References m_sample_rate_range_isSet, and sample_rate_range.
Referenced by BladeRF2Input::webapiFormatDeviceReport().
|
private |
Definition at line 73 of file SWGBladeRF2InputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getBandwidthRange(), init(), isSet(), setBandwidthRange(), and SWGBladeRF2InputReport().
|
private |
Definition at line 67 of file SWGBladeRF2InputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFrequencyRange(), init(), isSet(), setFrequencyRange(), and SWGBladeRF2InputReport().
|
private |
Definition at line 79 of file SWGBladeRF2InputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getGainModes(), init(), isSet(), setGainModes(), and SWGBladeRF2InputReport().
|
private |
Definition at line 76 of file SWGBladeRF2InputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getGlobalGainRange(), init(), isSet(), setGlobalGainRange(), and SWGBladeRF2InputReport().
|
private |
Definition at line 74 of file SWGBladeRF2InputReport.h.
Referenced by init(), setBandwidthRange(), and SWGBladeRF2InputReport().
|
private |
Definition at line 68 of file SWGBladeRF2InputReport.h.
Referenced by init(), setFrequencyRange(), and SWGBladeRF2InputReport().
|
private |
Definition at line 80 of file SWGBladeRF2InputReport.h.
Referenced by init(), setGainModes(), and SWGBladeRF2InputReport().
|
private |
Definition at line 77 of file SWGBladeRF2InputReport.h.
Referenced by init(), setGlobalGainRange(), and SWGBladeRF2InputReport().
|
private |
Definition at line 71 of file SWGBladeRF2InputReport.h.
Referenced by init(), setSampleRateRange(), and SWGBladeRF2InputReport().
|
private |
Definition at line 70 of file SWGBladeRF2InputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getSampleRateRange(), init(), isSet(), setSampleRateRange(), and SWGBladeRF2InputReport().