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 <SWGSDRPlayReport.h>
Public Member Functions | |
SWGSDRPlayReport () | |
SWGSDRPlayReport (QString *json) | |
virtual | ~SWGSDRPlayReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGSDRPlayReport * | fromJson (QString &jsonString) override |
QList< SWGSampleRate * > * | getSampleRates () |
void | setSampleRates (QList< SWGSampleRate *> *sample_rates) |
QList< SWGBandwidth * > * | getBandwidths () |
void | setBandwidths (QList< SWGBandwidth *> *bandwidths) |
QList< SWGFrequency * > * | getIntermediateFrequencies () |
void | setIntermediateFrequencies (QList< SWGFrequency *> *intermediate_frequencies) |
QList< SWGFrequencyBand * > * | getFrequencyBands () |
void | setFrequencyBands (QList< SWGFrequencyBand *> *frequency_bands) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QList< SWGSampleRate * > * | sample_rates |
bool | m_sample_rates_isSet |
QList< SWGBandwidth * > * | bandwidths |
bool | m_bandwidths_isSet |
QList< SWGFrequency * > * | intermediate_frequencies |
bool | m_intermediate_frequencies_isSet |
QList< SWGFrequencyBand * > * | frequency_bands |
bool | m_frequency_bands_isSet |
Definition at line 36 of file SWGSDRPlayReport.h.
SWGSDRangel::SWGSDRPlayReport::SWGSDRPlayReport | ( | ) |
Definition at line 30 of file SWGSDRPlayReport.cpp.
References bandwidths, frequency_bands, intermediate_frequencies, m_bandwidths_isSet, m_frequency_bands_isSet, m_intermediate_frequencies_isSet, m_sample_rates_isSet, and sample_rates.
SWGSDRangel::SWGSDRPlayReport::SWGSDRPlayReport | ( | QString * | json | ) |
Definition at line 25 of file SWGSDRPlayReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 41 of file SWGSDRPlayReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 111 of file SWGSDRPlayReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 122 of file SWGSDRPlayReport.cpp.
References bandwidths, frequency_bands, intermediate_frequencies, sample_rates, and SWGSDRangel::toJsonArray().
Referenced by asJson().
void SWGSDRangel::SWGSDRPlayReport::cleanup | ( | ) |
Definition at line 58 of file SWGSDRPlayReport.cpp.
References bandwidths, frequency_bands, intermediate_frequencies, and sample_rates.
Referenced by ~SWGSDRPlayReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 90 of file SWGSDRPlayReport.cpp.
References fromJsonObject().
Referenced by SWGSDRPlayReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 99 of file SWGSDRPlayReport.cpp.
References bandwidths, frequency_bands, intermediate_frequencies, sample_rates, and SWGSDRangel::setValue().
Referenced by fromJson().
QList< SWGBandwidth * > * SWGSDRangel::SWGSDRPlayReport::getBandwidths | ( | ) |
Definition at line 151 of file SWGSDRPlayReport.cpp.
References bandwidths.
Referenced by SDRPlayInput::webapiFormatDeviceReport().
QList< SWGFrequencyBand * > * SWGSDRangel::SWGSDRPlayReport::getFrequencyBands | ( | ) |
Definition at line 171 of file SWGSDRPlayReport.cpp.
References frequency_bands.
Referenced by SDRPlayInput::webapiFormatDeviceReport().
QList< SWGFrequency * > * SWGSDRangel::SWGSDRPlayReport::getIntermediateFrequencies | ( | ) |
Definition at line 161 of file SWGSDRPlayReport.cpp.
References intermediate_frequencies.
Referenced by SDRPlayInput::webapiFormatDeviceReport().
QList< SWGSampleRate * > * SWGSDRangel::SWGSDRPlayReport::getSampleRates | ( | ) |
Definition at line 141 of file SWGSDRPlayReport.cpp.
References sample_rates.
Referenced by SDRPlayInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGSDRPlayReport::init | ( | ) |
Definition at line 46 of file SWGSDRPlayReport.cpp.
References bandwidths, frequency_bands, intermediate_frequencies, m_bandwidths_isSet, m_frequency_bands_isSet, m_intermediate_frequencies_isSet, m_sample_rates_isSet, and sample_rates.
Referenced by SWGSDRPlayReport(), and SDRPlayInput::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 182 of file SWGSDRPlayReport.cpp.
References bandwidths, frequency_bands, intermediate_frequencies, and sample_rates.
Referenced by SWGSDRangel::SWGDeviceReport::asJsonObject(), and SWGSDRangel::SWGDeviceReport::isSet().
void SWGSDRangel::SWGSDRPlayReport::setBandwidths | ( | QList< SWGBandwidth *> * | bandwidths | ) |
Definition at line 155 of file SWGSDRPlayReport.cpp.
References bandwidths, and m_bandwidths_isSet.
Referenced by SDRPlayInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGSDRPlayReport::setFrequencyBands | ( | QList< SWGFrequencyBand *> * | frequency_bands | ) |
Definition at line 175 of file SWGSDRPlayReport.cpp.
References frequency_bands, and m_frequency_bands_isSet.
Referenced by SDRPlayInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGSDRPlayReport::setIntermediateFrequencies | ( | QList< SWGFrequency *> * | intermediate_frequencies | ) |
Definition at line 165 of file SWGSDRPlayReport.cpp.
References intermediate_frequencies, and m_intermediate_frequencies_isSet.
Referenced by SDRPlayInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGSDRPlayReport::setSampleRates | ( | QList< SWGSampleRate *> * | sample_rates | ) |
Definition at line 145 of file SWGSDRPlayReport.cpp.
References m_sample_rates_isSet, and sample_rates.
Referenced by SDRPlayInput::webapiFormatDeviceReport().
|
private |
Definition at line 68 of file SWGSDRPlayReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getBandwidths(), init(), isSet(), setBandwidths(), and SWGSDRPlayReport().
|
private |
Definition at line 74 of file SWGSDRPlayReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFrequencyBands(), init(), isSet(), setFrequencyBands(), and SWGSDRPlayReport().
|
private |
Definition at line 71 of file SWGSDRPlayReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getIntermediateFrequencies(), init(), isSet(), setIntermediateFrequencies(), and SWGSDRPlayReport().
|
private |
Definition at line 69 of file SWGSDRPlayReport.h.
Referenced by init(), setBandwidths(), and SWGSDRPlayReport().
|
private |
Definition at line 75 of file SWGSDRPlayReport.h.
Referenced by init(), setFrequencyBands(), and SWGSDRPlayReport().
|
private |
Definition at line 72 of file SWGSDRPlayReport.h.
Referenced by init(), setIntermediateFrequencies(), and SWGSDRPlayReport().
|
private |
Definition at line 66 of file SWGSDRPlayReport.h.
Referenced by init(), setSampleRates(), and SWGSDRPlayReport().
|
private |
Definition at line 65 of file SWGSDRPlayReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getSampleRates(), init(), isSet(), setSampleRates(), and SWGSDRPlayReport().