![]() |
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 <SWGPreferences.h>
Inheritance diagram for SWGSDRangel::SWGPreferences:
Collaboration diagram for SWGSDRangel::SWGPreferences:Public Member Functions | |
| SWGPreferences () | |
| SWGPreferences (QString *json) | |
| virtual | ~SWGPreferences () |
| void | init () |
| void | cleanup () |
| virtual QString | asJson () override |
| virtual QJsonObject * | asJsonObject () override |
| virtual void | fromJsonObject (QJsonObject &json) override |
| virtual SWGPreferences * | fromJson (QString &jsonString) override |
| QString * | getSourceType () |
| void | setSourceType (QString *source_type) |
| QString * | getSourceDevice () |
| void | setSourceDevice (QString *source_device) |
| QString * | getAudioType () |
| void | setAudioType (QString *audio_type) |
| QString * | getAudioDevice () |
| void | setAudioDevice (QString *audio_device) |
| qint32 | getSourceIndex () |
| void | setSourceIndex (qint32 source_index) |
| float | getLatitude () |
| void | setLatitude (float latitude) |
| float | getLongitude () |
| void | setLongitude (float longitude) |
| qint32 | getConsoleMinLogLevel () |
| void | setConsoleMinLogLevel (qint32 console_min_log_level) |
| qint32 | getUseLogFile () |
| void | setUseLogFile (qint32 use_log_file) |
| QString * | getLogFileName () |
| void | setLogFileName (QString *log_file_name) |
| qint32 | getFileMinLogLevel () |
| void | setFileMinLogLevel (qint32 file_min_log_level) |
| virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
| virtual | ~SWGObject () |
Private Attributes | |
| QString * | source_type |
| bool | m_source_type_isSet |
| QString * | source_device |
| bool | m_source_device_isSet |
| QString * | audio_type |
| bool | m_audio_type_isSet |
| QString * | audio_device |
| bool | m_audio_device_isSet |
| qint32 | source_index |
| bool | m_source_index_isSet |
| float | latitude |
| bool | m_latitude_isSet |
| float | longitude |
| bool | m_longitude_isSet |
| qint32 | console_min_log_level |
| bool | m_console_min_log_level_isSet |
| qint32 | use_log_file |
| bool | m_use_log_file_isSet |
| QString * | log_file_name |
| bool | m_log_file_name_isSet |
| qint32 | file_min_log_level |
| bool | m_file_min_log_level_isSet |
Definition at line 32 of file SWGPreferences.h.
| SWGSDRangel::SWGPreferences::SWGPreferences | ( | ) |
Definition at line 30 of file SWGPreferences.cpp.
References audio_device, audio_type, console_min_log_level, file_min_log_level, latitude, log_file_name, longitude, m_audio_device_isSet, m_audio_type_isSet, m_console_min_log_level_isSet, m_file_min_log_level_isSet, m_latitude_isSet, m_log_file_name_isSet, m_longitude_isSet, m_source_device_isSet, m_source_index_isSet, m_source_type_isSet, m_use_log_file_isSet, source_device, source_index, source_type, and use_log_file.
| SWGSDRangel::SWGPreferences::SWGPreferences | ( | QString * | json | ) |
Definition at line 25 of file SWGPreferences.cpp.
References fromJson(), and init().
Here is the call graph for this function:
|
virtual |
Definition at line 55 of file SWGPreferences.cpp.
References cleanup().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 146 of file SWGPreferences.cpp.
References asJsonObject().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 157 of file SWGPreferences.cpp.
References audio_device, audio_type, console_min_log_level, file_min_log_level, latitude, log_file_name, longitude, m_console_min_log_level_isSet, m_file_min_log_level_isSet, m_latitude_isSet, m_longitude_isSet, m_source_index_isSet, m_use_log_file_isSet, source_device, source_index, source_type, SWGSDRangel::toJsonValue(), and use_log_file.
Referenced by asJson().
Here is the call graph for this function:
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::cleanup | ( | ) |
Definition at line 86 of file SWGPreferences.cpp.
References audio_device, audio_type, log_file_name, source_device, and source_type.
Referenced by ~SWGPreferences().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 111 of file SWGPreferences.cpp.
References fromJsonObject().
Referenced by SWGPreferences().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 120 of file SWGPreferences.cpp.
References audio_device, audio_type, console_min_log_level, file_min_log_level, latitude, log_file_name, longitude, SWGSDRangel::setValue(), source_device, source_index, source_type, and use_log_file.
Referenced by fromJson().
Here is the call graph for this function:
Here is the caller graph for this function:| QString * SWGSDRangel::SWGPreferences::getAudioDevice | ( | ) |
| QString * SWGSDRangel::SWGPreferences::getAudioType | ( | ) |
| qint32 SWGSDRangel::SWGPreferences::getConsoleMinLogLevel | ( | ) |
Definition at line 267 of file SWGPreferences.cpp.
References console_min_log_level.
| qint32 SWGSDRangel::SWGPreferences::getFileMinLogLevel | ( | ) |
Definition at line 297 of file SWGPreferences.cpp.
References file_min_log_level.
| float SWGSDRangel::SWGPreferences::getLatitude | ( | ) |
| QString * SWGSDRangel::SWGPreferences::getLogFileName | ( | ) |
| float SWGSDRangel::SWGPreferences::getLongitude | ( | ) |
| QString * SWGSDRangel::SWGPreferences::getSourceDevice | ( | ) |
| qint32 SWGSDRangel::SWGPreferences::getSourceIndex | ( | ) |
| QString * SWGSDRangel::SWGPreferences::getSourceType | ( | ) |
| qint32 SWGSDRangel::SWGPreferences::getUseLogFile | ( | ) |
| void SWGSDRangel::SWGPreferences::init | ( | ) |
Definition at line 60 of file SWGPreferences.cpp.
References audio_device, audio_type, console_min_log_level, file_min_log_level, latitude, log_file_name, longitude, m_audio_device_isSet, m_audio_type_isSet, m_console_min_log_level_isSet, m_file_min_log_level_isSet, m_latitude_isSet, m_log_file_name_isSet, m_longitude_isSet, m_source_device_isSet, m_source_index_isSet, m_source_type_isSet, m_use_log_file_isSet, source_device, source_index, source_type, and use_log_file.
Referenced by SWGPreferences(), and WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 308 of file SWGPreferences.cpp.
References audio_device, audio_type, log_file_name, m_console_min_log_level_isSet, m_file_min_log_level_isSet, m_latitude_isSet, m_longitude_isSet, m_source_index_isSet, m_use_log_file_isSet, source_device, and source_type.
Referenced by SWGSDRangel::SWGInstanceConfigResponse::asJsonObject(), and SWGSDRangel::SWGInstanceConfigResponse::isSet().
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::setAudioDevice | ( | QString * | audio_device | ) |
Definition at line 231 of file SWGPreferences.cpp.
References audio_device, and m_audio_device_isSet.
Referenced by WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::setAudioType | ( | QString * | audio_type | ) |
Definition at line 221 of file SWGPreferences.cpp.
References audio_type, and m_audio_type_isSet.
Referenced by WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::setConsoleMinLogLevel | ( | qint32 | console_min_log_level | ) |
Definition at line 271 of file SWGPreferences.cpp.
References console_min_log_level, and m_console_min_log_level_isSet.
Referenced by WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::setFileMinLogLevel | ( | qint32 | file_min_log_level | ) |
Definition at line 301 of file SWGPreferences.cpp.
References file_min_log_level, and m_file_min_log_level_isSet.
Referenced by WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::setLatitude | ( | float | latitude | ) |
Definition at line 251 of file SWGPreferences.cpp.
References latitude, and m_latitude_isSet.
Referenced by WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::setLogFileName | ( | QString * | log_file_name | ) |
Definition at line 291 of file SWGPreferences.cpp.
References log_file_name, and m_log_file_name_isSet.
Referenced by WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::setLongitude | ( | float | longitude | ) |
Definition at line 261 of file SWGPreferences.cpp.
References longitude, and m_longitude_isSet.
Referenced by WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::setSourceDevice | ( | QString * | source_device | ) |
Definition at line 211 of file SWGPreferences.cpp.
References m_source_device_isSet, and source_device.
Referenced by WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::setSourceIndex | ( | qint32 | source_index | ) |
Definition at line 241 of file SWGPreferences.cpp.
References m_source_index_isSet, and source_index.
Referenced by WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:| void SWGSDRangel::SWGPreferences::setSourceType | ( | QString * | source_type | ) |
Definition at line 201 of file SWGPreferences.cpp.
References m_source_type_isSet, and source_type.
| void SWGSDRangel::SWGPreferences::setUseLogFile | ( | qint32 | use_log_file | ) |
Definition at line 281 of file SWGPreferences.cpp.
References m_use_log_file_isSet, and use_log_file.
Referenced by WebAPIAdapterBase::webapiFormatPreferences().
Here is the caller graph for this function:
|
private |
Definition at line 91 of file SWGPreferences.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getAudioDevice(), init(), isSet(), setAudioDevice(), and SWGPreferences().
|
private |
Definition at line 88 of file SWGPreferences.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getAudioType(), init(), isSet(), setAudioType(), and SWGPreferences().
|
private |
Definition at line 103 of file SWGPreferences.h.
Referenced by asJsonObject(), fromJsonObject(), getConsoleMinLogLevel(), init(), setConsoleMinLogLevel(), and SWGPreferences().
|
private |
Definition at line 112 of file SWGPreferences.h.
Referenced by asJsonObject(), fromJsonObject(), getFileMinLogLevel(), init(), setFileMinLogLevel(), and SWGPreferences().
|
private |
Definition at line 97 of file SWGPreferences.h.
Referenced by asJsonObject(), fromJsonObject(), getLatitude(), init(), setLatitude(), and SWGPreferences().
|
private |
Definition at line 109 of file SWGPreferences.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getLogFileName(), init(), isSet(), setLogFileName(), and SWGPreferences().
|
private |
Definition at line 100 of file SWGPreferences.h.
Referenced by asJsonObject(), fromJsonObject(), getLongitude(), init(), setLongitude(), and SWGPreferences().
|
private |
Definition at line 92 of file SWGPreferences.h.
Referenced by init(), setAudioDevice(), and SWGPreferences().
|
private |
Definition at line 89 of file SWGPreferences.h.
Referenced by init(), setAudioType(), and SWGPreferences().
|
private |
Definition at line 104 of file SWGPreferences.h.
Referenced by asJsonObject(), init(), isSet(), setConsoleMinLogLevel(), and SWGPreferences().
|
private |
Definition at line 113 of file SWGPreferences.h.
Referenced by asJsonObject(), init(), isSet(), setFileMinLogLevel(), and SWGPreferences().
|
private |
Definition at line 98 of file SWGPreferences.h.
Referenced by asJsonObject(), init(), isSet(), setLatitude(), and SWGPreferences().
|
private |
Definition at line 110 of file SWGPreferences.h.
Referenced by init(), setLogFileName(), and SWGPreferences().
|
private |
Definition at line 101 of file SWGPreferences.h.
Referenced by asJsonObject(), init(), isSet(), setLongitude(), and SWGPreferences().
|
private |
Definition at line 86 of file SWGPreferences.h.
Referenced by init(), setSourceDevice(), and SWGPreferences().
|
private |
Definition at line 95 of file SWGPreferences.h.
Referenced by asJsonObject(), init(), isSet(), setSourceIndex(), and SWGPreferences().
|
private |
Definition at line 83 of file SWGPreferences.h.
Referenced by init(), setSourceType(), and SWGPreferences().
|
private |
Definition at line 107 of file SWGPreferences.h.
Referenced by asJsonObject(), init(), isSet(), setUseLogFile(), and SWGPreferences().
|
private |
Definition at line 85 of file SWGPreferences.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getSourceDevice(), init(), isSet(), setSourceDevice(), and SWGPreferences().
|
private |
Definition at line 94 of file SWGPreferences.h.
Referenced by asJsonObject(), fromJsonObject(), getSourceIndex(), init(), setSourceIndex(), and SWGPreferences().
|
private |
Definition at line 82 of file SWGPreferences.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getSourceType(), init(), isSet(), setSourceType(), and SWGPreferences().
|
private |
Definition at line 106 of file SWGPreferences.h.
Referenced by asJsonObject(), fromJsonObject(), getUseLogFile(), init(), setUseLogFile(), and SWGPreferences().
1.8.13