![]() |
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 <atvmodsettings.h>
Collaboration diagram for ATVModSettings:Public Member Functions | |
| ATVModSettings () | |
| void | resetToDefaults () |
| void | setChannelMarker (Serializable *channelMarker) |
| QByteArray | serialize () const |
| bool | deserialize (const QByteArray &data) |
Public Attributes | |
| qint64 | m_inputFrequencyOffset |
| offset from baseband center frequency More... | |
| Real | m_rfBandwidth |
| Bandwidth of modulated signal or direct sideband for SSB / vestigial SSB. More... | |
| Real | m_rfOppBandwidth |
| Bandwidth of opposite sideband for vestigial SSB. More... | |
| ATVStd | m_atvStd |
| Standard. More... | |
| int | m_nbLines |
| Number of lines per full frame. More... | |
| int | m_fps |
| Number of frames per second. More... | |
| ATVModInput | m_atvModInput |
| Input source type. More... | |
| Real | m_uniformLevel |
| Percentage between black and white for uniform screen display. More... | |
| ATVModulation | m_atvModulation |
| RF modulation type. More... | |
| bool | m_videoPlayLoop |
| Play video in a loop. More... | |
| bool | m_videoPlay |
| True to play video and false to pause. More... | |
| bool | m_cameraPlay |
| True to play camera video and false to pause. More... | |
| bool | m_channelMute |
| Mute channel baseband output. More... | |
| bool | m_invertedVideo |
| True if video signal is inverted before modulation. More... | |
| float | m_rfScalingFactor |
| Scaling factor from +/-1 to +/-2^15. More... | |
| float | m_fmExcursion |
| FM excursion factor relative to full bandwidth. More... | |
| bool | m_forceDecimator |
| Forces decimator even when channel and source sample rates are equal. More... | |
| bool | m_showOverlayText |
| Show overlay text on image. More... | |
| QString | m_overlayText |
| quint32 | m_rgbColor |
| QString | m_title |
| bool | m_useReverseAPI |
| QString | m_reverseAPIAddress |
| uint16_t | m_reverseAPIPort |
| uint16_t | m_reverseAPIDeviceIndex |
| uint16_t | m_reverseAPIChannelIndex |
| Serializable * | m_channelMarker |
Definition at line 27 of file atvmodsettings.h.
| Enumerator | |
|---|---|
| ATVModInputUniform | |
| ATVModInputHBars | |
| ATVModInputVBars | |
| ATVModInputChessboard | |
| ATVModInputHGradient | |
| ATVModInputVGradient | |
| ATVModInputImage | |
| ATVModInputVideo | |
| ATVModInputCamera | |
Definition at line 39 of file atvmodsettings.h.
| Enumerator | |
|---|---|
| ATVModulationAM | |
| ATVModulationFM | |
| ATVModulationUSB | |
| ATVModulationLSB | |
| ATVModulationVestigialUSB | |
| ATVModulationVestigialLSB | |
Definition at line 52 of file atvmodsettings.h.
| Enumerator | |
|---|---|
| ATVStdPAL625 | |
| ATVStdPAL525 | |
| ATVStd405 | |
| ATVStdShortInterleaved | |
| ATVStdShort | |
| ATVStdHSkip | |
Definition at line 29 of file atvmodsettings.h.
| ATVModSettings::ATVModSettings | ( | ) |
Definition at line 25 of file atvmodsettings.cpp.
References resetToDefaults().
Here is the call graph for this function:| bool ATVModSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 94 of file atvmodsettings.cpp.
References Serializable::deserialize(), SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_atvModInput, m_atvModulation, m_atvStd, m_channelMarker, m_fmExcursion, m_fps, m_inputFrequencyOffset, m_invertedVideo, m_nbLines, m_overlayText, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfBandwidth, m_rfOppBandwidth, m_rfScalingFactor, m_rgbColor, m_title, m_uniformLevel, m_useReverseAPI, SimpleDeserializer::readBlob(), SimpleDeserializer::readBool(), SimpleDeserializer::readReal(), SimpleDeserializer::readS32(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by ATVModGUI::deserialize(), ATVMod::deserialize(), and setChannelMarker().
Here is the call graph for this function:
Here is the caller graph for this function:| void ATVModSettings::resetToDefaults | ( | ) |
Definition at line 31 of file atvmodsettings.cpp.
References ATVModInputHBars, ATVModulationAM, ATVStdPAL625, m_atvModInput, m_atvModulation, m_atvStd, m_cameraPlay, m_channelMute, m_fmExcursion, m_forceDecimator, m_fps, m_inputFrequencyOffset, m_invertedVideo, m_nbLines, m_overlayText, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfBandwidth, m_rfOppBandwidth, m_rfScalingFactor, m_rgbColor, m_showOverlayText, m_title, m_uniformLevel, m_useReverseAPI, m_videoPlay, m_videoPlayLoop, and SDR_TX_SCALEF.
Referenced by ATVModSettings(), ATVModGUI::deserialize(), deserialize(), ATVMod::deserialize(), and ATVModGUI::resetToDefaults().
Here is the caller graph for this function:| QByteArray ATVModSettings::serialize | ( | ) | const |
Definition at line 61 of file atvmodsettings.cpp.
References SimpleSerializer::final(), m_atvModInput, m_atvModulation, m_atvStd, m_channelMarker, m_fmExcursion, m_fps, m_inputFrequencyOffset, m_invertedVideo, m_nbLines, m_overlayText, m_reverseAPIAddress, m_reverseAPIChannelIndex, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_rfBandwidth, m_rfOppBandwidth, m_rfScalingFactor, m_rgbColor, m_title, m_uniformLevel, m_useReverseAPI, Serializable::serialize(), SimpleSerializer::writeBlob(), SimpleSerializer::writeBool(), SimpleSerializer::writeReal(), SimpleSerializer::writeS32(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by ATVModGUI::serialize(), ATVMod::serialize(), and setChannelMarker().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 93 of file atvmodsettings.h.
References deserialize(), and serialize().
Referenced by ATVModGUI::ATVModGUI().
Here is the call graph for this function:
Here is the caller graph for this function:| ATVModInput ATVModSettings::m_atvModInput |
Input source type.
Definition at line 68 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::displaySettings(), ATVModGUI::on_inputSelect_currentIndexChanged(), ATVMod::pullImageLine(), ATVMod::pullVideo(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| ATVModulation ATVModSettings::m_atvModulation |
RF modulation type.
Definition at line 70 of file atvmodsettings.h.
Referenced by ATVMod::applyChannelSettings(), ATVMod::applySettings(), deserialize(), ATVModGUI::displaySettings(), ATVMod::modulateSample(), ATVMod::modulateSSB(), ATVMod::modulateVestigialSSB(), ATVModGUI::on_modulation_currentIndexChanged(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| ATVStd ATVModSettings::m_atvStd |
Standard.
Definition at line 65 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), ATVMod::applyStandard(), deserialize(), ATVModGUI::displaySettings(), ATVModGUI::on_standard_currentIndexChanged(), ATVMod::pullVideo(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| bool ATVModSettings::m_cameraPlay |
True to play camera video and false to pause.
Definition at line 73 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), ATVModGUI::displaySettings(), ATVModGUI::on_playCamera_toggled(), ATVMod::pullVideo(), resetToDefaults(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| Serializable* ATVModSettings::m_channelMarker |
Definition at line 89 of file atvmodsettings.h.
Referenced by deserialize(), and serialize().
| bool ATVModSettings::m_channelMute |
Mute channel baseband output.
Definition at line 74 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), ATVModGUI::displaySettings(), ATVModGUI::on_channelMute_toggled(), ATVMod::pull(), resetToDefaults(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| float ATVModSettings::m_fmExcursion |
FM excursion factor relative to full bandwidth.
Definition at line 77 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::displaySettings(), ATVMod::modulateSample(), ATVModGUI::on_fmExcursion_valueChanged(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| bool ATVModSettings::m_forceDecimator |
Forces decimator even when channel and source sample rates are equal.
Definition at line 78 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), ATVModGUI::displaySettings(), ATVModGUI::on_forceDecimator_toggled(), ATVMod::pull(), resetToDefaults(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| int ATVModSettings::m_fps |
Number of frames per second.
Definition at line 67 of file atvmodsettings.h.
Referenced by ATVMod::applyChannelSettings(), ATVMod::applySettings(), ATVMod::applyStandard(), deserialize(), ATVModGUI::displaySettings(), ATVModGUI::on_fps_currentIndexChanged(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| qint64 ATVModSettings::m_inputFrequencyOffset |
offset from baseband center frequency
Definition at line 62 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), ATVModGUI::channelMarkerChangedByCursor(), deserialize(), ATVModGUI::displaySettings(), ATVMod::getCenterFrequency(), ATVMod::getStreamCenterFrequency(), ATVModGUI::on_deltaFrequency_changed(), ATVModGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), ATVMod::start(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| bool ATVModSettings::m_invertedVideo |
True if video signal is inverted before modulation.
Definition at line 75 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::displaySettings(), ATVMod::modulateSample(), ATVModGUI::on_invertVideo_clicked(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| int ATVModSettings::m_nbLines |
Number of lines per full frame.
Definition at line 66 of file atvmodsettings.h.
Referenced by ATVMod::applyChannelSettings(), ATVMod::applySettings(), ATVMod::applyStandard(), deserialize(), ATVModGUI::displaySettings(), ATVModGUI::on_nbLines_currentIndexChanged(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| QString ATVModSettings::m_overlayText |
Definition at line 80 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::displaySettings(), ATVMod::mixImageAndText(), ATVModGUI::on_overlayText_textEdited(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| QString ATVModSettings::m_reverseAPIAddress |
Definition at line 84 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| uint16_t ATVModSettings::m_reverseAPIChannelIndex |
Definition at line 87 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| uint16_t ATVModSettings::m_reverseAPIDeviceIndex |
Definition at line 86 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| uint16_t ATVModSettings::m_reverseAPIPort |
Definition at line 85 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| Real ATVModSettings::m_rfBandwidth |
Bandwidth of modulated signal or direct sideband for SSB / vestigial SSB.
Definition at line 63 of file atvmodsettings.h.
Referenced by ATVMod::applyChannelSettings(), ATVMod::applySettings(), ATVMod::ATVMod(), deserialize(), ATVModGUI::displaySettings(), ATVModGUI::on_rfBW_valueChanged(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| Real ATVModSettings::m_rfOppBandwidth |
Bandwidth of opposite sideband for vestigial SSB.
Definition at line 64 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::displaySettings(), ATVModGUI::on_rfOppBW_valueChanged(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| float ATVModSettings::m_rfScalingFactor |
Scaling factor from +/-1 to +/-2^15.
Definition at line 76 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::displaySettings(), ATVMod::modulateSample(), ATVModGUI::on_rfScaling_valueChanged(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| quint32 ATVModSettings::m_rgbColor |
Definition at line 81 of file atvmodsettings.h.
Referenced by ATVModGUI::ATVModGUI(), deserialize(), ATVModGUI::displaySettings(), ATVModGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| bool ATVModSettings::m_showOverlayText |
Show overlay text on image.
Definition at line 79 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), ATVModGUI::displaySettings(), ATVModGUI::on_overlayTextShow_toggled(), ATVMod::openImage(), ATVMod::pullVideo(), resetToDefaults(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| QString ATVModSettings::m_title |
Definition at line 82 of file atvmodsettings.h.
Referenced by deserialize(), ATVModGUI::displaySettings(), ATVMod::getTitle(), ATVModGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| Real ATVModSettings::m_uniformLevel |
Percentage between black and white for uniform screen display.
Definition at line 69 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::displaySettings(), ATVMod::mixImageAndText(), ATVModGUI::on_uniformLevel_valueChanged(), ATVMod::pullImageLine(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| bool ATVModSettings::m_useReverseAPI |
Definition at line 83 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), deserialize(), ATVModGUI::onMenuDialogCalled(), resetToDefaults(), serialize(), ATVMod::webapiFormatChannelSettings(), and ATVMod::webapiSettingsPutPatch().
| bool ATVModSettings::m_videoPlay |
True to play video and false to pause.
Definition at line 72 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), ATVModGUI::displaySettings(), ATVModGUI::on_playVideo_toggled(), ATVMod::pullVideo(), resetToDefaults(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
| bool ATVModSettings::m_videoPlayLoop |
Play video in a loop.
Definition at line 71 of file atvmodsettings.h.
Referenced by ATVMod::applySettings(), ATVModGUI::displaySettings(), ATVModGUI::on_playLoop_toggled(), ATVMod::pullVideo(), resetToDefaults(), ATVMod::webapiFormatChannelSettings(), ATVMod::webapiReverseSendSettings(), and ATVMod::webapiSettingsPutPatch().
1.8.13