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 <SWGCWKeyerSettings.h>
Public Member Functions | |
SWGCWKeyerSettings () | |
SWGCWKeyerSettings (QString *json) | |
virtual | ~SWGCWKeyerSettings () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGCWKeyerSettings * | fromJson (QString &jsonString) override |
qint32 | getSampleRate () |
void | setSampleRate (qint32 sample_rate) |
qint32 | getWpm () |
void | setWpm (qint32 wpm) |
qint32 | getMode () |
void | setMode (qint32 mode) |
QString * | getText () |
void | setText (QString *text) |
qint32 | getLoop () |
void | setLoop (qint32 loop) |
qint32 | getKeyboardIambic () |
void | setKeyboardIambic (qint32 keyboard_iambic) |
qint32 | getDotKey () |
void | setDotKey (qint32 dot_key) |
qint32 | getDotKeyModifiers () |
void | setDotKeyModifiers (qint32 dot_key_modifiers) |
qint32 | getDashKey () |
void | setDashKey (qint32 dash_key) |
qint32 | getDashKeyModifiers () |
void | setDashKeyModifiers (qint32 dash_key_modifiers) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | sample_rate |
bool | m_sample_rate_isSet |
qint32 | wpm |
bool | m_wpm_isSet |
qint32 | mode |
bool | m_mode_isSet |
QString * | text |
bool | m_text_isSet |
qint32 | loop |
bool | m_loop_isSet |
qint32 | keyboard_iambic |
bool | m_keyboard_iambic_isSet |
qint32 | dot_key |
bool | m_dot_key_isSet |
qint32 | dot_key_modifiers |
bool | m_dot_key_modifiers_isSet |
qint32 | dash_key |
bool | m_dash_key_isSet |
qint32 | dash_key_modifiers |
bool | m_dash_key_modifiers_isSet |
Definition at line 32 of file SWGCWKeyerSettings.h.
SWGSDRangel::SWGCWKeyerSettings::SWGCWKeyerSettings | ( | ) |
Definition at line 30 of file SWGCWKeyerSettings.cpp.
References dash_key, dash_key_modifiers, dot_key, dot_key_modifiers, keyboard_iambic, loop, m_dash_key_isSet, m_dash_key_modifiers_isSet, m_dot_key_isSet, m_dot_key_modifiers_isSet, m_keyboard_iambic_isSet, m_loop_isSet, m_mode_isSet, m_sample_rate_isSet, m_text_isSet, m_wpm_isSet, mode, sample_rate, text, and wpm.
SWGSDRangel::SWGCWKeyerSettings::SWGCWKeyerSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGCWKeyerSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 53 of file SWGCWKeyerSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 131 of file SWGCWKeyerSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 142 of file SWGCWKeyerSettings.cpp.
References dash_key, dash_key_modifiers, dot_key, dot_key_modifiers, keyboard_iambic, loop, m_dash_key_isSet, m_dash_key_modifiers_isSet, m_dot_key_isSet, m_dot_key_modifiers_isSet, m_keyboard_iambic_isSet, m_loop_isSet, m_mode_isSet, m_sample_rate_isSet, m_wpm_isSet, mode, sample_rate, text, SWGSDRangel::toJsonValue(), and wpm.
Referenced by asJson().
void SWGSDRangel::SWGCWKeyerSettings::cleanup | ( | ) |
Definition at line 82 of file SWGCWKeyerSettings.cpp.
References text.
Referenced by ~SWGCWKeyerSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 98 of file SWGCWKeyerSettings.cpp.
References fromJsonObject().
Referenced by SWGCWKeyerSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 107 of file SWGCWKeyerSettings.cpp.
References dash_key, dash_key_modifiers, dot_key, dot_key_modifiers, keyboard_iambic, loop, mode, sample_rate, SWGSDRangel::setValue(), text, and wpm.
Referenced by fromJson().
qint32 SWGSDRangel::SWGCWKeyerSettings::getDashKey | ( | ) |
Definition at line 259 of file SWGCWKeyerSettings.cpp.
References dash_key.
Referenced by CWKeyer::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGCWKeyerSettings::getDashKeyModifiers | ( | ) |
Definition at line 269 of file SWGCWKeyerSettings.cpp.
References dash_key_modifiers.
Referenced by CWKeyer::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGCWKeyerSettings::getDotKey | ( | ) |
Definition at line 239 of file SWGCWKeyerSettings.cpp.
References dot_key.
Referenced by CWKeyer::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGCWKeyerSettings::getDotKeyModifiers | ( | ) |
Definition at line 249 of file SWGCWKeyerSettings.cpp.
References dot_key_modifiers.
Referenced by CWKeyer::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGCWKeyerSettings::getKeyboardIambic | ( | ) |
Definition at line 229 of file SWGCWKeyerSettings.cpp.
References keyboard_iambic.
Referenced by CWKeyer::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGCWKeyerSettings::getLoop | ( | ) |
Definition at line 219 of file SWGCWKeyerSettings.cpp.
References loop.
Referenced by CWKeyer::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGCWKeyerSettings::getMode | ( | ) |
Definition at line 199 of file SWGCWKeyerSettings.cpp.
References mode.
Referenced by CWKeyer::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGCWKeyerSettings::getSampleRate | ( | ) |
Definition at line 179 of file SWGCWKeyerSettings.cpp.
References sample_rate.
Referenced by CWKeyer::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGCWKeyerSettings::getText | ( | ) |
Definition at line 209 of file SWGCWKeyerSettings.cpp.
References text.
Referenced by CWKeyer::webapiFormatChannelSettings(), and CWKeyer::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGCWKeyerSettings::getWpm | ( | ) |
Definition at line 189 of file SWGCWKeyerSettings.cpp.
References wpm.
Referenced by CWKeyer::webapiSettingsPutPatch().
void SWGSDRangel::SWGCWKeyerSettings::init | ( | ) |
Definition at line 58 of file SWGCWKeyerSettings.cpp.
References dash_key, dash_key_modifiers, dot_key, dot_key_modifiers, keyboard_iambic, loop, m_dash_key_isSet, m_dash_key_modifiers_isSet, m_dot_key_isSet, m_dot_key_modifiers_isSet, m_keyboard_iambic_isSet, m_loop_isSet, m_mode_isSet, m_sample_rate_isSet, m_text_isSet, m_wpm_isSet, mode, sample_rate, text, and wpm.
Referenced by SWGCWKeyerSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 280 of file SWGCWKeyerSettings.cpp.
References m_dash_key_isSet, m_dash_key_modifiers_isSet, m_dot_key_isSet, m_dot_key_modifiers_isSet, m_keyboard_iambic_isSet, m_loop_isSet, m_mode_isSet, m_sample_rate_isSet, m_wpm_isSet, and text.
Referenced by SWGSDRangel::SWGAMModSettings::asJsonObject(), SWGSDRangel::SWGNFMModSettings::asJsonObject(), SWGSDRangel::SWGWFMModSettings::asJsonObject(), SWGSDRangel::SWGFreeDVModSettings::asJsonObject(), SWGSDRangel::SWGSSBModSettings::asJsonObject(), SWGSDRangel::SWGAMModSettings::isSet(), SWGSDRangel::SWGFreeDVModSettings::isSet(), SWGSDRangel::SWGWFMModSettings::isSet(), SWGSDRangel::SWGNFMModSettings::isSet(), and SWGSDRangel::SWGSSBModSettings::isSet().
void SWGSDRangel::SWGCWKeyerSettings::setDashKey | ( | qint32 | dash_key | ) |
Definition at line 263 of file SWGCWKeyerSettings.cpp.
References dash_key, and m_dash_key_isSet.
Referenced by CWKeyer::webapiFormatChannelSettings().
void SWGSDRangel::SWGCWKeyerSettings::setDashKeyModifiers | ( | qint32 | dash_key_modifiers | ) |
Definition at line 273 of file SWGCWKeyerSettings.cpp.
References dash_key_modifiers, and m_dash_key_modifiers_isSet.
Referenced by CWKeyer::webapiFormatChannelSettings().
void SWGSDRangel::SWGCWKeyerSettings::setDotKey | ( | qint32 | dot_key | ) |
Definition at line 243 of file SWGCWKeyerSettings.cpp.
References dot_key, and m_dot_key_isSet.
Referenced by CWKeyer::webapiFormatChannelSettings().
void SWGSDRangel::SWGCWKeyerSettings::setDotKeyModifiers | ( | qint32 | dot_key_modifiers | ) |
Definition at line 253 of file SWGCWKeyerSettings.cpp.
References dot_key_modifiers, and m_dot_key_modifiers_isSet.
Referenced by CWKeyer::webapiFormatChannelSettings().
void SWGSDRangel::SWGCWKeyerSettings::setKeyboardIambic | ( | qint32 | keyboard_iambic | ) |
Definition at line 233 of file SWGCWKeyerSettings.cpp.
References keyboard_iambic, and m_keyboard_iambic_isSet.
Referenced by CWKeyer::webapiFormatChannelSettings().
void SWGSDRangel::SWGCWKeyerSettings::setLoop | ( | qint32 | loop | ) |
Definition at line 223 of file SWGCWKeyerSettings.cpp.
References loop, and m_loop_isSet.
Referenced by CWKeyer::webapiFormatChannelSettings().
void SWGSDRangel::SWGCWKeyerSettings::setMode | ( | qint32 | mode | ) |
Definition at line 203 of file SWGCWKeyerSettings.cpp.
References m_mode_isSet, and mode.
Referenced by CWKeyer::webapiFormatChannelSettings().
void SWGSDRangel::SWGCWKeyerSettings::setSampleRate | ( | qint32 | sample_rate | ) |
Definition at line 183 of file SWGCWKeyerSettings.cpp.
References m_sample_rate_isSet, and sample_rate.
Referenced by CWKeyer::webapiFormatChannelSettings().
void SWGSDRangel::SWGCWKeyerSettings::setText | ( | QString * | text | ) |
Definition at line 213 of file SWGCWKeyerSettings.cpp.
References m_text_isSet, and text.
Referenced by CWKeyer::webapiFormatChannelSettings().
void SWGSDRangel::SWGCWKeyerSettings::setWpm | ( | qint32 | wpm | ) |
Definition at line 193 of file SWGCWKeyerSettings.cpp.
References m_wpm_isSet, and wpm.
Referenced by CWKeyer::webapiFormatChannelSettings(), and NFMMod::webapiFormatChannelSettings().
|
private |
Definition at line 103 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDashKey(), init(), setDashKey(), and SWGCWKeyerSettings().
|
private |
Definition at line 106 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDashKeyModifiers(), init(), setDashKeyModifiers(), and SWGCWKeyerSettings().
|
private |
Definition at line 97 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDotKey(), init(), setDotKey(), and SWGCWKeyerSettings().
|
private |
Definition at line 100 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getDotKeyModifiers(), init(), setDotKeyModifiers(), and SWGCWKeyerSettings().
|
private |
Definition at line 94 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getKeyboardIambic(), init(), setKeyboardIambic(), and SWGCWKeyerSettings().
|
private |
Definition at line 91 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getLoop(), init(), setLoop(), and SWGCWKeyerSettings().
|
private |
Definition at line 104 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDashKey(), and SWGCWKeyerSettings().
|
private |
Definition at line 107 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDashKeyModifiers(), and SWGCWKeyerSettings().
|
private |
Definition at line 98 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDotKey(), and SWGCWKeyerSettings().
|
private |
Definition at line 101 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), init(), isSet(), setDotKeyModifiers(), and SWGCWKeyerSettings().
|
private |
Definition at line 95 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), init(), isSet(), setKeyboardIambic(), and SWGCWKeyerSettings().
|
private |
Definition at line 92 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), init(), isSet(), setLoop(), and SWGCWKeyerSettings().
|
private |
Definition at line 86 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), init(), isSet(), setMode(), and SWGCWKeyerSettings().
|
private |
Definition at line 80 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), init(), isSet(), setSampleRate(), and SWGCWKeyerSettings().
|
private |
Definition at line 89 of file SWGCWKeyerSettings.h.
Referenced by init(), setText(), and SWGCWKeyerSettings().
|
private |
Definition at line 83 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), init(), isSet(), setWpm(), and SWGCWKeyerSettings().
|
private |
Definition at line 85 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getMode(), init(), setMode(), and SWGCWKeyerSettings().
|
private |
Definition at line 79 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getSampleRate(), init(), setSampleRate(), and SWGCWKeyerSettings().
|
private |
Definition at line 88 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getText(), init(), isSet(), setText(), and SWGCWKeyerSettings().
|
private |
Definition at line 82 of file SWGCWKeyerSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getWpm(), init(), setWpm(), and SWGCWKeyerSettings().