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 <SWGBFMDemodReport.h>
Public Member Functions | |
SWGBFMDemodReport () | |
SWGBFMDemodReport (QString *json) | |
virtual | ~SWGBFMDemodReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGBFMDemodReport * | 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) |
qint32 | getPilotLocked () |
void | setPilotLocked (qint32 pilot_locked) |
float | getPilotPowerDb () |
void | setPilotPowerDb (float pilot_power_db) |
SWGRDSReport * | getRdsReport () |
void | setRdsReport (SWGRDSReport *rds_report) |
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 |
qint32 | pilot_locked |
bool | m_pilot_locked_isSet |
float | pilot_power_db |
bool | m_pilot_power_db_isSet |
SWGRDSReport * | rds_report |
bool | m_rds_report_isSet |
Definition at line 32 of file SWGBFMDemodReport.h.
SWGSDRangel::SWGBFMDemodReport::SWGBFMDemodReport | ( | ) |
Definition at line 30 of file SWGBFMDemodReport.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_pilot_locked_isSet, m_pilot_power_db_isSet, m_rds_report_isSet, m_squelch_isSet, pilot_locked, pilot_power_db, rds_report, and squelch.
SWGSDRangel::SWGBFMDemodReport::SWGBFMDemodReport | ( | QString * | json | ) |
Definition at line 25 of file SWGBFMDemodReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 47 of file SWGBFMDemodReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 110 of file SWGBFMDemodReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 121 of file SWGBFMDemodReport.cpp.
References audio_sample_rate, channel_power_db, channel_sample_rate, SWGSDRangel::SWGRDSReport::isSet(), m_audio_sample_rate_isSet, m_channel_power_db_isSet, m_channel_sample_rate_isSet, m_pilot_locked_isSet, m_pilot_power_db_isSet, m_squelch_isSet, pilot_locked, pilot_power_db, rds_report, squelch, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGBFMDemodReport::cleanup | ( | ) |
Definition at line 70 of file SWGBFMDemodReport.cpp.
References rds_report.
Referenced by ~SWGBFMDemodReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 83 of file SWGBFMDemodReport.cpp.
References fromJsonObject().
Referenced by SWGBFMDemodReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 92 of file SWGBFMDemodReport.cpp.
References audio_sample_rate, channel_power_db, channel_sample_rate, pilot_locked, pilot_power_db, rds_report, SWGSDRangel::setValue(), and squelch.
Referenced by fromJson().
qint32 SWGSDRangel::SWGBFMDemodReport::getAudioSampleRate | ( | ) |
Definition at line 169 of file SWGBFMDemodReport.cpp.
References audio_sample_rate.
float SWGSDRangel::SWGBFMDemodReport::getChannelPowerDb | ( | ) |
Definition at line 149 of file SWGBFMDemodReport.cpp.
References channel_power_db.
qint32 SWGSDRangel::SWGBFMDemodReport::getChannelSampleRate | ( | ) |
Definition at line 179 of file SWGBFMDemodReport.cpp.
References channel_sample_rate.
qint32 SWGSDRangel::SWGBFMDemodReport::getPilotLocked | ( | ) |
float SWGSDRangel::SWGBFMDemodReport::getPilotPowerDb | ( | ) |
Definition at line 199 of file SWGBFMDemodReport.cpp.
References pilot_power_db.
SWGRDSReport * SWGSDRangel::SWGBFMDemodReport::getRdsReport | ( | ) |
Definition at line 209 of file SWGBFMDemodReport.cpp.
References rds_report.
Referenced by BFMDemod::webapiFormatChannelReport().
qint32 SWGSDRangel::SWGBFMDemodReport::getSquelch | ( | ) |
void SWGSDRangel::SWGBFMDemodReport::init | ( | ) |
Definition at line 52 of file SWGBFMDemodReport.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_pilot_locked_isSet, m_pilot_power_db_isSet, m_rds_report_isSet, m_squelch_isSet, pilot_locked, pilot_power_db, rds_report, and squelch.
Referenced by SWGBFMDemodReport(), and BFMDemod::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 220 of file SWGBFMDemodReport.cpp.
References SWGSDRangel::SWGRDSReport::isSet(), m_audio_sample_rate_isSet, m_channel_power_db_isSet, m_channel_sample_rate_isSet, m_pilot_locked_isSet, m_pilot_power_db_isSet, m_squelch_isSet, and rds_report.
Referenced by SWGSDRangel::SWGChannelReport::asJsonObject(), and SWGSDRangel::SWGChannelReport::isSet().
void SWGSDRangel::SWGBFMDemodReport::setAudioSampleRate | ( | qint32 | audio_sample_rate | ) |
Definition at line 173 of file SWGBFMDemodReport.cpp.
References audio_sample_rate, and m_audio_sample_rate_isSet.
Referenced by BFMDemod::webapiFormatChannelReport().
void SWGSDRangel::SWGBFMDemodReport::setChannelPowerDb | ( | float | channel_power_db | ) |
Definition at line 153 of file SWGBFMDemodReport.cpp.
References channel_power_db, and m_channel_power_db_isSet.
Referenced by BFMDemod::webapiFormatChannelReport().
void SWGSDRangel::SWGBFMDemodReport::setChannelSampleRate | ( | qint32 | channel_sample_rate | ) |
Definition at line 183 of file SWGBFMDemodReport.cpp.
References channel_sample_rate, and m_channel_sample_rate_isSet.
Referenced by BFMDemod::webapiFormatChannelReport().
void SWGSDRangel::SWGBFMDemodReport::setPilotLocked | ( | qint32 | pilot_locked | ) |
Definition at line 193 of file SWGBFMDemodReport.cpp.
References m_pilot_locked_isSet, and pilot_locked.
Referenced by BFMDemod::webapiFormatChannelReport().
void SWGSDRangel::SWGBFMDemodReport::setPilotPowerDb | ( | float | pilot_power_db | ) |
Definition at line 203 of file SWGBFMDemodReport.cpp.
References m_pilot_power_db_isSet, and pilot_power_db.
Referenced by BFMDemod::webapiFormatChannelReport().
void SWGSDRangel::SWGBFMDemodReport::setRdsReport | ( | SWGRDSReport * | rds_report | ) |
Definition at line 213 of file SWGBFMDemodReport.cpp.
References m_rds_report_isSet, and rds_report.
Referenced by BFMDemod::webapiFormatChannelReport().
void SWGSDRangel::SWGBFMDemodReport::setSquelch | ( | qint32 | squelch | ) |
Definition at line 163 of file SWGBFMDemodReport.cpp.
References m_squelch_isSet, and squelch.
Referenced by BFMDemod::webapiFormatChannelReport().
|
private |
Definition at line 76 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), fromJsonObject(), getAudioSampleRate(), init(), setAudioSampleRate(), and SWGBFMDemodReport().
|
private |
Definition at line 70 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelPowerDb(), init(), setChannelPowerDb(), and SWGBFMDemodReport().
|
private |
Definition at line 79 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelSampleRate(), init(), setChannelSampleRate(), and SWGBFMDemodReport().
|
private |
Definition at line 77 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), init(), isSet(), setAudioSampleRate(), and SWGBFMDemodReport().
|
private |
Definition at line 71 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), init(), isSet(), setChannelPowerDb(), and SWGBFMDemodReport().
|
private |
Definition at line 80 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), init(), isSet(), setChannelSampleRate(), and SWGBFMDemodReport().
|
private |
Definition at line 83 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), init(), isSet(), setPilotLocked(), and SWGBFMDemodReport().
|
private |
Definition at line 86 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), init(), isSet(), setPilotPowerDb(), and SWGBFMDemodReport().
|
private |
Definition at line 89 of file SWGBFMDemodReport.h.
Referenced by init(), setRdsReport(), and SWGBFMDemodReport().
|
private |
Definition at line 74 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), init(), isSet(), setSquelch(), and SWGBFMDemodReport().
|
private |
Definition at line 82 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), fromJsonObject(), getPilotLocked(), init(), setPilotLocked(), and SWGBFMDemodReport().
|
private |
Definition at line 85 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), fromJsonObject(), getPilotPowerDb(), init(), setPilotPowerDb(), and SWGBFMDemodReport().
|
private |
Definition at line 88 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getRdsReport(), init(), isSet(), setRdsReport(), and SWGBFMDemodReport().
|
private |
Definition at line 73 of file SWGBFMDemodReport.h.
Referenced by asJsonObject(), fromJsonObject(), getSquelch(), init(), setSquelch(), and SWGBFMDemodReport().