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 <SWGATVModReport.h>
Public Member Functions | |
SWGATVModReport () | |
SWGATVModReport (QString *json) | |
virtual | ~SWGATVModReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGATVModReport * | fromJson (QString &jsonString) override |
float | getChannelPowerDb () |
void | setChannelPowerDb (float channel_power_db) |
qint32 | getChannelSampleRate () |
void | setChannelSampleRate (qint32 channel_sample_rate) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
float | channel_power_db |
bool | m_channel_power_db_isSet |
qint32 | channel_sample_rate |
bool | m_channel_sample_rate_isSet |
Definition at line 31 of file SWGATVModReport.h.
SWGSDRangel::SWGATVModReport::SWGATVModReport | ( | ) |
Definition at line 30 of file SWGATVModReport.cpp.
References channel_power_db, channel_sample_rate, m_channel_power_db_isSet, and m_channel_sample_rate_isSet.
SWGSDRangel::SWGATVModReport::SWGATVModReport | ( | QString * | json | ) |
Definition at line 25 of file SWGATVModReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 37 of file SWGATVModReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 73 of file SWGATVModReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 84 of file SWGATVModReport.cpp.
References channel_power_db, channel_sample_rate, m_channel_power_db_isSet, and m_channel_sample_rate_isSet.
Referenced by asJson().
void SWGSDRangel::SWGATVModReport::cleanup | ( | ) |
Definition at line 50 of file SWGATVModReport.cpp.
Referenced by ~SWGATVModReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 56 of file SWGATVModReport.cpp.
References fromJsonObject().
Referenced by SWGATVModReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 65 of file SWGATVModReport.cpp.
References channel_power_db, channel_sample_rate, and SWGSDRangel::setValue().
Referenced by fromJson().
float SWGSDRangel::SWGATVModReport::getChannelPowerDb | ( | ) |
Definition at line 97 of file SWGATVModReport.cpp.
References channel_power_db.
qint32 SWGSDRangel::SWGATVModReport::getChannelSampleRate | ( | ) |
Definition at line 107 of file SWGATVModReport.cpp.
References channel_sample_rate.
void SWGSDRangel::SWGATVModReport::init | ( | ) |
Definition at line 42 of file SWGATVModReport.cpp.
References channel_power_db, channel_sample_rate, m_channel_power_db_isSet, and m_channel_sample_rate_isSet.
Referenced by SWGATVModReport(), and ATVMod::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 118 of file SWGATVModReport.cpp.
References m_channel_power_db_isSet, and m_channel_sample_rate_isSet.
Referenced by SWGSDRangel::SWGChannelReport::asJsonObject(), and SWGSDRangel::SWGChannelReport::isSet().
void SWGSDRangel::SWGATVModReport::setChannelPowerDb | ( | float | channel_power_db | ) |
Definition at line 101 of file SWGATVModReport.cpp.
References channel_power_db, and m_channel_power_db_isSet.
Referenced by ATVMod::webapiFormatChannelReport().
void SWGSDRangel::SWGATVModReport::setChannelSampleRate | ( | qint32 | channel_sample_rate | ) |
Definition at line 111 of file SWGATVModReport.cpp.
References channel_sample_rate, and m_channel_sample_rate_isSet.
Referenced by ATVMod::webapiFormatChannelReport().
|
private |
Definition at line 54 of file SWGATVModReport.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelPowerDb(), init(), setChannelPowerDb(), and SWGATVModReport().
|
private |
Definition at line 57 of file SWGATVModReport.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelSampleRate(), init(), setChannelSampleRate(), and SWGATVModReport().
|
private |
Definition at line 55 of file SWGATVModReport.h.
Referenced by asJsonObject(), init(), isSet(), setChannelPowerDb(), and SWGATVModReport().
|
private |
Definition at line 58 of file SWGATVModReport.h.
Referenced by asJsonObject(), init(), isSet(), setChannelSampleRate(), and SWGATVModReport().