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 <SWGChannelsDetail.h>
Public Member Functions | |
SWGChannelsDetail () | |
SWGChannelsDetail (QString *json) | |
virtual | ~SWGChannelsDetail () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGChannelsDetail * | fromJson (QString &jsonString) override |
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 | |
qint32 | channelcount |
bool | m_channelcount_isSet |
QList< SWGChannel * > * | channels |
bool | m_channels_isSet |
Definition at line 33 of file SWGChannelsDetail.h.
SWGSDRangel::SWGChannelsDetail::SWGChannelsDetail | ( | ) |
Definition at line 30 of file SWGChannelsDetail.cpp.
References channelcount, channels, m_channelcount_isSet, and m_channels_isSet.
SWGSDRangel::SWGChannelsDetail::SWGChannelsDetail | ( | QString * | json | ) |
Definition at line 25 of file SWGChannelsDetail.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 37 of file SWGChannelsDetail.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 79 of file SWGChannelsDetail.cpp.
References asJsonObject().
Referenced by WebAPIRequestMapper::devicesetChannelsReportService().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 90 of file SWGChannelsDetail.cpp.
References channelcount, channels, m_channelcount_isSet, and SWGSDRangel::toJsonArray().
Referenced by asJson().
void SWGSDRangel::SWGChannelsDetail::cleanup | ( | ) |
Definition at line 50 of file SWGChannelsDetail.cpp.
References channels.
Referenced by ~SWGChannelsDetail().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 62 of file SWGChannelsDetail.cpp.
References fromJsonObject().
Referenced by SWGChannelsDetail().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 71 of file SWGChannelsDetail.cpp.
References channelcount, channels, and SWGSDRangel::setValue().
Referenced by fromJson().
qint32 SWGSDRangel::SWGChannelsDetail::getChannelcount | ( | ) |
Definition at line 103 of file SWGChannelsDetail.cpp.
References channelcount.
Referenced by WebAPIAdapterGUI::getChannelsDetail(), and WebAPIAdapterSrv::getChannelsDetail().
QList< SWGChannel * > * SWGSDRangel::SWGChannelsDetail::getChannels | ( | ) |
Definition at line 113 of file SWGChannelsDetail.cpp.
References channels.
Referenced by WebAPIAdapterGUI::getChannelsDetail(), and WebAPIAdapterSrv::getChannelsDetail().
void SWGSDRangel::SWGChannelsDetail::init | ( | ) |
Definition at line 42 of file SWGChannelsDetail.cpp.
References channelcount, channels, m_channelcount_isSet, and m_channels_isSet.
Referenced by WebAPIAdapterGUI::getChannelsDetail(), WebAPIAdapterSrv::getChannelsDetail(), and SWGChannelsDetail().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 124 of file SWGChannelsDetail.cpp.
References channels, and m_channelcount_isSet.
void SWGSDRangel::SWGChannelsDetail::setChannelcount | ( | qint32 | channelcount | ) |
Definition at line 107 of file SWGChannelsDetail.cpp.
References channelcount, and m_channelcount_isSet.
Referenced by WebAPIAdapterGUI::getChannelsDetail(), and WebAPIAdapterSrv::getChannelsDetail().
void SWGSDRangel::SWGChannelsDetail::setChannels | ( | QList< SWGChannel *> * | channels | ) |
Definition at line 117 of file SWGChannelsDetail.cpp.
References channels, and m_channels_isSet.
|
private |
Definition at line 56 of file SWGChannelsDetail.h.
Referenced by asJsonObject(), fromJsonObject(), getChannelcount(), init(), setChannelcount(), and SWGChannelsDetail().
|
private |
Definition at line 59 of file SWGChannelsDetail.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getChannels(), init(), isSet(), setChannels(), and SWGChannelsDetail().
|
private |
Definition at line 57 of file SWGChannelsDetail.h.
Referenced by asJsonObject(), init(), isSet(), setChannelcount(), and SWGChannelsDetail().
|
private |
Definition at line 60 of file SWGChannelsDetail.h.
Referenced by init(), setChannels(), and SWGChannelsDetail().