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