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 <SWGDVSerialDevice.h>
Public Member Functions | |
SWGDVSerialDevice () | |
SWGDVSerialDevice (QString *json) | |
virtual | ~SWGDVSerialDevice () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGDVSerialDevice * | fromJson (QString &jsonString) override |
QString * | getDeviceName () |
void | setDeviceName (QString *device_name) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | device_name |
bool | m_device_name_isSet |
Definition at line 32 of file SWGDVSerialDevice.h.
SWGSDRangel::SWGDVSerialDevice::SWGDVSerialDevice | ( | ) |
Definition at line 30 of file SWGDVSerialDevice.cpp.
References device_name, and m_device_name_isSet.
SWGSDRangel::SWGDVSerialDevice::SWGDVSerialDevice | ( | QString * | json | ) |
Definition at line 25 of file SWGDVSerialDevice.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 35 of file SWGDVSerialDevice.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 68 of file SWGDVSerialDevice.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 79 of file SWGDVSerialDevice.cpp.
References device_name, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGDVSerialDevice::cleanup | ( | ) |
Definition at line 46 of file SWGDVSerialDevice.cpp.
References device_name.
Referenced by ~SWGDVSerialDevice().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 53 of file SWGDVSerialDevice.cpp.
References fromJsonObject().
Referenced by SWGDVSerialDevice().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 62 of file SWGDVSerialDevice.cpp.
References device_name, and SWGSDRangel::setValue().
Referenced by fromJson().
QString * SWGSDRangel::SWGDVSerialDevice::getDeviceName | ( | ) |
void SWGSDRangel::SWGDVSerialDevice::init | ( | ) |
Definition at line 40 of file SWGDVSerialDevice.cpp.
References device_name, and m_device_name_isSet.
Referenced by SWGDVSerialDevice().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 100 of file SWGDVSerialDevice.cpp.
References device_name.
void SWGSDRangel::SWGDVSerialDevice::setDeviceName | ( | QString * | device_name | ) |
Definition at line 93 of file SWGDVSerialDevice.cpp.
References device_name, and m_device_name_isSet.
|
private |
Definition at line 52 of file SWGDVSerialDevice.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDeviceName(), init(), isSet(), setDeviceName(), and SWGDVSerialDevice().
|
private |
Definition at line 53 of file SWGDVSerialDevice.h.
Referenced by init(), setDeviceName(), and SWGDVSerialDevice().