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 <SWGRDSReport.h>
Public Member Functions | |
SWGRDSReport () | |
SWGRDSReport (QString *json) | |
virtual | ~SWGRDSReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGRDSReport * | fromJson (QString &jsonString) override |
qint32 | getDemodStatus () |
void | setDemodStatus (qint32 demod_status) |
qint32 | getDecodStatus () |
void | setDecodStatus (qint32 decod_status) |
float | getRdsDemodAccumDb () |
void | setRdsDemodAccumDb (float rds_demod_accum_db) |
float | getRdsDemodFrequency () |
void | setRdsDemodFrequency (float rds_demod_frequency) |
QString * | getPid () |
void | setPid (QString *pid) |
QString * | getPiType () |
void | setPiType (QString *pi_type) |
QString * | getPiCoverage () |
void | setPiCoverage (QString *pi_coverage) |
QString * | getProgServiceName () |
void | setProgServiceName (QString *prog_service_name) |
QString * | getMusicSpeech () |
void | setMusicSpeech (QString *music_speech) |
QString * | getMonoStereo () |
void | setMonoStereo (QString *mono_stereo) |
QString * | getRadioText () |
void | setRadioText (QString *radio_text) |
QString * | getTime () |
void | setTime (QString *time) |
QList< SWGRDSReport_altFrequencies * > * | getAltFrequencies () |
void | setAltFrequencies (QList< SWGRDSReport_altFrequencies *> *alt_frequencies) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | demod_status |
bool | m_demod_status_isSet |
qint32 | decod_status |
bool | m_decod_status_isSet |
float | rds_demod_accum_db |
bool | m_rds_demod_accum_db_isSet |
float | rds_demod_frequency |
bool | m_rds_demod_frequency_isSet |
QString * | pid |
bool | m_pid_isSet |
QString * | pi_type |
bool | m_pi_type_isSet |
QString * | pi_coverage |
bool | m_pi_coverage_isSet |
QString * | prog_service_name |
bool | m_prog_service_name_isSet |
QString * | music_speech |
bool | m_music_speech_isSet |
QString * | mono_stereo |
bool | m_mono_stereo_isSet |
QString * | radio_text |
bool | m_radio_text_isSet |
QString * | time |
bool | m_time_isSet |
QList< SWGRDSReport_altFrequencies * > * | alt_frequencies |
bool | m_alt_frequencies_isSet |
Definition at line 34 of file SWGRDSReport.h.
SWGSDRangel::SWGRDSReport::SWGRDSReport | ( | ) |
Definition at line 30 of file SWGRDSReport.cpp.
References alt_frequencies, decod_status, demod_status, m_alt_frequencies_isSet, m_decod_status_isSet, m_demod_status_isSet, m_mono_stereo_isSet, m_music_speech_isSet, m_pi_coverage_isSet, m_pi_type_isSet, m_pid_isSet, m_prog_service_name_isSet, m_radio_text_isSet, m_rds_demod_accum_db_isSet, m_rds_demod_frequency_isSet, m_time_isSet, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, rds_demod_accum_db, rds_demod_frequency, and time.
SWGSDRangel::SWGRDSReport::SWGRDSReport | ( | QString * | json | ) |
Definition at line 25 of file SWGRDSReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 59 of file SWGRDSReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 172 of file SWGRDSReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 183 of file SWGRDSReport.cpp.
References alt_frequencies, decod_status, demod_status, m_decod_status_isSet, m_demod_status_isSet, m_rds_demod_accum_db_isSet, m_rds_demod_frequency_isSet, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, rds_demod_accum_db, rds_demod_frequency, time, SWGSDRangel::toJsonArray(), and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGRDSReport::cleanup | ( | ) |
Definition at line 94 of file SWGRDSReport.cpp.
References alt_frequencies, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, and time.
Referenced by ~SWGRDSReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 133 of file SWGRDSReport.cpp.
References fromJsonObject().
Referenced by SWGRDSReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 142 of file SWGRDSReport.cpp.
References alt_frequencies, decod_status, demod_status, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, rds_demod_accum_db, rds_demod_frequency, SWGSDRangel::setValue(), and time.
Referenced by fromJson().
QList< SWGRDSReport_altFrequencies * > * SWGSDRangel::SWGRDSReport::getAltFrequencies | ( | ) |
Definition at line 349 of file SWGRDSReport.cpp.
References alt_frequencies.
Referenced by BFMDemod::webapiFormatRDSReport().
qint32 SWGSDRangel::SWGRDSReport::getDecodStatus | ( | ) |
qint32 SWGSDRangel::SWGRDSReport::getDemodStatus | ( | ) |
QString * SWGSDRangel::SWGRDSReport::getMonoStereo | ( | ) |
QString * SWGSDRangel::SWGRDSReport::getMusicSpeech | ( | ) |
QString * SWGSDRangel::SWGRDSReport::getPiCoverage | ( | ) |
QString * SWGSDRangel::SWGRDSReport::getPid | ( | ) |
QString * SWGSDRangel::SWGRDSReport::getPiType | ( | ) |
QString * SWGSDRangel::SWGRDSReport::getProgServiceName | ( | ) |
Definition at line 299 of file SWGRDSReport.cpp.
References prog_service_name.
QString * SWGSDRangel::SWGRDSReport::getRadioText | ( | ) |
float SWGSDRangel::SWGRDSReport::getRdsDemodAccumDb | ( | ) |
float SWGSDRangel::SWGRDSReport::getRdsDemodFrequency | ( | ) |
Definition at line 259 of file SWGRDSReport.cpp.
References rds_demod_frequency.
QString * SWGSDRangel::SWGRDSReport::getTime | ( | ) |
void SWGSDRangel::SWGRDSReport::init | ( | ) |
Definition at line 64 of file SWGRDSReport.cpp.
References alt_frequencies, decod_status, demod_status, m_alt_frequencies_isSet, m_decod_status_isSet, m_demod_status_isSet, m_mono_stereo_isSet, m_music_speech_isSet, m_pi_coverage_isSet, m_pi_type_isSet, m_pid_isSet, m_prog_service_name_isSet, m_radio_text_isSet, m_rds_demod_accum_db_isSet, m_rds_demod_frequency_isSet, m_time_isSet, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, rds_demod_accum_db, rds_demod_frequency, and time.
Referenced by SWGRDSReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 360 of file SWGRDSReport.cpp.
References alt_frequencies, m_decod_status_isSet, m_demod_status_isSet, m_rds_demod_accum_db_isSet, m_rds_demod_frequency_isSet, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, and time.
Referenced by SWGSDRangel::SWGBFMDemodReport::asJsonObject(), and SWGSDRangel::SWGBFMDemodReport::isSet().
void SWGSDRangel::SWGRDSReport::setAltFrequencies | ( | QList< SWGRDSReport_altFrequencies *> * | alt_frequencies | ) |
Definition at line 353 of file SWGRDSReport.cpp.
References alt_frequencies, and m_alt_frequencies_isSet.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setDecodStatus | ( | qint32 | decod_status | ) |
Definition at line 243 of file SWGRDSReport.cpp.
References decod_status, and m_decod_status_isSet.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setDemodStatus | ( | qint32 | demod_status | ) |
Definition at line 233 of file SWGRDSReport.cpp.
References demod_status, and m_demod_status_isSet.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setMonoStereo | ( | QString * | mono_stereo | ) |
Definition at line 323 of file SWGRDSReport.cpp.
References m_mono_stereo_isSet, and mono_stereo.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setMusicSpeech | ( | QString * | music_speech | ) |
Definition at line 313 of file SWGRDSReport.cpp.
References m_music_speech_isSet, and music_speech.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setPiCoverage | ( | QString * | pi_coverage | ) |
Definition at line 293 of file SWGRDSReport.cpp.
References m_pi_coverage_isSet, and pi_coverage.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setPid | ( | QString * | pid | ) |
Definition at line 273 of file SWGRDSReport.cpp.
References m_pid_isSet, and pid.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setPiType | ( | QString * | pi_type | ) |
Definition at line 283 of file SWGRDSReport.cpp.
References m_pi_type_isSet, and pi_type.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setProgServiceName | ( | QString * | prog_service_name | ) |
Definition at line 303 of file SWGRDSReport.cpp.
References m_prog_service_name_isSet, and prog_service_name.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setRadioText | ( | QString * | radio_text | ) |
Definition at line 333 of file SWGRDSReport.cpp.
References m_radio_text_isSet, and radio_text.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setRdsDemodAccumDb | ( | float | rds_demod_accum_db | ) |
Definition at line 253 of file SWGRDSReport.cpp.
References m_rds_demod_accum_db_isSet, and rds_demod_accum_db.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setRdsDemodFrequency | ( | float | rds_demod_frequency | ) |
Definition at line 263 of file SWGRDSReport.cpp.
References m_rds_demod_frequency_isSet, and rds_demod_frequency.
Referenced by BFMDemod::webapiFormatRDSReport().
void SWGSDRangel::SWGRDSReport::setTime | ( | QString * | time | ) |
Definition at line 343 of file SWGRDSReport.cpp.
References m_time_isSet, and time.
Referenced by BFMDemod::webapiFormatRDSReport().
|
private |
Definition at line 126 of file SWGRDSReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getAltFrequencies(), init(), isSet(), setAltFrequencies(), and SWGRDSReport().
|
private |
Definition at line 93 of file SWGRDSReport.h.
Referenced by asJsonObject(), fromJsonObject(), getDecodStatus(), init(), setDecodStatus(), and SWGRDSReport().
|
private |
Definition at line 90 of file SWGRDSReport.h.
Referenced by asJsonObject(), fromJsonObject(), getDemodStatus(), init(), setDemodStatus(), and SWGRDSReport().
|
private |
Definition at line 127 of file SWGRDSReport.h.
Referenced by init(), setAltFrequencies(), and SWGRDSReport().
|
private |
Definition at line 94 of file SWGRDSReport.h.
Referenced by asJsonObject(), init(), isSet(), setDecodStatus(), and SWGRDSReport().
|
private |
Definition at line 91 of file SWGRDSReport.h.
Referenced by asJsonObject(), init(), isSet(), setDemodStatus(), and SWGRDSReport().
|
private |
Definition at line 118 of file SWGRDSReport.h.
Referenced by init(), setMonoStereo(), and SWGRDSReport().
|
private |
Definition at line 115 of file SWGRDSReport.h.
Referenced by init(), setMusicSpeech(), and SWGRDSReport().
|
private |
Definition at line 109 of file SWGRDSReport.h.
Referenced by init(), setPiCoverage(), and SWGRDSReport().
|
private |
Definition at line 106 of file SWGRDSReport.h.
Referenced by init(), setPiType(), and SWGRDSReport().
|
private |
Definition at line 103 of file SWGRDSReport.h.
Referenced by init(), setPid(), and SWGRDSReport().
|
private |
Definition at line 112 of file SWGRDSReport.h.
Referenced by init(), setProgServiceName(), and SWGRDSReport().
|
private |
Definition at line 121 of file SWGRDSReport.h.
Referenced by init(), setRadioText(), and SWGRDSReport().
|
private |
Definition at line 97 of file SWGRDSReport.h.
Referenced by asJsonObject(), init(), isSet(), setRdsDemodAccumDb(), and SWGRDSReport().
|
private |
Definition at line 100 of file SWGRDSReport.h.
Referenced by asJsonObject(), init(), isSet(), setRdsDemodFrequency(), and SWGRDSReport().
|
private |
Definition at line 124 of file SWGRDSReport.h.
Referenced by init(), setTime(), and SWGRDSReport().
|
private |
Definition at line 117 of file SWGRDSReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getMonoStereo(), init(), isSet(), setMonoStereo(), and SWGRDSReport().
|
private |
Definition at line 114 of file SWGRDSReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getMusicSpeech(), init(), isSet(), setMusicSpeech(), and SWGRDSReport().
|
private |
Definition at line 108 of file SWGRDSReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getPiCoverage(), init(), isSet(), setPiCoverage(), and SWGRDSReport().
|
private |
Definition at line 105 of file SWGRDSReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getPiType(), init(), isSet(), setPiType(), and SWGRDSReport().
|
private |
Definition at line 102 of file SWGRDSReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getPid(), init(), isSet(), setPid(), and SWGRDSReport().
|
private |
Definition at line 111 of file SWGRDSReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getProgServiceName(), init(), isSet(), setProgServiceName(), and SWGRDSReport().
|
private |
Definition at line 120 of file SWGRDSReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getRadioText(), init(), isSet(), setRadioText(), and SWGRDSReport().
|
private |
Definition at line 96 of file SWGRDSReport.h.
Referenced by asJsonObject(), fromJsonObject(), getRdsDemodAccumDb(), init(), setRdsDemodAccumDb(), and SWGRDSReport().
|
private |
Definition at line 99 of file SWGRDSReport.h.
Referenced by asJsonObject(), fromJsonObject(), getRdsDemodFrequency(), init(), setRdsDemodFrequency(), and SWGRDSReport().
|
private |
Definition at line 123 of file SWGRDSReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getTime(), init(), isSet(), setTime(), and SWGRDSReport().