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 <SWGFileSourceReport.h>
Public Member Functions | |
SWGFileSourceReport () | |
SWGFileSourceReport (QString *json) | |
virtual | ~SWGFileSourceReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGFileSourceReport * | fromJson (QString &jsonString) override |
QString * | getFileName () |
void | setFileName (QString *file_name) |
qint32 | getFileSampleRate () |
void | setFileSampleRate (qint32 file_sample_rate) |
qint32 | getFileSampleSize () |
void | setFileSampleSize (qint32 file_sample_size) |
QString * | getAbsoluteTime () |
void | setAbsoluteTime (QString *absolute_time) |
QString * | getElapsedTime () |
void | setElapsedTime (QString *elapsed_time) |
QString * | getDurationTime () |
void | setDurationTime (QString *duration_time) |
qint32 | getSampleRate () |
void | setSampleRate (qint32 sample_rate) |
float | getChannelPowerDb () |
void | setChannelPowerDb (float channel_power_db) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | file_name |
bool | m_file_name_isSet |
qint32 | file_sample_rate |
bool | m_file_sample_rate_isSet |
qint32 | file_sample_size |
bool | m_file_sample_size_isSet |
QString * | absolute_time |
bool | m_absolute_time_isSet |
QString * | elapsed_time |
bool | m_elapsed_time_isSet |
QString * | duration_time |
bool | m_duration_time_isSet |
qint32 | sample_rate |
bool | m_sample_rate_isSet |
float | channel_power_db |
bool | m_channel_power_db_isSet |
Definition at line 32 of file SWGFileSourceReport.h.
SWGSDRangel::SWGFileSourceReport::SWGFileSourceReport | ( | ) |
Definition at line 30 of file SWGFileSourceReport.cpp.
References absolute_time, channel_power_db, duration_time, elapsed_time, file_name, file_sample_rate, file_sample_size, m_absolute_time_isSet, m_channel_power_db_isSet, m_duration_time_isSet, m_elapsed_time_isSet, m_file_name_isSet, m_file_sample_rate_isSet, m_file_sample_size_isSet, m_sample_rate_isSet, and sample_rate.
SWGSDRangel::SWGFileSourceReport::SWGFileSourceReport | ( | QString * | json | ) |
Definition at line 25 of file SWGFileSourceReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 49 of file SWGFileSourceReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 123 of file SWGFileSourceReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 134 of file SWGFileSourceReport.cpp.
References absolute_time, channel_power_db, duration_time, elapsed_time, file_name, file_sample_rate, file_sample_size, m_channel_power_db_isSet, m_file_sample_rate_isSet, m_file_sample_size_isSet, m_sample_rate_isSet, sample_rate, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGFileSourceReport::cleanup | ( | ) |
Definition at line 74 of file SWGFileSourceReport.cpp.
References absolute_time, duration_time, elapsed_time, and file_name.
Referenced by ~SWGFileSourceReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 94 of file SWGFileSourceReport.cpp.
References fromJsonObject().
Referenced by SWGFileSourceReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 103 of file SWGFileSourceReport.cpp.
References absolute_time, channel_power_db, duration_time, elapsed_time, file_name, file_sample_rate, file_sample_size, sample_rate, and SWGSDRangel::setValue().
Referenced by fromJson().
QString * SWGSDRangel::SWGFileSourceReport::getAbsoluteTime | ( | ) |
Definition at line 195 of file SWGFileSourceReport.cpp.
References absolute_time.
float SWGSDRangel::SWGFileSourceReport::getChannelPowerDb | ( | ) |
Definition at line 235 of file SWGFileSourceReport.cpp.
References channel_power_db.
QString * SWGSDRangel::SWGFileSourceReport::getDurationTime | ( | ) |
Definition at line 215 of file SWGFileSourceReport.cpp.
References duration_time.
QString * SWGSDRangel::SWGFileSourceReport::getElapsedTime | ( | ) |
Definition at line 205 of file SWGFileSourceReport.cpp.
References elapsed_time.
QString * SWGSDRangel::SWGFileSourceReport::getFileName | ( | ) |
qint32 SWGSDRangel::SWGFileSourceReport::getFileSampleRate | ( | ) |
Definition at line 175 of file SWGFileSourceReport.cpp.
References file_sample_rate.
qint32 SWGSDRangel::SWGFileSourceReport::getFileSampleSize | ( | ) |
Definition at line 185 of file SWGFileSourceReport.cpp.
References file_sample_size.
qint32 SWGSDRangel::SWGFileSourceReport::getSampleRate | ( | ) |
void SWGSDRangel::SWGFileSourceReport::init | ( | ) |
Definition at line 54 of file SWGFileSourceReport.cpp.
References absolute_time, channel_power_db, duration_time, elapsed_time, file_name, file_sample_rate, file_sample_size, m_absolute_time_isSet, m_channel_power_db_isSet, m_duration_time_isSet, m_elapsed_time_isSet, m_file_name_isSet, m_file_sample_rate_isSet, m_file_sample_size_isSet, m_sample_rate_isSet, and sample_rate.
Referenced by SWGFileSourceReport(), and FileSource::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 246 of file SWGFileSourceReport.cpp.
References absolute_time, duration_time, elapsed_time, file_name, m_channel_power_db_isSet, m_file_sample_rate_isSet, m_file_sample_size_isSet, and m_sample_rate_isSet.
Referenced by SWGSDRangel::SWGChannelReport::asJsonObject(), and SWGSDRangel::SWGChannelReport::isSet().
void SWGSDRangel::SWGFileSourceReport::setAbsoluteTime | ( | QString * | absolute_time | ) |
Definition at line 199 of file SWGFileSourceReport.cpp.
References absolute_time, and m_absolute_time_isSet.
Referenced by FileSource::webapiFormatChannelReport().
void SWGSDRangel::SWGFileSourceReport::setChannelPowerDb | ( | float | channel_power_db | ) |
Definition at line 239 of file SWGFileSourceReport.cpp.
References channel_power_db, and m_channel_power_db_isSet.
Referenced by FileSource::webapiFormatChannelReport().
void SWGSDRangel::SWGFileSourceReport::setDurationTime | ( | QString * | duration_time | ) |
Definition at line 219 of file SWGFileSourceReport.cpp.
References duration_time, and m_duration_time_isSet.
Referenced by FileSource::webapiFormatChannelReport().
void SWGSDRangel::SWGFileSourceReport::setElapsedTime | ( | QString * | elapsed_time | ) |
Definition at line 209 of file SWGFileSourceReport.cpp.
References elapsed_time, and m_elapsed_time_isSet.
Referenced by FileSource::webapiFormatChannelReport().
void SWGSDRangel::SWGFileSourceReport::setFileName | ( | QString * | file_name | ) |
Definition at line 169 of file SWGFileSourceReport.cpp.
References file_name, and m_file_name_isSet.
Referenced by FileSource::webapiFormatChannelReport().
void SWGSDRangel::SWGFileSourceReport::setFileSampleRate | ( | qint32 | file_sample_rate | ) |
Definition at line 179 of file SWGFileSourceReport.cpp.
References file_sample_rate, and m_file_sample_rate_isSet.
Referenced by FileSource::webapiFormatChannelReport().
void SWGSDRangel::SWGFileSourceReport::setFileSampleSize | ( | qint32 | file_sample_size | ) |
Definition at line 189 of file SWGFileSourceReport.cpp.
References file_sample_size, and m_file_sample_size_isSet.
Referenced by FileSource::webapiFormatChannelReport().
void SWGSDRangel::SWGFileSourceReport::setSampleRate | ( | qint32 | sample_rate | ) |
Definition at line 229 of file SWGFileSourceReport.cpp.
References m_sample_rate_isSet, and sample_rate.
Referenced by FileSource::webapiFormatChannelReport().
|
private |
Definition at line 82 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getAbsoluteTime(), init(), isSet(), setAbsoluteTime(), and SWGFileSourceReport().
|
private |
Definition at line 94 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelPowerDb(), init(), setChannelPowerDb(), and SWGFileSourceReport().
|
private |
Definition at line 88 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDurationTime(), init(), isSet(), setDurationTime(), and SWGFileSourceReport().
|
private |
Definition at line 85 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getElapsedTime(), init(), isSet(), setElapsedTime(), and SWGFileSourceReport().
|
private |
Definition at line 73 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFileName(), init(), isSet(), setFileName(), and SWGFileSourceReport().
|
private |
Definition at line 76 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), fromJsonObject(), getFileSampleRate(), init(), setFileSampleRate(), and SWGFileSourceReport().
|
private |
Definition at line 79 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), fromJsonObject(), getFileSampleSize(), init(), setFileSampleSize(), and SWGFileSourceReport().
|
private |
Definition at line 83 of file SWGFileSourceReport.h.
Referenced by init(), setAbsoluteTime(), and SWGFileSourceReport().
|
private |
Definition at line 95 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), init(), isSet(), setChannelPowerDb(), and SWGFileSourceReport().
|
private |
Definition at line 89 of file SWGFileSourceReport.h.
Referenced by init(), setDurationTime(), and SWGFileSourceReport().
|
private |
Definition at line 86 of file SWGFileSourceReport.h.
Referenced by init(), setElapsedTime(), and SWGFileSourceReport().
|
private |
Definition at line 74 of file SWGFileSourceReport.h.
Referenced by init(), setFileName(), and SWGFileSourceReport().
|
private |
Definition at line 77 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), init(), isSet(), setFileSampleRate(), and SWGFileSourceReport().
|
private |
Definition at line 80 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), init(), isSet(), setFileSampleSize(), and SWGFileSourceReport().
|
private |
Definition at line 92 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), init(), isSet(), setSampleRate(), and SWGFileSourceReport().
|
private |
Definition at line 91 of file SWGFileSourceReport.h.
Referenced by asJsonObject(), fromJsonObject(), getSampleRate(), init(), setSampleRate(), and SWGFileSourceReport().