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 <SWGDeviceSet.h>
Public Member Functions | |
SWGDeviceSet () | |
SWGDeviceSet (QString *json) | |
virtual | ~SWGDeviceSet () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGDeviceSet * | fromJson (QString &jsonString) override |
SWGSamplingDevice * | getSamplingDevice () |
void | setSamplingDevice (SWGSamplingDevice *sampling_device) |
qint32 | getChannelcount () |
void | setChannelcount (qint32 channelcount) |
QList< SWGChannel * > * | getChannels () |
void | setChannels (QList< SWGChannel *> *channels) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
SWGSamplingDevice * | sampling_device |
bool | m_sampling_device_isSet |
qint32 | channelcount |
bool | m_channelcount_isSet |
QList< SWGChannel * > * | channels |
bool | m_channels_isSet |
Definition at line 34 of file SWGDeviceSet.h.
SWGSDRangel::SWGDeviceSet::SWGDeviceSet | ( | ) |
Definition at line 30 of file SWGDeviceSet.cpp.
References channelcount, channels, m_channelcount_isSet, m_channels_isSet, m_sampling_device_isSet, and sampling_device.
SWGSDRangel::SWGDeviceSet::SWGDeviceSet | ( | QString * | json | ) |
Definition at line 25 of file SWGDeviceSet.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 39 of file SWGDeviceSet.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 88 of file SWGDeviceSet.cpp.
References asJsonObject().
Referenced by WebAPIRequestMapper::devicesetService().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 99 of file SWGDeviceSet.cpp.
References channelcount, channels, SWGSDRangel::SWGSamplingDevice::isSet(), m_channelcount_isSet, sampling_device, SWGSDRangel::toJsonArray(), and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGDeviceSet::cleanup | ( | ) |
Definition at line 54 of file SWGDeviceSet.cpp.
References channels, and sampling_device.
Referenced by ~SWGDeviceSet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 69 of file SWGDeviceSet.cpp.
References fromJsonObject().
Referenced by SWGDeviceSet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 78 of file SWGDeviceSet.cpp.
References channelcount, channels, sampling_device, and SWGSDRangel::setValue().
Referenced by fromJson().
qint32 SWGSDRangel::SWGDeviceSet::getChannelcount | ( | ) |
Definition at line 125 of file SWGDeviceSet.cpp.
References channelcount.
Referenced by WebAPIAdapterGUI::getDeviceSet(), and WebAPIAdapterSrv::getDeviceSet().
QList< SWGChannel * > * SWGSDRangel::SWGDeviceSet::getChannels | ( | ) |
Definition at line 135 of file SWGDeviceSet.cpp.
References channels.
Referenced by WebAPIAdapterGUI::getDeviceSet(), and WebAPIAdapterSrv::getDeviceSet().
SWGSamplingDevice * SWGSDRangel::SWGDeviceSet::getSamplingDevice | ( | ) |
Definition at line 115 of file SWGDeviceSet.cpp.
References sampling_device.
Referenced by WebAPIAdapterGUI::getDeviceSet(), and WebAPIAdapterSrv::getDeviceSet().
void SWGSDRangel::SWGDeviceSet::init | ( | ) |
Definition at line 44 of file SWGDeviceSet.cpp.
References channelcount, channels, m_channelcount_isSet, m_channels_isSet, m_sampling_device_isSet, and sampling_device.
Referenced by WebAPIAdapterGUI::getDeviceSet(), WebAPIAdapterSrv::getDeviceSet(), and SWGDeviceSet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 146 of file SWGDeviceSet.cpp.
References channels, SWGSDRangel::SWGSamplingDevice::isSet(), m_channelcount_isSet, and sampling_device.
void SWGSDRangel::SWGDeviceSet::setChannelcount | ( | qint32 | channelcount | ) |
Definition at line 129 of file SWGDeviceSet.cpp.
References channelcount, and m_channelcount_isSet.
Referenced by WebAPIAdapterGUI::getDeviceSet(), and WebAPIAdapterSrv::getDeviceSet().
void SWGSDRangel::SWGDeviceSet::setChannels | ( | QList< SWGChannel *> * | channels | ) |
void SWGSDRangel::SWGDeviceSet::setSamplingDevice | ( | SWGSamplingDevice * | sampling_device | ) |
Definition at line 119 of file SWGDeviceSet.cpp.
References m_sampling_device_isSet, and sampling_device.
|
private |
Definition at line 63 of file SWGDeviceSet.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelcount(), init(), setChannelcount(), and SWGDeviceSet().
|
private |
Definition at line 66 of file SWGDeviceSet.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getChannels(), init(), isSet(), setChannels(), and SWGDeviceSet().
|
private |
Definition at line 64 of file SWGDeviceSet.h.
Referenced by asJsonObject(), init(), isSet(), setChannelcount(), and SWGDeviceSet().
|
private |
Definition at line 67 of file SWGDeviceSet.h.
Referenced by init(), setChannels(), and SWGDeviceSet().
|
private |
Definition at line 61 of file SWGDeviceSet.h.
Referenced by init(), setSamplingDevice(), and SWGDeviceSet().
|
private |
Definition at line 60 of file SWGDeviceSet.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getSamplingDevice(), init(), isSet(), setSamplingDevice(), and SWGDeviceSet().