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 <SWGLocalOutputSettings.h>
Public Member Functions | |
SWGLocalOutputSettings () | |
SWGLocalOutputSettings (QString *json) | |
virtual | ~SWGLocalOutputSettings () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGLocalOutputSettings * | fromJson (QString &jsonString) override |
qint32 | getUseReverseApi () |
void | setUseReverseApi (qint32 use_reverse_api) |
QString * | getReverseApiAddress () |
void | setReverseApiAddress (QString *reverse_api_address) |
qint32 | getReverseApiPort () |
void | setReverseApiPort (qint32 reverse_api_port) |
qint32 | getReverseApiDeviceIndex () |
void | setReverseApiDeviceIndex (qint32 reverse_api_device_index) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | use_reverse_api |
bool | m_use_reverse_api_isSet |
QString * | reverse_api_address |
bool | m_reverse_api_address_isSet |
qint32 | reverse_api_port |
bool | m_reverse_api_port_isSet |
qint32 | reverse_api_device_index |
bool | m_reverse_api_device_index_isSet |
Definition at line 32 of file SWGLocalOutputSettings.h.
SWGSDRangel::SWGLocalOutputSettings::SWGLocalOutputSettings | ( | ) |
Definition at line 30 of file SWGLocalOutputSettings.cpp.
References m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, and use_reverse_api.
SWGSDRangel::SWGLocalOutputSettings::SWGLocalOutputSettings | ( | QString * | json | ) |
Definition at line 25 of file SWGLocalOutputSettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 41 of file SWGLocalOutputSettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 89 of file SWGLocalOutputSettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 100 of file SWGLocalOutputSettings.cpp.
References m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::toJsonValue(), and use_reverse_api.
Referenced by asJson().
void SWGSDRangel::SWGLocalOutputSettings::cleanup | ( | ) |
Definition at line 58 of file SWGLocalOutputSettings.cpp.
References reverse_api_address.
Referenced by ~SWGLocalOutputSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 68 of file SWGLocalOutputSettings.cpp.
References fromJsonObject().
Referenced by SWGLocalOutputSettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 77 of file SWGLocalOutputSettings.cpp.
References reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::setValue(), and use_reverse_api.
Referenced by fromJson(), and WebAPIRequestMapper::validateDeviceSettings().
QString * SWGSDRangel::SWGLocalOutputSettings::getReverseApiAddress | ( | ) |
Definition at line 129 of file SWGLocalOutputSettings.cpp.
References reverse_api_address.
Referenced by LocalOutput::webapiFormatDeviceSettings(), and LocalOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGLocalOutputSettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 149 of file SWGLocalOutputSettings.cpp.
References reverse_api_device_index.
Referenced by LocalOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGLocalOutputSettings::getReverseApiPort | ( | ) |
Definition at line 139 of file SWGLocalOutputSettings.cpp.
References reverse_api_port.
Referenced by LocalOutput::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGLocalOutputSettings::getUseReverseApi | ( | ) |
Definition at line 119 of file SWGLocalOutputSettings.cpp.
References use_reverse_api.
Referenced by LocalOutput::webapiSettingsPutPatch().
void SWGSDRangel::SWGLocalOutputSettings::init | ( | ) |
Definition at line 46 of file SWGLocalOutputSettings.cpp.
References m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, and use_reverse_api.
Referenced by SWGLocalOutputSettings(), and LocalOutput::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 160 of file SWGLocalOutputSettings.cpp.
References m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, and reverse_api_address.
Referenced by SWGSDRangel::SWGDeviceSettings::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::isSet(), and SWGSDRangel::SWGDeviceSettings::isSet().
void SWGSDRangel::SWGLocalOutputSettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 133 of file SWGLocalOutputSettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by LocalOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGLocalOutputSettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 153 of file SWGLocalOutputSettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by LocalOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGLocalOutputSettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 143 of file SWGLocalOutputSettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by LocalOutput::webapiFormatDeviceSettings().
void SWGSDRangel::SWGLocalOutputSettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 123 of file SWGLocalOutputSettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by LocalOutput::webapiFormatDeviceSettings().
|
private |
Definition at line 65 of file SWGLocalOutputSettings.h.
Referenced by init(), setReverseApiAddress(), and SWGLocalOutputSettings().
|
private |
Definition at line 71 of file SWGLocalOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGLocalOutputSettings().
|
private |
Definition at line 68 of file SWGLocalOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGLocalOutputSettings().
|
private |
Definition at line 62 of file SWGLocalOutputSettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGLocalOutputSettings().
|
private |
Definition at line 64 of file SWGLocalOutputSettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGLocalOutputSettings().
|
private |
Definition at line 70 of file SWGLocalOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGLocalOutputSettings().
|
private |
Definition at line 67 of file SWGLocalOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGLocalOutputSettings().
|
private |
Definition at line 61 of file SWGLocalOutputSettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGLocalOutputSettings().