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 <SWGPlutoSdrOutputReport.h>
Public Member Functions | |
SWGPlutoSdrOutputReport () | |
SWGPlutoSdrOutputReport (QString *json) | |
virtual | ~SWGPlutoSdrOutputReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGPlutoSdrOutputReport * | fromJson (QString &jsonString) override |
qint32 | getDacRate () |
void | setDacRate (qint32 dac_rate) |
QString * | getRssi () |
void | setRssi (QString *rssi) |
float | getTemperature () |
void | setTemperature (float temperature) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | dac_rate |
bool | m_dac_rate_isSet |
QString * | rssi |
bool | m_rssi_isSet |
float | temperature |
bool | m_temperature_isSet |
Definition at line 32 of file SWGPlutoSdrOutputReport.h.
SWGSDRangel::SWGPlutoSdrOutputReport::SWGPlutoSdrOutputReport | ( | ) |
Definition at line 30 of file SWGPlutoSdrOutputReport.cpp.
References dac_rate, m_dac_rate_isSet, m_rssi_isSet, m_temperature_isSet, rssi, and temperature.
SWGSDRangel::SWGPlutoSdrOutputReport::SWGPlutoSdrOutputReport | ( | QString * | json | ) |
Definition at line 25 of file SWGPlutoSdrOutputReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 39 of file SWGPlutoSdrOutputReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 82 of file SWGPlutoSdrOutputReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 93 of file SWGPlutoSdrOutputReport.cpp.
References dac_rate, m_dac_rate_isSet, m_temperature_isSet, rssi, temperature, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGPlutoSdrOutputReport::cleanup | ( | ) |
Definition at line 54 of file SWGPlutoSdrOutputReport.cpp.
References rssi.
Referenced by ~SWGPlutoSdrOutputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 63 of file SWGPlutoSdrOutputReport.cpp.
References fromJsonObject().
Referenced by SWGPlutoSdrOutputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 72 of file SWGPlutoSdrOutputReport.cpp.
References dac_rate, rssi, SWGSDRangel::setValue(), and temperature.
Referenced by fromJson().
qint32 SWGSDRangel::SWGPlutoSdrOutputReport::getDacRate | ( | ) |
Definition at line 109 of file SWGPlutoSdrOutputReport.cpp.
References dac_rate.
QString * SWGSDRangel::SWGPlutoSdrOutputReport::getRssi | ( | ) |
float SWGSDRangel::SWGPlutoSdrOutputReport::getTemperature | ( | ) |
Definition at line 129 of file SWGPlutoSdrOutputReport.cpp.
References temperature.
void SWGSDRangel::SWGPlutoSdrOutputReport::init | ( | ) |
Definition at line 44 of file SWGPlutoSdrOutputReport.cpp.
References dac_rate, m_dac_rate_isSet, m_rssi_isSet, m_temperature_isSet, rssi, and temperature.
Referenced by SWGPlutoSdrOutputReport(), and PlutoSDROutput::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 140 of file SWGPlutoSdrOutputReport.cpp.
References m_dac_rate_isSet, m_temperature_isSet, and rssi.
Referenced by SWGSDRangel::SWGDeviceReport::asJsonObject(), and SWGSDRangel::SWGDeviceReport::isSet().
void SWGSDRangel::SWGPlutoSdrOutputReport::setDacRate | ( | qint32 | dac_rate | ) |
Definition at line 113 of file SWGPlutoSdrOutputReport.cpp.
References dac_rate, and m_dac_rate_isSet.
Referenced by PlutoSDROutput::webapiFormatDeviceReport().
void SWGSDRangel::SWGPlutoSdrOutputReport::setRssi | ( | QString * | rssi | ) |
Definition at line 123 of file SWGPlutoSdrOutputReport.cpp.
References m_rssi_isSet, and rssi.
Referenced by PlutoSDROutput::webapiFormatDeviceReport().
void SWGSDRangel::SWGPlutoSdrOutputReport::setTemperature | ( | float | temperature | ) |
Definition at line 133 of file SWGPlutoSdrOutputReport.cpp.
References m_temperature_isSet, and temperature.
Referenced by PlutoSDROutput::webapiFormatDeviceReport().
|
private |
Definition at line 58 of file SWGPlutoSdrOutputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getDacRate(), init(), setDacRate(), and SWGPlutoSdrOutputReport().
|
private |
Definition at line 59 of file SWGPlutoSdrOutputReport.h.
Referenced by asJsonObject(), init(), isSet(), setDacRate(), and SWGPlutoSdrOutputReport().
|
private |
Definition at line 62 of file SWGPlutoSdrOutputReport.h.
Referenced by init(), setRssi(), and SWGPlutoSdrOutputReport().
|
private |
Definition at line 65 of file SWGPlutoSdrOutputReport.h.
Referenced by asJsonObject(), init(), isSet(), setTemperature(), and SWGPlutoSdrOutputReport().
|
private |
Definition at line 61 of file SWGPlutoSdrOutputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getRssi(), init(), isSet(), setRssi(), and SWGPlutoSdrOutputReport().
|
private |
Definition at line 64 of file SWGPlutoSdrOutputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getTemperature(), init(), setTemperature(), and SWGPlutoSdrOutputReport().