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 <SWGChannelConfig.h>
Public Member Functions | |
SWGChannelConfig () | |
SWGChannelConfig (QString *json) | |
virtual | ~SWGChannelConfig () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGChannelConfig * | fromJson (QString &jsonString) override |
QString * | getChannelIdUri () |
void | setChannelIdUri (QString *channel_id_uri) |
QString * | getChannelId () |
void | setChannelId (QString *channel_id) |
SWGChannelSettings * | getConfig () |
void | setConfig (SWGChannelSettings *config) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | channel_id_uri |
bool | m_channel_id_uri_isSet |
QString * | channel_id |
bool | m_channel_id_isSet |
SWGChannelSettings * | config |
bool | m_config_isSet |
Definition at line 33 of file SWGChannelConfig.h.
SWGSDRangel::SWGChannelConfig::SWGChannelConfig | ( | ) |
Definition at line 30 of file SWGChannelConfig.cpp.
References channel_id, channel_id_uri, m_channel_id_isSet, m_channel_id_uri_isSet, and m_config_isSet.
SWGSDRangel::SWGChannelConfig::SWGChannelConfig | ( | QString * | json | ) |
Definition at line 25 of file SWGChannelConfig.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 39 of file SWGChannelConfig.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 86 of file SWGChannelConfig.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 97 of file SWGChannelConfig.cpp.
References channel_id, channel_id_uri, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGChannelConfig::cleanup | ( | ) |
Definition at line 54 of file SWGChannelConfig.cpp.
References channel_id, channel_id_uri, and config.
Referenced by ~SWGChannelConfig().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 67 of file SWGChannelConfig.cpp.
References fromJsonObject().
Referenced by SWGChannelConfig().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 76 of file SWGChannelConfig.cpp.
References channel_id, channel_id_uri, and SWGSDRangel::setValue().
Referenced by fromJson().
QString * SWGSDRangel::SWGChannelConfig::getChannelId | ( | ) |
QString * SWGSDRangel::SWGChannelConfig::getChannelIdUri | ( | ) |
Definition at line 113 of file SWGChannelConfig.cpp.
References channel_id_uri.
SWGChannelSettings * SWGSDRangel::SWGChannelConfig::getConfig | ( | ) |
void SWGSDRangel::SWGChannelConfig::init | ( | ) |
Definition at line 44 of file SWGChannelConfig.cpp.
References channel_id, channel_id_uri, m_channel_id_isSet, m_channel_id_uri_isSet, and m_config_isSet.
Referenced by SWGChannelConfig().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 144 of file SWGChannelConfig.cpp.
References channel_id, and channel_id_uri.
void SWGSDRangel::SWGChannelConfig::setChannelId | ( | QString * | channel_id | ) |
Definition at line 127 of file SWGChannelConfig.cpp.
References channel_id, and m_channel_id_isSet.
void SWGSDRangel::SWGChannelConfig::setChannelIdUri | ( | QString * | channel_id_uri | ) |
Definition at line 117 of file SWGChannelConfig.cpp.
References channel_id_uri, and m_channel_id_uri_isSet.
void SWGSDRangel::SWGChannelConfig::setConfig | ( | SWGChannelSettings * | config | ) |
Definition at line 137 of file SWGChannelConfig.cpp.
References config, and m_config_isSet.
|
private |
Definition at line 62 of file SWGChannelConfig.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getChannelId(), init(), isSet(), setChannelId(), and SWGChannelConfig().
|
private |
Definition at line 59 of file SWGChannelConfig.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getChannelIdUri(), init(), isSet(), setChannelIdUri(), and SWGChannelConfig().
|
private |
Definition at line 65 of file SWGChannelConfig.h.
Referenced by cleanup(), getConfig(), and setConfig().
|
private |
Definition at line 63 of file SWGChannelConfig.h.
Referenced by init(), setChannelId(), and SWGChannelConfig().
|
private |
Definition at line 60 of file SWGChannelConfig.h.
Referenced by init(), setChannelIdUri(), and SWGChannelConfig().
|
private |
Definition at line 66 of file SWGChannelConfig.h.
Referenced by init(), setConfig(), and SWGChannelConfig().