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 <SWGFileInputReport.h>
Public Member Functions | |
SWGFileInputReport () | |
SWGFileInputReport (QString *json) | |
virtual | ~SWGFileInputReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGFileInputReport * | fromJson (QString &jsonString) override |
QString * | getFileName () |
void | setFileName (QString *file_name) |
qint32 | getSampleRate () |
void | setSampleRate (qint32 sample_rate) |
qint32 | getSampleSize () |
void | setSampleSize (qint32 sample_size) |
QString * | getAbsoluteTime () |
void | setAbsoluteTime (QString *absolute_time) |
QString * | getElapsedTime () |
void | setElapsedTime (QString *elapsed_time) |
QString * | getDurationTime () |
void | setDurationTime (QString *duration_time) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | file_name |
bool | m_file_name_isSet |
qint32 | sample_rate |
bool | m_sample_rate_isSet |
qint32 | sample_size |
bool | m_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 |
Definition at line 32 of file SWGFileInputReport.h.
SWGSDRangel::SWGFileInputReport::SWGFileInputReport | ( | ) |
Definition at line 30 of file SWGFileInputReport.cpp.
References absolute_time, duration_time, elapsed_time, file_name, m_absolute_time_isSet, m_duration_time_isSet, m_elapsed_time_isSet, m_file_name_isSet, m_sample_rate_isSet, m_sample_size_isSet, sample_rate, and sample_size.
SWGSDRangel::SWGFileInputReport::SWGFileInputReport | ( | QString * | json | ) |
Definition at line 25 of file SWGFileInputReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 45 of file SWGFileInputReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 109 of file SWGFileInputReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 120 of file SWGFileInputReport.cpp.
References absolute_time, duration_time, elapsed_time, file_name, m_sample_rate_isSet, m_sample_size_isSet, sample_rate, sample_size, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGFileInputReport::cleanup | ( | ) |
Definition at line 66 of file SWGFileInputReport.cpp.
References absolute_time, duration_time, elapsed_time, and file_name.
Referenced by ~SWGFileInputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 84 of file SWGFileInputReport.cpp.
References fromJsonObject().
Referenced by SWGFileInputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 93 of file SWGFileInputReport.cpp.
References absolute_time, duration_time, elapsed_time, file_name, sample_rate, sample_size, and SWGSDRangel::setValue().
Referenced by fromJson().
QString * SWGSDRangel::SWGFileInputReport::getAbsoluteTime | ( | ) |
Definition at line 175 of file SWGFileInputReport.cpp.
References absolute_time.
QString * SWGSDRangel::SWGFileInputReport::getDurationTime | ( | ) |
Definition at line 195 of file SWGFileInputReport.cpp.
References duration_time.
QString * SWGSDRangel::SWGFileInputReport::getElapsedTime | ( | ) |
Definition at line 185 of file SWGFileInputReport.cpp.
References elapsed_time.
QString * SWGSDRangel::SWGFileInputReport::getFileName | ( | ) |
qint32 SWGSDRangel::SWGFileInputReport::getSampleRate | ( | ) |
qint32 SWGSDRangel::SWGFileInputReport::getSampleSize | ( | ) |
void SWGSDRangel::SWGFileInputReport::init | ( | ) |
Definition at line 50 of file SWGFileInputReport.cpp.
References absolute_time, duration_time, elapsed_time, file_name, m_absolute_time_isSet, m_duration_time_isSet, m_elapsed_time_isSet, m_file_name_isSet, m_sample_rate_isSet, m_sample_size_isSet, sample_rate, and sample_size.
Referenced by SWGFileInputReport(), and FileInput::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 206 of file SWGFileInputReport.cpp.
References absolute_time, duration_time, elapsed_time, file_name, m_sample_rate_isSet, and m_sample_size_isSet.
Referenced by SWGSDRangel::SWGDeviceReport::asJsonObject(), and SWGSDRangel::SWGDeviceReport::isSet().
void SWGSDRangel::SWGFileInputReport::setAbsoluteTime | ( | QString * | absolute_time | ) |
Definition at line 179 of file SWGFileInputReport.cpp.
References absolute_time, and m_absolute_time_isSet.
Referenced by FileInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGFileInputReport::setDurationTime | ( | QString * | duration_time | ) |
Definition at line 199 of file SWGFileInputReport.cpp.
References duration_time, and m_duration_time_isSet.
Referenced by FileInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGFileInputReport::setElapsedTime | ( | QString * | elapsed_time | ) |
Definition at line 189 of file SWGFileInputReport.cpp.
References elapsed_time, and m_elapsed_time_isSet.
Referenced by FileInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGFileInputReport::setFileName | ( | QString * | file_name | ) |
Definition at line 149 of file SWGFileInputReport.cpp.
References file_name, and m_file_name_isSet.
Referenced by FileInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGFileInputReport::setSampleRate | ( | qint32 | sample_rate | ) |
Definition at line 159 of file SWGFileInputReport.cpp.
References m_sample_rate_isSet, and sample_rate.
Referenced by FileInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGFileInputReport::setSampleSize | ( | qint32 | sample_size | ) |
Definition at line 169 of file SWGFileInputReport.cpp.
References m_sample_size_isSet, and sample_size.
Referenced by FileInput::webapiFormatDeviceReport().
|
private |
Definition at line 76 of file SWGFileInputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getAbsoluteTime(), init(), isSet(), setAbsoluteTime(), and SWGFileInputReport().
|
private |
Definition at line 82 of file SWGFileInputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDurationTime(), init(), isSet(), setDurationTime(), and SWGFileInputReport().
|
private |
Definition at line 79 of file SWGFileInputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getElapsedTime(), init(), isSet(), setElapsedTime(), and SWGFileInputReport().
|
private |
Definition at line 67 of file SWGFileInputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFileName(), init(), isSet(), setFileName(), and SWGFileInputReport().
|
private |
Definition at line 77 of file SWGFileInputReport.h.
Referenced by init(), setAbsoluteTime(), and SWGFileInputReport().
|
private |
Definition at line 83 of file SWGFileInputReport.h.
Referenced by init(), setDurationTime(), and SWGFileInputReport().
|
private |
Definition at line 80 of file SWGFileInputReport.h.
Referenced by init(), setElapsedTime(), and SWGFileInputReport().
|
private |
Definition at line 68 of file SWGFileInputReport.h.
Referenced by init(), setFileName(), and SWGFileInputReport().
|
private |
Definition at line 71 of file SWGFileInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setSampleRate(), and SWGFileInputReport().
|
private |
Definition at line 74 of file SWGFileInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setSampleSize(), and SWGFileInputReport().
|
private |
Definition at line 70 of file SWGFileInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getSampleRate(), init(), setSampleRate(), and SWGFileInputReport().
|
private |
Definition at line 73 of file SWGFileInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getSampleSize(), init(), setSampleSize(), and SWGFileInputReport().