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 <SWGAMBEDevices.h>
Public Member Functions | |
SWGAMBEDevices () | |
SWGAMBEDevices (QString *json) | |
virtual | ~SWGAMBEDevices () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGAMBEDevices * | fromJson (QString &jsonString) override |
qint32 | getNbDevices () |
void | setNbDevices (qint32 nb_devices) |
QList< SWGAMBEDevice * > * | getAmbeDevices () |
void | setAmbeDevices (QList< SWGAMBEDevice *> *ambe_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< SWGAMBEDevice * > * | ambe_devices |
bool | m_ambe_devices_isSet |
Definition at line 33 of file SWGAMBEDevices.h.
SWGSDRangel::SWGAMBEDevices::SWGAMBEDevices | ( | ) |
Definition at line 30 of file SWGAMBEDevices.cpp.
References ambe_devices, m_ambe_devices_isSet, m_nb_devices_isSet, and nb_devices.
SWGSDRangel::SWGAMBEDevices::SWGAMBEDevices | ( | QString * | json | ) |
Definition at line 25 of file SWGAMBEDevices.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 37 of file SWGAMBEDevices.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 79 of file SWGAMBEDevices.cpp.
References asJsonObject().
Referenced by SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPatch(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPut(), and WebAPIRequestMapper::instanceAMBEDevicesService().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 90 of file SWGAMBEDevices.cpp.
References ambe_devices, m_nb_devices_isSet, nb_devices, and SWGSDRangel::toJsonArray().
Referenced by asJson().
void SWGSDRangel::SWGAMBEDevices::cleanup | ( | ) |
Definition at line 50 of file SWGAMBEDevices.cpp.
References ambe_devices.
Referenced by ~SWGAMBEDevices().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 62 of file SWGAMBEDevices.cpp.
References fromJsonObject().
Referenced by SWGAMBEDevices().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 71 of file SWGAMBEDevices.cpp.
References ambe_devices, nb_devices, and SWGSDRangel::setValue().
Referenced by fromJson().
QList< SWGAMBEDevice * > * SWGSDRangel::SWGAMBEDevices::getAmbeDevices | ( | ) |
Definition at line 113 of file SWGAMBEDevices.cpp.
References ambe_devices.
Referenced by WebAPIAdapterGUI::instanceAMBEDevicesGet(), WebAPIAdapterSrv::instanceAMBEDevicesGet(), WebAPIAdapterGUI::instanceAMBEDevicesPatch(), WebAPIAdapterSrv::instanceAMBEDevicesPatch(), WebAPIAdapterSrv::instanceAMBEDevicesPut(), WebAPIAdapterGUI::instanceAMBEDevicesPut(), and WebAPIRequestMapper::validateAMBEDevices().
qint32 SWGSDRangel::SWGAMBEDevices::getNbDevices | ( | ) |
void SWGSDRangel::SWGAMBEDevices::init | ( | ) |
Definition at line 42 of file SWGAMBEDevices.cpp.
References ambe_devices, m_ambe_devices_isSet, m_nb_devices_isSet, and nb_devices.
Referenced by WebAPIAdapterGUI::instanceAMBEDevicesGet(), WebAPIAdapterSrv::instanceAMBEDevicesGet(), SWGAMBEDevices(), and WebAPIRequestMapper::validateAMBEDevices().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 124 of file SWGAMBEDevices.cpp.
References ambe_devices, and m_nb_devices_isSet.
void SWGSDRangel::SWGAMBEDevices::setAmbeDevices | ( | QList< SWGAMBEDevice *> * | ambe_devices | ) |
Definition at line 117 of file SWGAMBEDevices.cpp.
References ambe_devices, and m_ambe_devices_isSet.
void SWGSDRangel::SWGAMBEDevices::setNbDevices | ( | qint32 | nb_devices | ) |
Definition at line 107 of file SWGAMBEDevices.cpp.
References m_nb_devices_isSet, and nb_devices.
Referenced by WebAPIAdapterGUI::instanceAMBEDevicesGet(), WebAPIAdapterSrv::instanceAMBEDevicesGet(), and WebAPIRequestMapper::validateAMBEDevices().
|
private |
Definition at line 59 of file SWGAMBEDevices.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getAmbeDevices(), init(), isSet(), setAmbeDevices(), and SWGAMBEDevices().
|
private |
Definition at line 60 of file SWGAMBEDevices.h.
Referenced by init(), setAmbeDevices(), and SWGAMBEDevices().
|
private |
Definition at line 57 of file SWGAMBEDevices.h.
Referenced by asJsonObject(), init(), isSet(), setNbDevices(), and SWGAMBEDevices().
|
private |
Definition at line 56 of file SWGAMBEDevices.h.
Referenced by asJsonObject(), fromJsonObject(), getNbDevices(), init(), setNbDevices(), and SWGAMBEDevices().