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