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