![]() |
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 <SWGDeviceConfig.h>
Inheritance diagram for SWGSDRangel::SWGDeviceConfig:
Collaboration diagram for SWGSDRangel::SWGDeviceConfig:Public Member Functions | |
| SWGDeviceConfig () | |
| SWGDeviceConfig (QString *json) | |
| virtual | ~SWGDeviceConfig () |
| void | init () |
| void | cleanup () |
| virtual QString | asJson () override |
| virtual QJsonObject * | asJsonObject () override |
| virtual void | fromJsonObject (QJsonObject &json) override |
| virtual SWGDeviceConfig * | fromJson (QString &jsonString) override |
| QString * | getDeviceId () |
| void | setDeviceId (QString *device_id) |
| QString * | getDeviceSerial () |
| void | setDeviceSerial (QString *device_serial) |
| qint32 | getDeviceSequence () |
| void | setDeviceSequence (qint32 device_sequence) |
| SWGDeviceSettings * | getConfig () |
| void | setConfig (SWGDeviceSettings *config) |
| virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
| virtual | ~SWGObject () |
Private Attributes | |
| QString * | device_id |
| bool | m_device_id_isSet |
| QString * | device_serial |
| bool | m_device_serial_isSet |
| qint32 | device_sequence |
| bool | m_device_sequence_isSet |
| SWGDeviceSettings * | config |
| bool | m_config_isSet |
Definition at line 33 of file SWGDeviceConfig.h.
| SWGSDRangel::SWGDeviceConfig::SWGDeviceConfig | ( | ) |
Definition at line 30 of file SWGDeviceConfig.cpp.
References device_id, device_sequence, device_serial, m_config_isSet, m_device_id_isSet, m_device_sequence_isSet, and m_device_serial_isSet.
| SWGSDRangel::SWGDeviceConfig::SWGDeviceConfig | ( | QString * | json | ) |
Definition at line 25 of file SWGDeviceConfig.cpp.
References fromJson(), and init().
Here is the call graph for this function:
|
virtual |
Definition at line 41 of file SWGDeviceConfig.cpp.
References cleanup().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 93 of file SWGDeviceConfig.cpp.
References asJsonObject().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 104 of file SWGDeviceConfig.cpp.
References device_id, device_sequence, device_serial, m_device_sequence_isSet, and SWGSDRangel::toJsonValue().
Referenced by asJson().
Here is the call graph for this function:
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceConfig::cleanup | ( | ) |
Definition at line 58 of file SWGDeviceConfig.cpp.
References config, device_id, and device_serial.
Referenced by ~SWGDeviceConfig().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 72 of file SWGDeviceConfig.cpp.
References fromJsonObject().
Referenced by SWGDeviceConfig().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 81 of file SWGDeviceConfig.cpp.
References device_id, device_sequence, device_serial, and SWGSDRangel::setValue().
Referenced by fromJson().
Here is the call graph for this function:
Here is the caller graph for this function:| SWGDeviceSettings * SWGSDRangel::SWGDeviceConfig::getConfig | ( | ) |
| QString * SWGSDRangel::SWGDeviceConfig::getDeviceId | ( | ) |
| qint32 SWGSDRangel::SWGDeviceConfig::getDeviceSequence | ( | ) |
| QString * SWGSDRangel::SWGDeviceConfig::getDeviceSerial | ( | ) |
| void SWGSDRangel::SWGDeviceConfig::init | ( | ) |
Definition at line 46 of file SWGDeviceConfig.cpp.
References device_id, device_sequence, device_serial, m_config_isSet, m_device_id_isSet, m_device_sequence_isSet, and m_device_serial_isSet.
Referenced by SWGDeviceConfig().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 164 of file SWGDeviceConfig.cpp.
References device_id, device_serial, and m_device_sequence_isSet.
| void SWGSDRangel::SWGDeviceConfig::setConfig | ( | SWGDeviceSettings * | config | ) |
Definition at line 157 of file SWGDeviceConfig.cpp.
References config, and m_config_isSet.
| void SWGSDRangel::SWGDeviceConfig::setDeviceId | ( | QString * | device_id | ) |
Definition at line 127 of file SWGDeviceConfig.cpp.
References device_id, and m_device_id_isSet.
| void SWGSDRangel::SWGDeviceConfig::setDeviceSequence | ( | qint32 | device_sequence | ) |
Definition at line 147 of file SWGDeviceConfig.cpp.
References device_sequence, and m_device_sequence_isSet.
| void SWGSDRangel::SWGDeviceConfig::setDeviceSerial | ( | QString * | device_serial | ) |
Definition at line 137 of file SWGDeviceConfig.cpp.
References device_serial, and m_device_serial_isSet.
|
private |
Definition at line 71 of file SWGDeviceConfig.h.
Referenced by cleanup(), getConfig(), and setConfig().
|
private |
Definition at line 62 of file SWGDeviceConfig.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDeviceId(), init(), isSet(), setDeviceId(), and SWGDeviceConfig().
|
private |
Definition at line 68 of file SWGDeviceConfig.h.
Referenced by asJsonObject(), fromJsonObject(), getDeviceSequence(), init(), setDeviceSequence(), and SWGDeviceConfig().
|
private |
Definition at line 65 of file SWGDeviceConfig.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDeviceSerial(), init(), isSet(), setDeviceSerial(), and SWGDeviceConfig().
|
private |
Definition at line 72 of file SWGDeviceConfig.h.
Referenced by init(), setConfig(), and SWGDeviceConfig().
|
private |
Definition at line 63 of file SWGDeviceConfig.h.
Referenced by init(), setDeviceId(), and SWGDeviceConfig().
|
private |
Definition at line 69 of file SWGDeviceConfig.h.
Referenced by asJsonObject(), init(), isSet(), setDeviceSequence(), and SWGDeviceConfig().
|
private |
Definition at line 66 of file SWGDeviceConfig.h.
Referenced by init(), setDeviceSerial(), and SWGDeviceConfig().
1.8.13