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 <SWGXtrxInputReport.h>
Public Member Functions | |
SWGXtrxInputReport () | |
SWGXtrxInputReport (QString *json) | |
virtual | ~SWGXtrxInputReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGXtrxInputReport * | fromJson (QString &jsonString) override |
qint32 | getSuccess () |
void | setSuccess (qint32 success) |
qint32 | getFifoSize () |
void | setFifoSize (qint32 fifo_size) |
qint32 | getFifoFill () |
void | setFifoFill (qint32 fifo_fill) |
float | getTemperature () |
void | setTemperature (float temperature) |
qint32 | getGpsLock () |
void | setGpsLock (qint32 gps_lock) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | success |
bool | m_success_isSet |
qint32 | fifo_size |
bool | m_fifo_size_isSet |
qint32 | fifo_fill |
bool | m_fifo_fill_isSet |
float | temperature |
bool | m_temperature_isSet |
qint32 | gps_lock |
bool | m_gps_lock_isSet |
Definition at line 31 of file SWGXtrxInputReport.h.
SWGSDRangel::SWGXtrxInputReport::SWGXtrxInputReport | ( | ) |
Definition at line 30 of file SWGXtrxInputReport.cpp.
References fifo_fill, fifo_size, gps_lock, m_fifo_fill_isSet, m_fifo_size_isSet, m_gps_lock_isSet, m_success_isSet, m_temperature_isSet, success, and temperature.
SWGSDRangel::SWGXtrxInputReport::SWGXtrxInputReport | ( | QString * | json | ) |
Definition at line 25 of file SWGXtrxInputReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 43 of file SWGXtrxInputReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 94 of file SWGXtrxInputReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 105 of file SWGXtrxInputReport.cpp.
References fifo_fill, fifo_size, gps_lock, m_fifo_fill_isSet, m_fifo_size_isSet, m_gps_lock_isSet, m_success_isSet, m_temperature_isSet, success, and temperature.
Referenced by asJson().
void SWGSDRangel::SWGXtrxInputReport::cleanup | ( | ) |
Definition at line 62 of file SWGXtrxInputReport.cpp.
Referenced by ~SWGXtrxInputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 71 of file SWGXtrxInputReport.cpp.
References fromJsonObject().
Referenced by SWGXtrxInputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 80 of file SWGXtrxInputReport.cpp.
References fifo_fill, fifo_size, gps_lock, SWGSDRangel::setValue(), success, and temperature.
Referenced by fromJson().
qint32 SWGSDRangel::SWGXtrxInputReport::getFifoFill | ( | ) |
qint32 SWGSDRangel::SWGXtrxInputReport::getFifoSize | ( | ) |
qint32 SWGSDRangel::SWGXtrxInputReport::getGpsLock | ( | ) |
qint32 SWGSDRangel::SWGXtrxInputReport::getSuccess | ( | ) |
float SWGSDRangel::SWGXtrxInputReport::getTemperature | ( | ) |
void SWGSDRangel::SWGXtrxInputReport::init | ( | ) |
Definition at line 48 of file SWGXtrxInputReport.cpp.
References fifo_fill, fifo_size, gps_lock, m_fifo_fill_isSet, m_fifo_size_isSet, m_gps_lock_isSet, m_success_isSet, m_temperature_isSet, success, and temperature.
Referenced by SWGXtrxInputReport(), and XTRXInput::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 178 of file SWGXtrxInputReport.cpp.
References m_fifo_fill_isSet, m_fifo_size_isSet, m_gps_lock_isSet, m_success_isSet, and m_temperature_isSet.
Referenced by SWGSDRangel::SWGDeviceReport::asJsonObject(), and SWGSDRangel::SWGDeviceReport::isSet().
void SWGSDRangel::SWGXtrxInputReport::setFifoFill | ( | qint32 | fifo_fill | ) |
Definition at line 151 of file SWGXtrxInputReport.cpp.
References fifo_fill, and m_fifo_fill_isSet.
Referenced by XTRXInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGXtrxInputReport::setFifoSize | ( | qint32 | fifo_size | ) |
Definition at line 141 of file SWGXtrxInputReport.cpp.
References fifo_size, and m_fifo_size_isSet.
Referenced by XTRXInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGXtrxInputReport::setGpsLock | ( | qint32 | gps_lock | ) |
Definition at line 171 of file SWGXtrxInputReport.cpp.
References gps_lock, and m_gps_lock_isSet.
Referenced by XTRXInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGXtrxInputReport::setSuccess | ( | qint32 | success | ) |
Definition at line 131 of file SWGXtrxInputReport.cpp.
References m_success_isSet, and success.
Referenced by XTRXInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGXtrxInputReport::setTemperature | ( | float | temperature | ) |
Definition at line 161 of file SWGXtrxInputReport.cpp.
References m_temperature_isSet, and temperature.
Referenced by XTRXInput::webapiFormatDeviceReport().
|
private |
Definition at line 69 of file SWGXtrxInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getFifoFill(), init(), setFifoFill(), and SWGXtrxInputReport().
|
private |
Definition at line 66 of file SWGXtrxInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getFifoSize(), init(), setFifoSize(), and SWGXtrxInputReport().
|
private |
Definition at line 75 of file SWGXtrxInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getGpsLock(), init(), setGpsLock(), and SWGXtrxInputReport().
|
private |
Definition at line 70 of file SWGXtrxInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setFifoFill(), and SWGXtrxInputReport().
|
private |
Definition at line 67 of file SWGXtrxInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setFifoSize(), and SWGXtrxInputReport().
|
private |
Definition at line 76 of file SWGXtrxInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setGpsLock(), and SWGXtrxInputReport().
|
private |
Definition at line 64 of file SWGXtrxInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setSuccess(), and SWGXtrxInputReport().
|
private |
Definition at line 73 of file SWGXtrxInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setTemperature(), and SWGXtrxInputReport().
|
private |
Definition at line 63 of file SWGXtrxInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getSuccess(), init(), setSuccess(), and SWGXtrxInputReport().
|
private |
Definition at line 72 of file SWGXtrxInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getTemperature(), init(), setTemperature(), and SWGXtrxInputReport().