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 <remoteoutputsettings.h>
Public Member Functions | |
RemoteOutputSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
quint64 | m_centerFrequency |
quint32 | m_sampleRate |
float | m_txDelay |
quint32 | m_nbFECBlocks |
QString | m_apiAddress |
quint16 | m_apiPort |
QString | m_dataAddress |
quint16 | m_dataPort |
quint32 | m_deviceIndex |
quint32 | m_channelIndex |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
Definition at line 24 of file remoteoutputsettings.h.
RemoteOutputSettings::RemoteOutputSettings | ( | ) |
Definition at line 21 of file remoteoutputsettings.cpp.
References resetToDefaults().
bool RemoteOutputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 66 of file remoteoutputsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_apiAddress, m_apiPort, m_centerFrequency, m_channelIndex, m_dataAddress, m_dataPort, m_deviceIndex, m_nbFECBlocks, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_sampleRate, m_txDelay, m_useReverseAPI, SimpleDeserializer::readBool(), SimpleDeserializer::readFloat(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), SimpleDeserializer::readU64(), and resetToDefaults().
Referenced by RemoteOutputSinkGui::deserialize(), and RemoteOutput::deserialize().
void RemoteOutputSettings::resetToDefaults | ( | ) |
Definition at line 26 of file remoteoutputsettings.cpp.
References m_apiAddress, m_apiPort, m_centerFrequency, m_channelIndex, m_dataAddress, m_dataPort, m_deviceIndex, m_nbFECBlocks, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_sampleRate, m_txDelay, and m_useReverseAPI.
Referenced by deserialize(), RemoteOutput::deserialize(), RemoteOutputSettings(), and RemoteOutputSinkGui::resetToDefaults().
QByteArray RemoteOutputSettings::serialize | ( | ) | const |
Definition at line 44 of file remoteoutputsettings.cpp.
References SimpleSerializer::final(), m_apiAddress, m_apiPort, m_centerFrequency, m_channelIndex, m_dataAddress, m_dataPort, m_deviceIndex, m_nbFECBlocks, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_sampleRate, m_txDelay, m_useReverseAPI, SimpleSerializer::writeBool(), SimpleSerializer::writeFloat(), SimpleSerializer::writeString(), SimpleSerializer::writeU32(), and SimpleSerializer::writeU64().
Referenced by RemoteOutputSinkGui::serialize(), and RemoteOutput::serialize().
QString RemoteOutputSettings::m_apiAddress |
Definition at line 29 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutputSinkGui::displaySettings(), RemoteOutputSinkGui::on_apiAddress_returnPressed(), RemoteOutputSinkGui::on_apiApplyButton_clicked(), RemoteOutputSinkGui::on_apiPort_returnPressed(), resetToDefaults(), serialize(), RemoteOutputSinkGui::tick(), RemoteOutput::tick(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), and RemoteOutput::webapiSettingsPutPatch().
quint16 RemoteOutputSettings::m_apiPort |
Definition at line 30 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutputSinkGui::displaySettings(), RemoteOutputSinkGui::on_apiAddress_returnPressed(), RemoteOutputSinkGui::on_apiApplyButton_clicked(), RemoteOutputSinkGui::on_apiPort_returnPressed(), resetToDefaults(), serialize(), RemoteOutputSinkGui::tick(), RemoteOutput::tick(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), and RemoteOutput::webapiSettingsPutPatch().
quint64 RemoteOutputSettings::m_centerFrequency |
Definition at line 25 of file remoteoutputsettings.h.
Referenced by deserialize(), resetToDefaults(), and serialize().
quint32 RemoteOutputSettings::m_channelIndex |
Definition at line 34 of file remoteoutputsettings.h.
Referenced by deserialize(), RemoteOutputSinkGui::displaySettings(), RemoteOutputSinkGui::on_channelIndex_returnPressed(), resetToDefaults(), serialize(), RemoteOutputSinkGui::tick(), RemoteOutput::tick(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), and RemoteOutput::webapiSettingsPutPatch().
QString RemoteOutputSettings::m_dataAddress |
Definition at line 31 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutputSinkGui::displaySettings(), RemoteOutputSinkGui::on_dataAddress_returnPressed(), RemoteOutputSinkGui::on_dataApplyButton_clicked(), resetToDefaults(), serialize(), RemoteOutput::start(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), and RemoteOutput::webapiSettingsPutPatch().
quint16 RemoteOutputSettings::m_dataPort |
Definition at line 32 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutputSinkGui::displaySettings(), RemoteOutputSinkGui::on_dataApplyButton_clicked(), RemoteOutputSinkGui::on_dataPort_returnPressed(), resetToDefaults(), serialize(), RemoteOutput::start(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), and RemoteOutput::webapiSettingsPutPatch().
quint32 RemoteOutputSettings::m_deviceIndex |
Definition at line 33 of file remoteoutputsettings.h.
Referenced by deserialize(), RemoteOutputSinkGui::displaySettings(), RemoteOutputSinkGui::on_deviceIndex_returnPressed(), resetToDefaults(), serialize(), RemoteOutputSinkGui::tick(), RemoteOutput::tick(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), and RemoteOutput::webapiSettingsPutPatch().
quint32 RemoteOutputSettings::m_nbFECBlocks |
Definition at line 28 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutputSinkGui::displaySettings(), RemoteOutputSinkGui::on_nbFECBlocks_valueChanged(), resetToDefaults(), serialize(), RemoteOutput::start(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), and RemoteOutput::webapiSettingsPutPatch().
QString RemoteOutputSettings::m_reverseAPIAddress |
Definition at line 36 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutputSinkGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), RemoteOutput::webapiReverseSendStartStop(), and RemoteOutput::webapiSettingsPutPatch().
uint16_t RemoteOutputSettings::m_reverseAPIDeviceIndex |
Definition at line 38 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutputSinkGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), RemoteOutput::webapiReverseSendStartStop(), and RemoteOutput::webapiSettingsPutPatch().
uint16_t RemoteOutputSettings::m_reverseAPIPort |
Definition at line 37 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutputSinkGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), RemoteOutput::webapiReverseSendStartStop(), and RemoteOutput::webapiSettingsPutPatch().
quint32 RemoteOutputSettings::m_sampleRate |
Definition at line 26 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutputSinkGui::displaySettings(), RemoteOutput::getSampleRate(), RemoteOutputSinkGui::on_sampleRate_changed(), resetToDefaults(), serialize(), RemoteOutput::start(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), and RemoteOutput::webapiSettingsPutPatch().
float RemoteOutputSettings::m_txDelay |
Definition at line 27 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutputSinkGui::displaySettings(), RemoteOutputSinkGui::on_txDelay_valueChanged(), resetToDefaults(), serialize(), RemoteOutput::start(), RemoteOutput::webapiFormatDeviceSettings(), RemoteOutput::webapiReverseSendSettings(), and RemoteOutput::webapiSettingsPutPatch().
bool RemoteOutputSettings::m_useReverseAPI |
Definition at line 35 of file remoteoutputsettings.h.
Referenced by RemoteOutput::applySettings(), deserialize(), RemoteOutput::handleMessage(), RemoteOutputSinkGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), RemoteOutput::webapiFormatDeviceSettings(), and RemoteOutput::webapiSettingsPutPatch().