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 <filesinksettings.h>
Public Member Functions | |
FileSinkSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
quint64 | m_centerFrequency |
quint64 | m_sampleRate |
quint32 | m_log2Interp |
Definition at line 23 of file filesinksettings.h.
FileSinkSettings::FileSinkSettings | ( | ) |
Definition at line 21 of file filesinksettings.cpp.
References resetToDefaults().
bool FileSinkSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 43 of file filesinksettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_log2Interp, m_sampleRate, SimpleDeserializer::readU32(), SimpleDeserializer::readU64(), and resetToDefaults().
Referenced by FileSinkGui::deserialize(), and FileSinkOutput::deserialize().
void FileSinkSettings::resetToDefaults | ( | ) |
Definition at line 26 of file filesinksettings.cpp.
References m_centerFrequency, m_log2Interp, and m_sampleRate.
Referenced by deserialize(), FileSinkOutput::deserialize(), FileSinkSettings(), and FileSinkGui::resetToDefaults().
QByteArray FileSinkSettings::serialize | ( | ) | const |
Definition at line 33 of file filesinksettings.cpp.
References SimpleSerializer::final(), m_log2Interp, m_sampleRate, SimpleSerializer::writeU32(), and SimpleSerializer::writeU64().
Referenced by FileSinkGui::serialize(), and FileSinkOutput::serialize().
quint64 FileSinkSettings::m_centerFrequency |
Definition at line 24 of file filesinksettings.h.
Referenced by FileSinkOutput::applySettings(), FileSinkGui::displaySettings(), FileSinkGui::getCenterFrequency(), FileSinkOutput::getCenterFrequency(), FileSinkGui::on_centerFrequency_changed(), FileSinkOutput::openFileStream(), resetToDefaults(), FileSinkGui::setCenterFrequency(), and FileSinkOutput::setCenterFrequency().
quint32 FileSinkSettings::m_log2Interp |
Definition at line 26 of file filesinksettings.h.
Referenced by FileSinkOutput::applySettings(), deserialize(), FileSinkGui::on_interp_currentIndexChanged(), FileSinkOutput::openFileStream(), resetToDefaults(), serialize(), FileSinkOutput::start(), and FileSinkGui::updateSampleRateAndFrequency().
quint64 FileSinkSettings::m_sampleRate |
Definition at line 25 of file filesinksettings.h.
Referenced by FileSinkOutput::applySettings(), deserialize(), FileSinkGui::displaySettings(), FileSinkOutput::getSampleRate(), FileSinkGui::on_sampleRate_changed(), FileSinkOutput::openFileStream(), resetToDefaults(), serialize(), FileSinkOutput::start(), and FileSinkGui::updateWithStreamTime().