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 <SWGDVSerialDevices.h>
Public Member Functions | |
SWGDVSerialDevices () | |
SWGDVSerialDevices (QString *json) | |
virtual | ~SWGDVSerialDevices () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGDVSerialDevices * | fromJson (QString &jsonString) override |
qint32 | getNbDevices () |
void | setNbDevices (qint32 nb_devices) |
QList< SWGDVSerialDevice * > * | getDvSerialDevices () |
void | setDvSerialDevices (QList< SWGDVSerialDevice *> *dv_serial_devices) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | nb_devices |
bool | m_nb_devices_isSet |
QList< SWGDVSerialDevice * > * | dv_serial_devices |
bool | m_dv_serial_devices_isSet |
Definition at line 33 of file SWGDVSerialDevices.h.
SWGSDRangel::SWGDVSerialDevices::SWGDVSerialDevices | ( | ) |
Definition at line 30 of file SWGDVSerialDevices.cpp.
References dv_serial_devices, m_dv_serial_devices_isSet, m_nb_devices_isSet, and nb_devices.
SWGSDRangel::SWGDVSerialDevices::SWGDVSerialDevices | ( | QString * | json | ) |
Definition at line 25 of file SWGDVSerialDevices.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 37 of file SWGDVSerialDevices.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 79 of file SWGDVSerialDevices.cpp.
References asJsonObject().
Referenced by WebAPIRequestMapper::instanceAMBESerialService().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 90 of file SWGDVSerialDevices.cpp.
References dv_serial_devices, m_nb_devices_isSet, nb_devices, and SWGSDRangel::toJsonArray().
Referenced by asJson().
void SWGSDRangel::SWGDVSerialDevices::cleanup | ( | ) |
Definition at line 50 of file SWGDVSerialDevices.cpp.
References dv_serial_devices.
Referenced by ~SWGDVSerialDevices().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 62 of file SWGDVSerialDevices.cpp.
References fromJsonObject().
Referenced by SWGDVSerialDevices().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 71 of file SWGDVSerialDevices.cpp.
References dv_serial_devices, nb_devices, and SWGSDRangel::setValue().
Referenced by fromJson().
QList< SWGDVSerialDevice * > * SWGSDRangel::SWGDVSerialDevices::getDvSerialDevices | ( | ) |
Definition at line 113 of file SWGDVSerialDevices.cpp.
References dv_serial_devices.
Referenced by WebAPIAdapterGUI::instanceAMBESerialGet(), WebAPIAdapterSrv::instanceAMBESerialGet(), WebAPIAdapterSrv::instanceDVSerialGet(), WebAPIAdapterGUI::instanceDVSerialGet(), WebAPIAdapterGUI::instanceDVSerialPatch(), and WebAPIAdapterSrv::instanceDVSerialPatch().
qint32 SWGSDRangel::SWGDVSerialDevices::getNbDevices | ( | ) |
void SWGSDRangel::SWGDVSerialDevices::init | ( | ) |
Definition at line 42 of file SWGDVSerialDevices.cpp.
References dv_serial_devices, m_dv_serial_devices_isSet, m_nb_devices_isSet, and nb_devices.
Referenced by WebAPIAdapterGUI::instanceAMBESerialGet(), WebAPIAdapterSrv::instanceAMBESerialGet(), WebAPIAdapterSrv::instanceDVSerialGet(), WebAPIAdapterGUI::instanceDVSerialGet(), WebAPIAdapterGUI::instanceDVSerialPatch(), WebAPIAdapterSrv::instanceDVSerialPatch(), and SWGDVSerialDevices().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 124 of file SWGDVSerialDevices.cpp.
References dv_serial_devices, and m_nb_devices_isSet.
void SWGSDRangel::SWGDVSerialDevices::setDvSerialDevices | ( | QList< SWGDVSerialDevice *> * | dv_serial_devices | ) |
Definition at line 117 of file SWGDVSerialDevices.cpp.
References dv_serial_devices, and m_dv_serial_devices_isSet.
void SWGSDRangel::SWGDVSerialDevices::setNbDevices | ( | qint32 | nb_devices | ) |
Definition at line 107 of file SWGDVSerialDevices.cpp.
References m_nb_devices_isSet, and nb_devices.
Referenced by WebAPIAdapterGUI::instanceAMBESerialGet(), WebAPIAdapterSrv::instanceAMBESerialGet(), WebAPIAdapterSrv::instanceDVSerialGet(), WebAPIAdapterGUI::instanceDVSerialGet(), WebAPIAdapterGUI::instanceDVSerialPatch(), and WebAPIAdapterSrv::instanceDVSerialPatch().
|
private |
Definition at line 59 of file SWGDVSerialDevices.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDvSerialDevices(), init(), isSet(), setDvSerialDevices(), and SWGDVSerialDevices().
|
private |
Definition at line 60 of file SWGDVSerialDevices.h.
Referenced by init(), setDvSerialDevices(), and SWGDVSerialDevices().
|
private |
Definition at line 57 of file SWGDVSerialDevices.h.
Referenced by asJsonObject(), init(), isSet(), setNbDevices(), and SWGDVSerialDevices().
|
private |
Definition at line 56 of file SWGDVSerialDevices.h.
Referenced by asJsonObject(), fromJsonObject(), getNbDevices(), init(), setNbDevices(), and SWGDVSerialDevices().