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 <SWGChannel.h>
Public Member Functions | |
SWGChannel () | |
SWGChannel (QString *json) | |
virtual | ~SWGChannel () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGChannel * | fromJson (QString &jsonString) override |
qint32 | getIndex () |
void | setIndex (qint32 index) |
QString * | getId () |
void | setId (QString *id) |
qint64 | getUid () |
void | setUid (qint64 uid) |
QString * | getTitle () |
void | setTitle (QString *title) |
qint32 | getDeltaFrequency () |
void | setDeltaFrequency (qint32 delta_frequency) |
SWGChannelReport * | getReport () |
void | setReport (SWGChannelReport *report) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | index |
bool | m_index_isSet |
QString * | id |
bool | m_id_isSet |
qint64 | uid |
bool | m_uid_isSet |
QString * | title |
bool | m_title_isSet |
qint32 | delta_frequency |
bool | m_delta_frequency_isSet |
SWGChannelReport * | report |
bool | m_report_isSet |
Definition at line 33 of file SWGChannel.h.
SWGSDRangel::SWGChannel::SWGChannel | ( | ) |
Definition at line 30 of file SWGChannel.cpp.
References delta_frequency, index, m_delta_frequency_isSet, m_id_isSet, m_index_isSet, m_report_isSet, m_title_isSet, m_uid_isSet, report, title, and uid.
SWGSDRangel::SWGChannel::SWGChannel | ( | QString * | json | ) |
Definition at line 25 of file SWGChannel.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 45 of file SWGChannel.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 107 of file SWGChannel.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 118 of file SWGChannel.cpp.
References delta_frequency, index, SWGSDRangel::SWGChannelReport::isSet(), m_delta_frequency_isSet, m_index_isSet, m_uid_isSet, report, title, SWGSDRangel::toJsonValue(), and uid.
Referenced by asJson().
void SWGSDRangel::SWGChannel::cleanup | ( | ) |
Definition at line 66 of file SWGChannel.cpp.
References id, report, and title.
Referenced by ~SWGChannel().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 82 of file SWGChannel.cpp.
References fromJsonObject().
Referenced by SWGChannel().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 91 of file SWGChannel.cpp.
References delta_frequency, index, report, SWGSDRangel::setValue(), title, and uid.
Referenced by fromJson().
qint32 SWGSDRangel::SWGChannel::getDeltaFrequency | ( | ) |
QString * SWGSDRangel::SWGChannel::getId | ( | ) |
Definition at line 153 of file SWGChannel.cpp.
References id.
qint32 SWGSDRangel::SWGChannel::getIndex | ( | ) |
Definition at line 143 of file SWGChannel.cpp.
References index.
SWGChannelReport * SWGSDRangel::SWGChannel::getReport | ( | ) |
QString * SWGSDRangel::SWGChannel::getTitle | ( | ) |
qint64 SWGSDRangel::SWGChannel::getUid | ( | ) |
Definition at line 163 of file SWGChannel.cpp.
References uid.
void SWGSDRangel::SWGChannel::init | ( | ) |
Definition at line 50 of file SWGChannel.cpp.
References delta_frequency, index, m_delta_frequency_isSet, m_id_isSet, m_index_isSet, m_report_isSet, m_title_isSet, m_uid_isSet, report, title, and uid.
Referenced by SWGChannel().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 204 of file SWGChannel.cpp.
References SWGSDRangel::SWGChannelReport::isSet(), m_delta_frequency_isSet, m_index_isSet, m_uid_isSet, report, and title.
void SWGSDRangel::SWGChannel::setDeltaFrequency | ( | qint32 | delta_frequency | ) |
Definition at line 187 of file SWGChannel.cpp.
References delta_frequency, and m_delta_frequency_isSet.
void SWGSDRangel::SWGChannel::setId | ( | QString * | id | ) |
void SWGSDRangel::SWGChannel::setIndex | ( | qint32 | index | ) |
void SWGSDRangel::SWGChannel::setReport | ( | SWGChannelReport * | report | ) |
void SWGSDRangel::SWGChannel::setTitle | ( | QString * | title | ) |
void SWGSDRangel::SWGChannel::setUid | ( | qint64 | uid | ) |
|
private |
Definition at line 80 of file SWGChannel.h.
Referenced by asJsonObject(), fromJsonObject(), getDeltaFrequency(), init(), setDeltaFrequency(), and SWGChannel().
|
private |
Definition at line 71 of file SWGChannel.h.
|
private |
Definition at line 68 of file SWGChannel.h.
Referenced by asJsonObject(), fromJsonObject(), getIndex(), init(), setIndex(), and SWGChannel().
|
private |
Definition at line 81 of file SWGChannel.h.
Referenced by asJsonObject(), init(), isSet(), setDeltaFrequency(), and SWGChannel().
|
private |
Definition at line 72 of file SWGChannel.h.
Referenced by init(), setId(), and SWGChannel().
|
private |
Definition at line 69 of file SWGChannel.h.
Referenced by asJsonObject(), init(), isSet(), setIndex(), and SWGChannel().
|
private |
Definition at line 84 of file SWGChannel.h.
Referenced by init(), setReport(), and SWGChannel().
|
private |
Definition at line 78 of file SWGChannel.h.
Referenced by init(), setTitle(), and SWGChannel().
|
private |
Definition at line 75 of file SWGChannel.h.
Referenced by asJsonObject(), init(), isSet(), setUid(), and SWGChannel().
|
private |
Definition at line 83 of file SWGChannel.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReport(), init(), isSet(), setReport(), and SWGChannel().
|
private |
Definition at line 77 of file SWGChannel.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getTitle(), init(), isSet(), setTitle(), and SWGChannel().
|
private |
Definition at line 74 of file SWGChannel.h.
Referenced by asJsonObject(), fromJsonObject(), getUid(), init(), setUid(), and SWGChannel().