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 <SWGTestMISettings.h>
Public Member Functions | |
SWGTestMISettings () | |
SWGTestMISettings (QString *json) | |
virtual | ~SWGTestMISettings () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGTestMISettings * | fromJson (QString &jsonString) override |
QString * | getFileRecordName () |
void | setFileRecordName (QString *file_record_name) |
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) |
QList< SWGTestMiStreamSettings * > * | getStreams () |
void | setStreams (QList< SWGTestMiStreamSettings *> *streams) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | file_record_name |
bool | m_file_record_name_isSet |
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 |
QList< SWGTestMiStreamSettings * > * | streams |
bool | m_streams_isSet |
Definition at line 34 of file SWGTestMISettings.h.
SWGSDRangel::SWGTestMISettings::SWGTestMISettings | ( | ) |
Definition at line 30 of file SWGTestMISettings.cpp.
References file_record_name, m_file_record_name_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_streams_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, streams, and use_reverse_api.
SWGSDRangel::SWGTestMISettings::SWGTestMISettings | ( | QString * | json | ) |
Definition at line 25 of file SWGTestMISettings.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 45 of file SWGTestMISettings.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 111 of file SWGTestMISettings.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 122 of file SWGTestMISettings.cpp.
References file_record_name, 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, streams, SWGSDRangel::toJsonArray(), SWGSDRangel::toJsonValue(), and use_reverse_api.
Referenced by asJson().
void SWGSDRangel::SWGTestMISettings::cleanup | ( | ) |
Definition at line 66 of file SWGTestMISettings.cpp.
References file_record_name, reverse_api_address, and streams.
Referenced by ~SWGTestMISettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 86 of file SWGTestMISettings.cpp.
References fromJsonObject().
Referenced by SWGTestMISettings().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 95 of file SWGTestMISettings.cpp.
References file_record_name, reverse_api_address, reverse_api_device_index, reverse_api_port, SWGSDRangel::setValue(), streams, and use_reverse_api.
Referenced by fromJson(), and WebAPIRequestMapper::validateDeviceSettings().
QString * SWGSDRangel::SWGTestMISettings::getFileRecordName | ( | ) |
Definition at line 147 of file SWGTestMISettings.cpp.
References file_record_name.
Referenced by TestMI::webapiFormatDeviceSettings(), and TestMI::webapiSettingsPutPatch().
QString * SWGSDRangel::SWGTestMISettings::getReverseApiAddress | ( | ) |
Definition at line 167 of file SWGTestMISettings.cpp.
References reverse_api_address.
Referenced by TestMI::webapiFormatDeviceSettings(), and TestMI::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGTestMISettings::getReverseApiDeviceIndex | ( | ) |
Definition at line 187 of file SWGTestMISettings.cpp.
References reverse_api_device_index.
Referenced by TestMI::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGTestMISettings::getReverseApiPort | ( | ) |
Definition at line 177 of file SWGTestMISettings.cpp.
References reverse_api_port.
Referenced by TestMI::webapiSettingsPutPatch().
QList< SWGTestMiStreamSettings * > * SWGSDRangel::SWGTestMISettings::getStreams | ( | ) |
Definition at line 197 of file SWGTestMISettings.cpp.
References streams.
Referenced by TestMI::webapiFormatDeviceSettings(), TestMI::webapiReverseSendSettings(), and TestMI::webapiSettingsPutPatch().
qint32 SWGSDRangel::SWGTestMISettings::getUseReverseApi | ( | ) |
Definition at line 157 of file SWGTestMISettings.cpp.
References use_reverse_api.
Referenced by TestMI::webapiSettingsPutPatch().
void SWGSDRangel::SWGTestMISettings::init | ( | ) |
Definition at line 50 of file SWGTestMISettings.cpp.
References file_record_name, m_file_record_name_isSet, m_reverse_api_address_isSet, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_streams_isSet, m_use_reverse_api_isSet, reverse_api_address, reverse_api_device_index, reverse_api_port, streams, and use_reverse_api.
Referenced by SWGTestMISettings(), and TestMI::webapiSettingsGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 208 of file SWGTestMISettings.cpp.
References file_record_name, m_reverse_api_device_index_isSet, m_reverse_api_port_isSet, m_use_reverse_api_isSet, reverse_api_address, and streams.
Referenced by SWGSDRangel::SWGDeviceSettings::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::asJsonObject(), SWGSDRangel::SWGDeviceSettings_2::isSet(), and SWGSDRangel::SWGDeviceSettings::isSet().
void SWGSDRangel::SWGTestMISettings::setFileRecordName | ( | QString * | file_record_name | ) |
Definition at line 151 of file SWGTestMISettings.cpp.
References file_record_name, and m_file_record_name_isSet.
Referenced by TestMI::webapiFormatDeviceSettings(), and TestMI::webapiReverseSendSettings().
void SWGSDRangel::SWGTestMISettings::setReverseApiAddress | ( | QString * | reverse_api_address | ) |
Definition at line 171 of file SWGTestMISettings.cpp.
References m_reverse_api_address_isSet, and reverse_api_address.
Referenced by TestMI::webapiFormatDeviceSettings().
void SWGSDRangel::SWGTestMISettings::setReverseApiDeviceIndex | ( | qint32 | reverse_api_device_index | ) |
Definition at line 191 of file SWGTestMISettings.cpp.
References m_reverse_api_device_index_isSet, and reverse_api_device_index.
Referenced by TestMI::webapiFormatDeviceSettings().
void SWGSDRangel::SWGTestMISettings::setReverseApiPort | ( | qint32 | reverse_api_port | ) |
Definition at line 181 of file SWGTestMISettings.cpp.
References m_reverse_api_port_isSet, and reverse_api_port.
Referenced by TestMI::webapiFormatDeviceSettings().
void SWGSDRangel::SWGTestMISettings::setStreams | ( | QList< SWGTestMiStreamSettings *> * | streams | ) |
Definition at line 201 of file SWGTestMISettings.cpp.
References m_streams_isSet, and streams.
void SWGSDRangel::SWGTestMISettings::setUseReverseApi | ( | qint32 | use_reverse_api | ) |
Definition at line 161 of file SWGTestMISettings.cpp.
References m_use_reverse_api_isSet, and use_reverse_api.
Referenced by TestMI::webapiFormatDeviceSettings().
|
private |
Definition at line 69 of file SWGTestMISettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getFileRecordName(), init(), isSet(), setFileRecordName(), and SWGTestMISettings().
|
private |
Definition at line 70 of file SWGTestMISettings.h.
Referenced by init(), setFileRecordName(), and SWGTestMISettings().
|
private |
Definition at line 76 of file SWGTestMISettings.h.
Referenced by init(), setReverseApiAddress(), and SWGTestMISettings().
|
private |
Definition at line 82 of file SWGTestMISettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiDeviceIndex(), and SWGTestMISettings().
|
private |
Definition at line 79 of file SWGTestMISettings.h.
Referenced by asJsonObject(), init(), isSet(), setReverseApiPort(), and SWGTestMISettings().
|
private |
Definition at line 85 of file SWGTestMISettings.h.
Referenced by init(), setStreams(), and SWGTestMISettings().
|
private |
Definition at line 73 of file SWGTestMISettings.h.
Referenced by asJsonObject(), init(), isSet(), setUseReverseApi(), and SWGTestMISettings().
|
private |
Definition at line 75 of file SWGTestMISettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getReverseApiAddress(), init(), isSet(), setReverseApiAddress(), and SWGTestMISettings().
|
private |
Definition at line 81 of file SWGTestMISettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiDeviceIndex(), init(), setReverseApiDeviceIndex(), and SWGTestMISettings().
|
private |
Definition at line 78 of file SWGTestMISettings.h.
Referenced by asJsonObject(), fromJsonObject(), getReverseApiPort(), init(), setReverseApiPort(), and SWGTestMISettings().
|
private |
Definition at line 84 of file SWGTestMISettings.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getStreams(), init(), isSet(), setStreams(), and SWGTestMISettings().
|
private |
Definition at line 72 of file SWGTestMISettings.h.
Referenced by asJsonObject(), fromJsonObject(), getUseReverseApi(), init(), setUseReverseApi(), and SWGTestMISettings().