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 <SWGWFMDemodReport.h>
Public Member Functions | |
SWGWFMDemodReport () | |
SWGWFMDemodReport (QString *json) | |
virtual | ~SWGWFMDemodReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGWFMDemodReport * | fromJson (QString &jsonString) override |
float | getChannelPowerDb () |
void | setChannelPowerDb (float channel_power_db) |
qint32 | getSquelch () |
void | setSquelch (qint32 squelch) |
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 | squelch |
bool | m_squelch_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 SWGWFMDemodReport.h.
SWGSDRangel::SWGWFMDemodReport::SWGWFMDemodReport | ( | ) |
Definition at line 30 of file SWGWFMDemodReport.cpp.
References audio_sample_rate, channel_power_db, channel_sample_rate, m_audio_sample_rate_isSet, m_channel_power_db_isSet, m_channel_sample_rate_isSet, m_squelch_isSet, and squelch.
SWGSDRangel::SWGWFMDemodReport::SWGWFMDemodReport | ( | QString * | json | ) |
Definition at line 25 of file SWGWFMDemodReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 41 of file SWGWFMDemodReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 87 of file SWGWFMDemodReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 98 of file SWGWFMDemodReport.cpp.
References audio_sample_rate, channel_power_db, channel_sample_rate, m_audio_sample_rate_isSet, m_channel_power_db_isSet, m_channel_sample_rate_isSet, m_squelch_isSet, and squelch.
Referenced by asJson().
void SWGSDRangel::SWGWFMDemodReport::cleanup | ( | ) |
Definition at line 58 of file SWGWFMDemodReport.cpp.
Referenced by ~SWGWFMDemodReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 66 of file SWGWFMDemodReport.cpp.
References fromJsonObject().
Referenced by SWGWFMDemodReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 75 of file SWGWFMDemodReport.cpp.
References audio_sample_rate, channel_power_db, channel_sample_rate, SWGSDRangel::setValue(), and squelch.
Referenced by fromJson().
qint32 SWGSDRangel::SWGWFMDemodReport::getAudioSampleRate | ( | ) |
Definition at line 137 of file SWGWFMDemodReport.cpp.
References audio_sample_rate.
float SWGSDRangel::SWGWFMDemodReport::getChannelPowerDb | ( | ) |
Definition at line 117 of file SWGWFMDemodReport.cpp.
References channel_power_db.
qint32 SWGSDRangel::SWGWFMDemodReport::getChannelSampleRate | ( | ) |
Definition at line 147 of file SWGWFMDemodReport.cpp.
References channel_sample_rate.
qint32 SWGSDRangel::SWGWFMDemodReport::getSquelch | ( | ) |
void SWGSDRangel::SWGWFMDemodReport::init | ( | ) |
Definition at line 46 of file SWGWFMDemodReport.cpp.
References audio_sample_rate, channel_power_db, channel_sample_rate, m_audio_sample_rate_isSet, m_channel_power_db_isSet, m_channel_sample_rate_isSet, m_squelch_isSet, and squelch.
Referenced by SWGWFMDemodReport(), and WFMDemod::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 158 of file SWGWFMDemodReport.cpp.
References m_audio_sample_rate_isSet, m_channel_power_db_isSet, m_channel_sample_rate_isSet, and m_squelch_isSet.
Referenced by SWGSDRangel::SWGChannelReport::asJsonObject(), and SWGSDRangel::SWGChannelReport::isSet().
void SWGSDRangel::SWGWFMDemodReport::setAudioSampleRate | ( | qint32 | audio_sample_rate | ) |
Definition at line 141 of file SWGWFMDemodReport.cpp.
References audio_sample_rate, and m_audio_sample_rate_isSet.
Referenced by WFMDemod::webapiFormatChannelReport().
void SWGSDRangel::SWGWFMDemodReport::setChannelPowerDb | ( | float | channel_power_db | ) |
Definition at line 121 of file SWGWFMDemodReport.cpp.
References channel_power_db, and m_channel_power_db_isSet.
Referenced by WFMDemod::webapiFormatChannelReport().
void SWGSDRangel::SWGWFMDemodReport::setChannelSampleRate | ( | qint32 | channel_sample_rate | ) |
Definition at line 151 of file SWGWFMDemodReport.cpp.
References channel_sample_rate, and m_channel_sample_rate_isSet.
Referenced by WFMDemod::webapiFormatChannelReport().
void SWGSDRangel::SWGWFMDemodReport::setSquelch | ( | qint32 | squelch | ) |
Definition at line 131 of file SWGWFMDemodReport.cpp.
References m_squelch_isSet, and squelch.
Referenced by WFMDemod::webapiFormatChannelReport().
|
private |
Definition at line 66 of file SWGWFMDemodReport.h.
Referenced by asJsonObject(), fromJsonObject(), getAudioSampleRate(), init(), setAudioSampleRate(), and SWGWFMDemodReport().
|
private |
Definition at line 60 of file SWGWFMDemodReport.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelPowerDb(), init(), setChannelPowerDb(), and SWGWFMDemodReport().
|
private |
Definition at line 69 of file SWGWFMDemodReport.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelSampleRate(), init(), setChannelSampleRate(), and SWGWFMDemodReport().
|
private |
Definition at line 67 of file SWGWFMDemodReport.h.
Referenced by asJsonObject(), init(), isSet(), setAudioSampleRate(), and SWGWFMDemodReport().
|
private |
Definition at line 61 of file SWGWFMDemodReport.h.
Referenced by asJsonObject(), init(), isSet(), setChannelPowerDb(), and SWGWFMDemodReport().
|
private |
Definition at line 70 of file SWGWFMDemodReport.h.
Referenced by asJsonObject(), init(), isSet(), setChannelSampleRate(), and SWGWFMDemodReport().
|
private |
Definition at line 64 of file SWGWFMDemodReport.h.
Referenced by asJsonObject(), init(), isSet(), setSquelch(), and SWGWFMDemodReport().
|
private |
Definition at line 63 of file SWGWFMDemodReport.h.
Referenced by asJsonObject(), fromJsonObject(), getSquelch(), init(), setSquelch(), and SWGWFMDemodReport().