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 <SWGWFMModReport.h>
Public Member Functions | |
SWGWFMModReport () | |
SWGWFMModReport (QString *json) | |
virtual | ~SWGWFMModReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGWFMModReport * | fromJson (QString &jsonString) override |
float | getChannelPowerDb () |
void | setChannelPowerDb (float channel_power_db) |
qint32 | getAudioSampleRate () |
void | setAudioSampleRate (qint32 audio_sample_rate) |
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 | audio_sample_rate |
bool | m_audio_sample_rate_isSet |
qint32 | channel_sample_rate |
bool | m_channel_sample_rate_isSet |
Definition at line 31 of file SWGWFMModReport.h.
SWGSDRangel::SWGWFMModReport::SWGWFMModReport | ( | ) |
Definition at line 30 of file SWGWFMModReport.cpp.
References audio_sample_rate, channel_power_db, channel_sample_rate, m_audio_sample_rate_isSet, m_channel_power_db_isSet, and m_channel_sample_rate_isSet.
SWGSDRangel::SWGWFMModReport::SWGWFMModReport | ( | QString * | json | ) |
Definition at line 25 of file SWGWFMModReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 39 of file SWGWFMModReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 80 of file SWGWFMModReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 91 of file SWGWFMModReport.cpp.
References audio_sample_rate, channel_power_db, channel_sample_rate, m_audio_sample_rate_isSet, m_channel_power_db_isSet, and m_channel_sample_rate_isSet.
Referenced by asJson().
void SWGSDRangel::SWGWFMModReport::cleanup | ( | ) |
Definition at line 54 of file SWGWFMModReport.cpp.
Referenced by ~SWGWFMModReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 61 of file SWGWFMModReport.cpp.
References fromJsonObject().
Referenced by SWGWFMModReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 70 of file SWGWFMModReport.cpp.
References audio_sample_rate, channel_power_db, channel_sample_rate, and SWGSDRangel::setValue().
Referenced by fromJson().
qint32 SWGSDRangel::SWGWFMModReport::getAudioSampleRate | ( | ) |
Definition at line 117 of file SWGWFMModReport.cpp.
References audio_sample_rate.
float SWGSDRangel::SWGWFMModReport::getChannelPowerDb | ( | ) |
Definition at line 107 of file SWGWFMModReport.cpp.
References channel_power_db.
qint32 SWGSDRangel::SWGWFMModReport::getChannelSampleRate | ( | ) |
Definition at line 127 of file SWGWFMModReport.cpp.
References channel_sample_rate.
void SWGSDRangel::SWGWFMModReport::init | ( | ) |
Definition at line 44 of file SWGWFMModReport.cpp.
References audio_sample_rate, channel_power_db, channel_sample_rate, m_audio_sample_rate_isSet, m_channel_power_db_isSet, and m_channel_sample_rate_isSet.
Referenced by SWGWFMModReport(), and WFMMod::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 138 of file SWGWFMModReport.cpp.
References m_audio_sample_rate_isSet, m_channel_power_db_isSet, and m_channel_sample_rate_isSet.
Referenced by SWGSDRangel::SWGChannelReport::asJsonObject(), and SWGSDRangel::SWGChannelReport::isSet().
void SWGSDRangel::SWGWFMModReport::setAudioSampleRate | ( | qint32 | audio_sample_rate | ) |
Definition at line 121 of file SWGWFMModReport.cpp.
References audio_sample_rate, and m_audio_sample_rate_isSet.
Referenced by WFMMod::webapiFormatChannelReport().
void SWGSDRangel::SWGWFMModReport::setChannelPowerDb | ( | float | channel_power_db | ) |
Definition at line 111 of file SWGWFMModReport.cpp.
References channel_power_db, and m_channel_power_db_isSet.
Referenced by WFMMod::webapiFormatChannelReport().
void SWGSDRangel::SWGWFMModReport::setChannelSampleRate | ( | qint32 | channel_sample_rate | ) |
Definition at line 131 of file SWGWFMModReport.cpp.
References channel_sample_rate, and m_channel_sample_rate_isSet.
Referenced by WFMMod::webapiFormatChannelReport().
|
private |
Definition at line 60 of file SWGWFMModReport.h.
Referenced by asJsonObject(), fromJsonObject(), getAudioSampleRate(), init(), setAudioSampleRate(), and SWGWFMModReport().
|
private |
Definition at line 57 of file SWGWFMModReport.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelPowerDb(), init(), setChannelPowerDb(), and SWGWFMModReport().
|
private |
Definition at line 63 of file SWGWFMModReport.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelSampleRate(), init(), setChannelSampleRate(), and SWGWFMModReport().
|
private |
Definition at line 61 of file SWGWFMModReport.h.
Referenced by asJsonObject(), init(), isSet(), setAudioSampleRate(), and SWGWFMModReport().
|
private |
Definition at line 58 of file SWGWFMModReport.h.
Referenced by asJsonObject(), init(), isSet(), setChannelPowerDb(), and SWGWFMModReport().
|
private |
Definition at line 64 of file SWGWFMModReport.h.
Referenced by asJsonObject(), init(), isSet(), setChannelSampleRate(), and SWGWFMModReport().