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 <SWGLoggingInfo.h>
Public Member Functions | |
SWGLoggingInfo () | |
SWGLoggingInfo (QString *json) | |
virtual | ~SWGLoggingInfo () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGLoggingInfo * | fromJson (QString &jsonString) override |
QString * | getConsoleLevel () |
void | setConsoleLevel (QString *console_level) |
QString * | getFileLevel () |
void | setFileLevel (QString *file_level) |
qint32 | getDumpToFile () |
void | setDumpToFile (qint32 dump_to_file) |
QString * | getFileName () |
void | setFileName (QString *file_name) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | console_level |
bool | m_console_level_isSet |
QString * | file_level |
bool | m_file_level_isSet |
qint32 | dump_to_file |
bool | m_dump_to_file_isSet |
QString * | file_name |
bool | m_file_name_isSet |
Definition at line 32 of file SWGLoggingInfo.h.
SWGSDRangel::SWGLoggingInfo::SWGLoggingInfo | ( | ) |
Definition at line 30 of file SWGLoggingInfo.cpp.
References console_level, dump_to_file, file_level, file_name, m_console_level_isSet, m_dump_to_file_isSet, m_file_level_isSet, and m_file_name_isSet.
SWGSDRangel::SWGLoggingInfo::SWGLoggingInfo | ( | QString * | json | ) |
Definition at line 25 of file SWGLoggingInfo.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 41 of file SWGLoggingInfo.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 93 of file SWGLoggingInfo.cpp.
References asJsonObject().
Referenced by SWGSDRangel::SWGInstanceApi::instanceLoggingPut(), and WebAPIRequestMapper::instanceLoggingService().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 104 of file SWGLoggingInfo.cpp.
References console_level, dump_to_file, file_level, file_name, m_dump_to_file_isSet, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGLoggingInfo::cleanup | ( | ) |
Definition at line 58 of file SWGLoggingInfo.cpp.
References console_level, file_level, and file_name.
Referenced by ~SWGLoggingInfo().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 72 of file SWGLoggingInfo.cpp.
References fromJsonObject().
Referenced by WebAPIRequestMapper::instanceLoggingService(), and SWGLoggingInfo().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 81 of file SWGLoggingInfo.cpp.
References console_level, dump_to_file, file_level, file_name, and SWGSDRangel::setValue().
Referenced by fromJson().
QString * SWGSDRangel::SWGLoggingInfo::getConsoleLevel | ( | ) |
Definition at line 123 of file SWGLoggingInfo.cpp.
References console_level.
Referenced by WebAPIAdapterGUI::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingPut(), WebAPIAdapterGUI::instanceLoggingPut(), WebAPIAdapterSrv::instanceSummary(), and WebAPIAdapterGUI::instanceSummary().
qint32 SWGSDRangel::SWGLoggingInfo::getDumpToFile | ( | ) |
Definition at line 143 of file SWGLoggingInfo.cpp.
References dump_to_file.
Referenced by WebAPIAdapterGUI::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingPut(), WebAPIAdapterGUI::instanceLoggingPut(), WebAPIAdapterSrv::instanceSummary(), and WebAPIAdapterGUI::instanceSummary().
QString * SWGSDRangel::SWGLoggingInfo::getFileLevel | ( | ) |
Definition at line 133 of file SWGLoggingInfo.cpp.
References file_level.
Referenced by WebAPIAdapterGUI::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingPut(), WebAPIAdapterGUI::instanceLoggingPut(), WebAPIAdapterSrv::instanceSummary(), and WebAPIAdapterGUI::instanceSummary().
QString * SWGSDRangel::SWGLoggingInfo::getFileName | ( | ) |
Definition at line 153 of file SWGLoggingInfo.cpp.
References file_name.
Referenced by WebAPIAdapterGUI::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingPut(), WebAPIAdapterGUI::instanceLoggingPut(), WebAPIAdapterSrv::instanceSummary(), and WebAPIAdapterGUI::instanceSummary().
void SWGSDRangel::SWGLoggingInfo::init | ( | ) |
Definition at line 46 of file SWGLoggingInfo.cpp.
References console_level, dump_to_file, file_level, file_name, m_console_level_isSet, m_dump_to_file_isSet, m_file_level_isSet, and m_file_name_isSet.
Referenced by WebAPIAdapterGUI::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingPut(), WebAPIAdapterGUI::instanceLoggingPut(), WebAPIAdapterSrv::instanceSummary(), WebAPIAdapterGUI::instanceSummary(), and SWGLoggingInfo().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 164 of file SWGLoggingInfo.cpp.
References console_level, file_level, file_name, and m_dump_to_file_isSet.
Referenced by SWGSDRangel::SWGInstanceSummaryResponse::asJsonObject(), and SWGSDRangel::SWGInstanceSummaryResponse::isSet().
void SWGSDRangel::SWGLoggingInfo::setConsoleLevel | ( | QString * | console_level | ) |
Definition at line 127 of file SWGLoggingInfo.cpp.
References console_level, and m_console_level_isSet.
void SWGSDRangel::SWGLoggingInfo::setDumpToFile | ( | qint32 | dump_to_file | ) |
Definition at line 147 of file SWGLoggingInfo.cpp.
References dump_to_file, and m_dump_to_file_isSet.
Referenced by WebAPIAdapterGUI::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingGet(), WebAPIAdapterSrv::instanceLoggingPut(), WebAPIAdapterGUI::instanceLoggingPut(), WebAPIAdapterSrv::instanceSummary(), and WebAPIAdapterGUI::instanceSummary().
void SWGSDRangel::SWGLoggingInfo::setFileLevel | ( | QString * | file_level | ) |
Definition at line 137 of file SWGLoggingInfo.cpp.
References file_level, and m_file_level_isSet.
void SWGSDRangel::SWGLoggingInfo::setFileName | ( | QString * | file_name | ) |
|
private |
Definition at line 61 of file SWGLoggingInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getConsoleLevel(), init(), isSet(), setConsoleLevel(), and SWGLoggingInfo().
|
private |
Definition at line 67 of file SWGLoggingInfo.h.
Referenced by asJsonObject(), fromJsonObject(), getDumpToFile(), init(), setDumpToFile(), and SWGLoggingInfo().
|
private |
Definition at line 64 of file SWGLoggingInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFileLevel(), init(), isSet(), setFileLevel(), and SWGLoggingInfo().
|
private |
Definition at line 70 of file SWGLoggingInfo.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFileName(), init(), isSet(), setFileName(), and SWGLoggingInfo().
|
private |
Definition at line 62 of file SWGLoggingInfo.h.
Referenced by init(), setConsoleLevel(), and SWGLoggingInfo().
|
private |
Definition at line 68 of file SWGLoggingInfo.h.
Referenced by asJsonObject(), init(), isSet(), setDumpToFile(), and SWGLoggingInfo().
|
private |
Definition at line 65 of file SWGLoggingInfo.h.
Referenced by init(), setFileLevel(), and SWGLoggingInfo().
|
private |
Definition at line 71 of file SWGLoggingInfo.h.
Referenced by init(), setFileName(), and SWGLoggingInfo().