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 <SWGCommand.h>
Public Member Functions | |
SWGCommand () | |
SWGCommand (QString *json) | |
virtual | ~SWGCommand () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGCommand * | fromJson (QString &jsonString) override |
QString * | getGroup () |
void | setGroup (QString *group) |
QString * | getDescription () |
void | setDescription (QString *description) |
QString * | getCommand () |
void | setCommand (QString *command) |
QString * | getArgString () |
void | setArgString (QString *arg_string) |
qint32 | getKey () |
void | setKey (qint32 key) |
qint32 | getKeyModifiers () |
void | setKeyModifiers (qint32 key_modifiers) |
qint32 | getAssociateKey () |
void | setAssociateKey (qint32 associate_key) |
qint32 | getRelease () |
void | setRelease (qint32 release) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | group |
bool | m_group_isSet |
QString * | description |
bool | m_description_isSet |
QString * | command |
bool | m_command_isSet |
QString * | arg_string |
bool | m_arg_string_isSet |
qint32 | key |
bool | m_key_isSet |
qint32 | key_modifiers |
bool | m_key_modifiers_isSet |
qint32 | associate_key |
bool | m_associate_key_isSet |
qint32 | release |
bool | m_release_isSet |
Definition at line 32 of file SWGCommand.h.
SWGSDRangel::SWGCommand::SWGCommand | ( | ) |
Definition at line 30 of file SWGCommand.cpp.
References arg_string, associate_key, command, description, group, key, key_modifiers, m_arg_string_isSet, m_associate_key_isSet, m_command_isSet, m_description_isSet, m_group_isSet, m_key_isSet, m_key_modifiers_isSet, m_release_isSet, and release.
SWGSDRangel::SWGCommand::SWGCommand | ( | QString * | json | ) |
Definition at line 25 of file SWGCommand.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 49 of file SWGCommand.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 123 of file SWGCommand.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 134 of file SWGCommand.cpp.
References arg_string, associate_key, command, description, group, key, key_modifiers, m_associate_key_isSet, m_key_isSet, m_key_modifiers_isSet, m_release_isSet, release, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGCommand::cleanup | ( | ) |
Definition at line 74 of file SWGCommand.cpp.
References arg_string, command, description, and group.
Referenced by ~SWGCommand().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 94 of file SWGCommand.cpp.
References fromJsonObject().
Referenced by SWGCommand().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 103 of file SWGCommand.cpp.
References arg_string, associate_key, command, description, group, key, key_modifiers, release, and SWGSDRangel::setValue().
Referenced by fromJson().
QString * SWGSDRangel::SWGCommand::getArgString | ( | ) |
qint32 SWGSDRangel::SWGCommand::getAssociateKey | ( | ) |
QString * SWGSDRangel::SWGCommand::getCommand | ( | ) |
QString * SWGSDRangel::SWGCommand::getDescription | ( | ) |
QString * SWGSDRangel::SWGCommand::getGroup | ( | ) |
qint32 SWGSDRangel::SWGCommand::getKey | ( | ) |
Definition at line 205 of file SWGCommand.cpp.
References key.
qint32 SWGSDRangel::SWGCommand::getKeyModifiers | ( | ) |
qint32 SWGSDRangel::SWGCommand::getRelease | ( | ) |
void SWGSDRangel::SWGCommand::init | ( | ) |
Definition at line 54 of file SWGCommand.cpp.
References arg_string, associate_key, command, description, group, key, key_modifiers, m_arg_string_isSet, m_associate_key_isSet, m_command_isSet, m_description_isSet, m_group_isSet, m_key_isSet, m_key_modifiers_isSet, m_release_isSet, and release.
Referenced by SWGCommand().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 246 of file SWGCommand.cpp.
References arg_string, command, description, group, m_associate_key_isSet, m_key_isSet, m_key_modifiers_isSet, and m_release_isSet.
void SWGSDRangel::SWGCommand::setArgString | ( | QString * | arg_string | ) |
void SWGSDRangel::SWGCommand::setAssociateKey | ( | qint32 | associate_key | ) |
void SWGSDRangel::SWGCommand::setCommand | ( | QString * | command | ) |
void SWGSDRangel::SWGCommand::setDescription | ( | QString * | description | ) |
void SWGSDRangel::SWGCommand::setGroup | ( | QString * | group | ) |
void SWGSDRangel::SWGCommand::setKey | ( | qint32 | key | ) |
void SWGSDRangel::SWGCommand::setKeyModifiers | ( | qint32 | key_modifiers | ) |
void SWGSDRangel::SWGCommand::setRelease | ( | qint32 | release | ) |
|
private |
Definition at line 82 of file SWGCommand.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getArgString(), init(), isSet(), setArgString(), and SWGCommand().
|
private |
Definition at line 91 of file SWGCommand.h.
Referenced by asJsonObject(), fromJsonObject(), getAssociateKey(), init(), setAssociateKey(), and SWGCommand().
|
private |
Definition at line 79 of file SWGCommand.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getCommand(), init(), isSet(), setCommand(), and SWGCommand().
|
private |
Definition at line 76 of file SWGCommand.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDescription(), init(), isSet(), setDescription(), and SWGCommand().
|
private |
Definition at line 73 of file SWGCommand.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getGroup(), init(), isSet(), setGroup(), and SWGCommand().
|
private |
Definition at line 85 of file SWGCommand.h.
Referenced by asJsonObject(), fromJsonObject(), getKey(), init(), setKey(), and SWGCommand().
|
private |
Definition at line 88 of file SWGCommand.h.
Referenced by asJsonObject(), fromJsonObject(), getKeyModifiers(), init(), setKeyModifiers(), and SWGCommand().
|
private |
Definition at line 83 of file SWGCommand.h.
Referenced by init(), setArgString(), and SWGCommand().
|
private |
Definition at line 92 of file SWGCommand.h.
Referenced by asJsonObject(), init(), isSet(), setAssociateKey(), and SWGCommand().
|
private |
Definition at line 80 of file SWGCommand.h.
Referenced by init(), setCommand(), and SWGCommand().
|
private |
Definition at line 77 of file SWGCommand.h.
Referenced by init(), setDescription(), and SWGCommand().
|
private |
Definition at line 74 of file SWGCommand.h.
Referenced by init(), setGroup(), and SWGCommand().
|
private |
Definition at line 86 of file SWGCommand.h.
Referenced by asJsonObject(), init(), isSet(), setKey(), and SWGCommand().
|
private |
Definition at line 89 of file SWGCommand.h.
Referenced by asJsonObject(), init(), isSet(), setKeyModifiers(), and SWGCommand().
|
private |
Definition at line 95 of file SWGCommand.h.
Referenced by asJsonObject(), init(), isSet(), setRelease(), and SWGCommand().
|
private |
Definition at line 94 of file SWGCommand.h.
Referenced by asJsonObject(), fromJsonObject(), getRelease(), init(), setRelease(), and SWGCommand().