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 <SWGInstanceDevicesResponse.h>
Public Member Functions | |
SWGInstanceDevicesResponse () | |
SWGInstanceDevicesResponse (QString *json) | |
virtual | ~SWGInstanceDevicesResponse () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGInstanceDevicesResponse * | fromJson (QString &jsonString) override |
qint32 | getDevicecount () |
void | setDevicecount (qint32 devicecount) |
QList< SWGDeviceListItem * > * | getDevices () |
void | setDevices (QList< SWGDeviceListItem *> *devices) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | devicecount |
bool | m_devicecount_isSet |
QList< SWGDeviceListItem * > * | devices |
bool | m_devices_isSet |
Definition at line 33 of file SWGInstanceDevicesResponse.h.
SWGSDRangel::SWGInstanceDevicesResponse::SWGInstanceDevicesResponse | ( | ) |
Definition at line 30 of file SWGInstanceDevicesResponse.cpp.
References devicecount, devices, m_devicecount_isSet, and m_devices_isSet.
SWGSDRangel::SWGInstanceDevicesResponse::SWGInstanceDevicesResponse | ( | QString * | json | ) |
Definition at line 25 of file SWGInstanceDevicesResponse.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 37 of file SWGInstanceDevicesResponse.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 79 of file SWGInstanceDevicesResponse.cpp.
References asJsonObject().
Referenced by WebAPIRequestMapper::instanceDevicesService().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 90 of file SWGInstanceDevicesResponse.cpp.
References devicecount, devices, m_devicecount_isSet, and SWGSDRangel::toJsonArray().
Referenced by asJson().
void SWGSDRangel::SWGInstanceDevicesResponse::cleanup | ( | ) |
Definition at line 50 of file SWGInstanceDevicesResponse.cpp.
References devices.
Referenced by ~SWGInstanceDevicesResponse().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 62 of file SWGInstanceDevicesResponse.cpp.
References fromJsonObject().
Referenced by SWGInstanceDevicesResponse().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 71 of file SWGInstanceDevicesResponse.cpp.
References devicecount, devices, and SWGSDRangel::setValue().
Referenced by fromJson().
qint32 SWGSDRangel::SWGInstanceDevicesResponse::getDevicecount | ( | ) |
Definition at line 103 of file SWGInstanceDevicesResponse.cpp.
References devicecount.
QList< SWGDeviceListItem * > * SWGSDRangel::SWGInstanceDevicesResponse::getDevices | ( | ) |
Definition at line 113 of file SWGInstanceDevicesResponse.cpp.
References devices.
Referenced by WebAPIAdapterGUI::instanceDevices(), and WebAPIAdapterSrv::instanceDevices().
void SWGSDRangel::SWGInstanceDevicesResponse::init | ( | ) |
Definition at line 42 of file SWGInstanceDevicesResponse.cpp.
References devicecount, devices, m_devicecount_isSet, and m_devices_isSet.
Referenced by WebAPIAdapterGUI::instanceDevices(), WebAPIAdapterSrv::instanceDevices(), and SWGInstanceDevicesResponse().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 124 of file SWGInstanceDevicesResponse.cpp.
References devices, and m_devicecount_isSet.
void SWGSDRangel::SWGInstanceDevicesResponse::setDevicecount | ( | qint32 | devicecount | ) |
Definition at line 107 of file SWGInstanceDevicesResponse.cpp.
References devicecount, and m_devicecount_isSet.
Referenced by WebAPIAdapterGUI::instanceDevices(), and WebAPIAdapterSrv::instanceDevices().
void SWGSDRangel::SWGInstanceDevicesResponse::setDevices | ( | QList< SWGDeviceListItem *> * | devices | ) |
Definition at line 117 of file SWGInstanceDevicesResponse.cpp.
References devices, and m_devices_isSet.
|
private |
Definition at line 56 of file SWGInstanceDevicesResponse.h.
Referenced by asJsonObject(), fromJsonObject(), getDevicecount(), init(), setDevicecount(), and SWGInstanceDevicesResponse().
|
private |
Definition at line 59 of file SWGInstanceDevicesResponse.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDevices(), init(), isSet(), setDevices(), and SWGInstanceDevicesResponse().
|
private |
Definition at line 57 of file SWGInstanceDevicesResponse.h.
Referenced by asJsonObject(), init(), isSet(), setDevicecount(), and SWGInstanceDevicesResponse().
|
private |
Definition at line 60 of file SWGInstanceDevicesResponse.h.
Referenced by init(), setDevices(), and SWGInstanceDevicesResponse().