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 <SWGAudioOutputDevice.h>
Private Attributes | |
QString * | name |
bool | m_name_isSet |
qint32 | index |
bool | m_index_isSet |
qint32 | sample_rate |
bool | m_sample_rate_isSet |
qint32 | is_system_default |
bool | m_is_system_default_isSet |
qint32 | default_unregistered |
bool | m_default_unregistered_isSet |
qint32 | copy_to_udp |
bool | m_copy_to_udp_isSet |
qint32 | udp_uses_rtp |
bool | m_udp_uses_rtp_isSet |
qint32 | udp_channel_mode |
bool | m_udp_channel_mode_isSet |
qint32 | udp_channel_codec |
bool | m_udp_channel_codec_isSet |
qint32 | udp_decimation_factor |
bool | m_udp_decimation_factor_isSet |
QString * | udp_address |
bool | m_udp_address_isSet |
qint32 | udp_port |
bool | m_udp_port_isSet |
Definition at line 32 of file SWGAudioOutputDevice.h.
SWGSDRangel::SWGAudioOutputDevice::SWGAudioOutputDevice | ( | ) |
Definition at line 30 of file SWGAudioOutputDevice.cpp.
References copy_to_udp, default_unregistered, index, is_system_default, m_copy_to_udp_isSet, m_default_unregistered_isSet, m_index_isSet, m_is_system_default_isSet, m_name_isSet, m_sample_rate_isSet, m_udp_address_isSet, m_udp_channel_codec_isSet, m_udp_channel_mode_isSet, m_udp_decimation_factor_isSet, m_udp_port_isSet, m_udp_uses_rtp_isSet, name, sample_rate, udp_address, udp_channel_codec, udp_channel_mode, udp_decimation_factor, udp_port, and udp_uses_rtp.
SWGSDRangel::SWGAudioOutputDevice::SWGAudioOutputDevice | ( | QString * | json | ) |
Definition at line 25 of file SWGAudioOutputDevice.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 57 of file SWGAudioOutputDevice.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 147 of file SWGAudioOutputDevice.cpp.
References asJsonObject().
Referenced by SWGSDRangel::SWGInstanceApi::instanceAudioOutputDelete(), WebAPIRequestMapper::instanceAudioOutputParametersService(), and SWGSDRangel::SWGInstanceApi::instanceAudioOutputPatch().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 158 of file SWGAudioOutputDevice.cpp.
References copy_to_udp, default_unregistered, index, is_system_default, m_copy_to_udp_isSet, m_default_unregistered_isSet, m_index_isSet, m_is_system_default_isSet, m_sample_rate_isSet, m_udp_channel_codec_isSet, m_udp_channel_mode_isSet, m_udp_decimation_factor_isSet, m_udp_port_isSet, m_udp_uses_rtp_isSet, name, sample_rate, SWGSDRangel::toJsonValue(), udp_address, udp_channel_codec, udp_channel_mode, udp_decimation_factor, udp_port, and udp_uses_rtp.
Referenced by asJson().
void SWGSDRangel::SWGAudioOutputDevice::cleanup | ( | ) |
Definition at line 90 of file SWGAudioOutputDevice.cpp.
References name, and udp_address.
Referenced by WebAPIRequestMapper::resetAudioOutputDevice(), and ~SWGAudioOutputDevice().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 110 of file SWGAudioOutputDevice.cpp.
References fromJsonObject().
Referenced by SWGAudioOutputDevice().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 119 of file SWGAudioOutputDevice.cpp.
References copy_to_udp, default_unregistered, index, is_system_default, name, sample_rate, SWGSDRangel::setValue(), udp_address, udp_channel_codec, udp_channel_mode, udp_decimation_factor, udp_port, and udp_uses_rtp.
Referenced by fromJson().
qint32 SWGSDRangel::SWGAudioOutputDevice::getCopyToUdp | ( | ) |
Definition at line 251 of file SWGAudioOutputDevice.cpp.
References copy_to_udp.
Referenced by WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIAdapterSrv::instanceAudioOutputPatch().
qint32 SWGSDRangel::SWGAudioOutputDevice::getDefaultUnregistered | ( | ) |
Definition at line 241 of file SWGAudioOutputDevice.cpp.
References default_unregistered.
qint32 SWGSDRangel::SWGAudioOutputDevice::getIndex | ( | ) |
Definition at line 211 of file SWGAudioOutputDevice.cpp.
References index.
Referenced by WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputPatch(), and WebAPIAdapterGUI::instanceAudioOutputPatch().
qint32 SWGSDRangel::SWGAudioOutputDevice::getIsSystemDefault | ( | ) |
Definition at line 231 of file SWGAudioOutputDevice.cpp.
References is_system_default.
QString * SWGSDRangel::SWGAudioOutputDevice::getName | ( | ) |
qint32 SWGSDRangel::SWGAudioOutputDevice::getSampleRate | ( | ) |
Definition at line 221 of file SWGAudioOutputDevice.cpp.
References sample_rate.
Referenced by WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIAdapterSrv::instanceAudioOutputPatch().
QString * SWGSDRangel::SWGAudioOutputDevice::getUdpAddress | ( | ) |
Definition at line 301 of file SWGAudioOutputDevice.cpp.
References udp_address.
Referenced by WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputPatch(), and WebAPIAdapterGUI::instanceAudioOutputPatch().
qint32 SWGSDRangel::SWGAudioOutputDevice::getUdpChannelCodec | ( | ) |
Definition at line 281 of file SWGAudioOutputDevice.cpp.
References udp_channel_codec.
Referenced by WebAPIAdapterGUI::instanceAudioOutputPatch().
qint32 SWGSDRangel::SWGAudioOutputDevice::getUdpChannelMode | ( | ) |
Definition at line 271 of file SWGAudioOutputDevice.cpp.
References udp_channel_mode.
Referenced by WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIAdapterSrv::instanceAudioOutputPatch().
qint32 SWGSDRangel::SWGAudioOutputDevice::getUdpDecimationFactor | ( | ) |
Definition at line 291 of file SWGAudioOutputDevice.cpp.
References udp_decimation_factor.
Referenced by WebAPIAdapterGUI::instanceAudioOutputPatch().
qint32 SWGSDRangel::SWGAudioOutputDevice::getUdpPort | ( | ) |
Definition at line 311 of file SWGAudioOutputDevice.cpp.
References udp_port.
Referenced by WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIAdapterSrv::instanceAudioOutputPatch().
qint32 SWGSDRangel::SWGAudioOutputDevice::getUdpUsesRtp | ( | ) |
Definition at line 261 of file SWGAudioOutputDevice.cpp.
References udp_uses_rtp.
Referenced by WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIAdapterSrv::instanceAudioOutputPatch().
void SWGSDRangel::SWGAudioOutputDevice::init | ( | ) |
Definition at line 62 of file SWGAudioOutputDevice.cpp.
References copy_to_udp, default_unregistered, index, is_system_default, m_copy_to_udp_isSet, m_default_unregistered_isSet, m_index_isSet, m_is_system_default_isSet, m_name_isSet, m_sample_rate_isSet, m_udp_address_isSet, m_udp_channel_codec_isSet, m_udp_channel_mode_isSet, m_udp_decimation_factor_isSet, m_udp_port_isSet, m_udp_uses_rtp_isSet, name, sample_rate, udp_address, udp_channel_codec, udp_channel_mode, udp_decimation_factor, udp_port, and udp_uses_rtp.
Referenced by SWGAudioOutputDevice().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 322 of file SWGAudioOutputDevice.cpp.
References m_copy_to_udp_isSet, m_default_unregistered_isSet, m_index_isSet, m_is_system_default_isSet, m_sample_rate_isSet, m_udp_channel_codec_isSet, m_udp_channel_mode_isSet, m_udp_decimation_factor_isSet, m_udp_port_isSet, m_udp_uses_rtp_isSet, name, and udp_address.
void SWGSDRangel::SWGAudioOutputDevice::setCopyToUdp | ( | qint32 | copy_to_udp | ) |
Definition at line 255 of file SWGAudioOutputDevice.cpp.
References copy_to_udp, and m_copy_to_udp_isSet.
Referenced by WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputPatch(), WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIRequestMapper::validateAudioOutputDevice().
void SWGSDRangel::SWGAudioOutputDevice::setDefaultUnregistered | ( | qint32 | default_unregistered | ) |
Definition at line 245 of file SWGAudioOutputDevice.cpp.
References default_unregistered, and m_default_unregistered_isSet.
void SWGSDRangel::SWGAudioOutputDevice::setIndex | ( | qint32 | index | ) |
Definition at line 215 of file SWGAudioOutputDevice.cpp.
References index, and m_index_isSet.
Referenced by WebAPIRequestMapper::validateAudioOutputDevice().
void SWGSDRangel::SWGAudioOutputDevice::setIsSystemDefault | ( | qint32 | is_system_default | ) |
Definition at line 235 of file SWGAudioOutputDevice.cpp.
References is_system_default, and m_is_system_default_isSet.
void SWGSDRangel::SWGAudioOutputDevice::setName | ( | QString * | name | ) |
Definition at line 205 of file SWGAudioOutputDevice.cpp.
References m_name_isSet, and name.
Referenced by WebAPIRequestMapper::resetAudioOutputDevice().
void SWGSDRangel::SWGAudioOutputDevice::setSampleRate | ( | qint32 | sample_rate | ) |
Definition at line 225 of file SWGAudioOutputDevice.cpp.
References m_sample_rate_isSet, and sample_rate.
Referenced by WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputPatch(), WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIRequestMapper::validateAudioOutputDevice().
void SWGSDRangel::SWGAudioOutputDevice::setUdpAddress | ( | QString * | udp_address | ) |
Definition at line 305 of file SWGAudioOutputDevice.cpp.
References m_udp_address_isSet, and udp_address.
Referenced by WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputPatch(), WebAPIAdapterGUI::instanceAudioOutputPatch(), WebAPIRequestMapper::resetAudioOutputDevice(), and WebAPIRequestMapper::validateAudioOutputDevice().
void SWGSDRangel::SWGAudioOutputDevice::setUdpChannelCodec | ( | qint32 | udp_channel_codec | ) |
Definition at line 285 of file SWGAudioOutputDevice.cpp.
References m_udp_channel_codec_isSet, and udp_channel_codec.
Referenced by WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputPatch(), WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIRequestMapper::validateAudioOutputDevice().
void SWGSDRangel::SWGAudioOutputDevice::setUdpChannelMode | ( | qint32 | udp_channel_mode | ) |
Definition at line 275 of file SWGAudioOutputDevice.cpp.
References m_udp_channel_mode_isSet, and udp_channel_mode.
Referenced by WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputPatch(), WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIRequestMapper::validateAudioOutputDevice().
void SWGSDRangel::SWGAudioOutputDevice::setUdpDecimationFactor | ( | qint32 | udp_decimation_factor | ) |
Definition at line 295 of file SWGAudioOutputDevice.cpp.
References m_udp_decimation_factor_isSet, and udp_decimation_factor.
Referenced by WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputPatch(), WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIRequestMapper::validateAudioOutputDevice().
void SWGSDRangel::SWGAudioOutputDevice::setUdpPort | ( | qint32 | udp_port | ) |
Definition at line 315 of file SWGAudioOutputDevice.cpp.
References m_udp_port_isSet, and udp_port.
Referenced by WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputPatch(), WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIRequestMapper::validateAudioOutputDevice().
void SWGSDRangel::SWGAudioOutputDevice::setUdpUsesRtp | ( | qint32 | udp_uses_rtp | ) |
Definition at line 265 of file SWGAudioOutputDevice.cpp.
References m_udp_uses_rtp_isSet, and udp_uses_rtp.
Referenced by WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputPatch(), WebAPIAdapterGUI::instanceAudioOutputPatch(), and WebAPIRequestMapper::validateAudioOutputDevice().
|
private |
Definition at line 100 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), fromJsonObject(), getCopyToUdp(), init(), setCopyToUdp(), and SWGAudioOutputDevice().
|
private |
Definition at line 97 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), fromJsonObject(), getDefaultUnregistered(), init(), setDefaultUnregistered(), and SWGAudioOutputDevice().
|
private |
Definition at line 88 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), fromJsonObject(), getIndex(), init(), setIndex(), and SWGAudioOutputDevice().
|
private |
Definition at line 94 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), fromJsonObject(), getIsSystemDefault(), init(), setIsSystemDefault(), and SWGAudioOutputDevice().
|
private |
Definition at line 101 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), init(), isSet(), setCopyToUdp(), and SWGAudioOutputDevice().
|
private |
Definition at line 98 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), init(), isSet(), setDefaultUnregistered(), and SWGAudioOutputDevice().
|
private |
Definition at line 89 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), init(), isSet(), setIndex(), and SWGAudioOutputDevice().
|
private |
Definition at line 95 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), init(), isSet(), setIsSystemDefault(), and SWGAudioOutputDevice().
|
private |
Definition at line 86 of file SWGAudioOutputDevice.h.
Referenced by init(), setName(), and SWGAudioOutputDevice().
|
private |
Definition at line 92 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), init(), isSet(), setSampleRate(), and SWGAudioOutputDevice().
|
private |
Definition at line 116 of file SWGAudioOutputDevice.h.
Referenced by init(), setUdpAddress(), and SWGAudioOutputDevice().
|
private |
Definition at line 110 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), init(), isSet(), setUdpChannelCodec(), and SWGAudioOutputDevice().
|
private |
Definition at line 107 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), init(), isSet(), setUdpChannelMode(), and SWGAudioOutputDevice().
|
private |
Definition at line 113 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), init(), isSet(), setUdpDecimationFactor(), and SWGAudioOutputDevice().
|
private |
Definition at line 119 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), init(), isSet(), setUdpPort(), and SWGAudioOutputDevice().
|
private |
Definition at line 104 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), init(), isSet(), setUdpUsesRtp(), and SWGAudioOutputDevice().
|
private |
Definition at line 85 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getName(), init(), isSet(), setName(), and SWGAudioOutputDevice().
|
private |
Definition at line 91 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), fromJsonObject(), getSampleRate(), init(), setSampleRate(), and SWGAudioOutputDevice().
|
private |
Definition at line 115 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getUdpAddress(), init(), isSet(), setUdpAddress(), and SWGAudioOutputDevice().
|
private |
Definition at line 109 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), fromJsonObject(), getUdpChannelCodec(), init(), setUdpChannelCodec(), and SWGAudioOutputDevice().
|
private |
Definition at line 106 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), fromJsonObject(), getUdpChannelMode(), init(), setUdpChannelMode(), and SWGAudioOutputDevice().
|
private |
Definition at line 112 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), fromJsonObject(), getUdpDecimationFactor(), init(), setUdpDecimationFactor(), and SWGAudioOutputDevice().
|
private |
Definition at line 118 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), fromJsonObject(), getUdpPort(), init(), setUdpPort(), and SWGAudioOutputDevice().
|
private |
Definition at line 103 of file SWGAudioOutputDevice.h.
Referenced by asJsonObject(), fromJsonObject(), getUdpUsesRtp(), init(), setUdpUsesRtp(), and SWGAudioOutputDevice().