![]() |
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 <basebandsamplesource.h>
Inheritance diagram for BasebandSampleSource:
Collaboration diagram for BasebandSampleSource:Public Member Functions | |
| BasebandSampleSource () | |
| virtual | ~BasebandSampleSource () |
| virtual void | start ()=0 |
| virtual void | stop ()=0 |
| virtual void | pull (Sample &sample)=0 |
| virtual void | pullAudio (int nbSamples) |
| void | feed (SampleSourceFifo *sampleFifo, int nbSamples) |
| SampleSourceFifo & | getSampleSourceFifo () |
| virtual bool | handleMessage (const Message &cmd)=0 |
| Processing of a message. Returns true if message has actually been processed. More... | |
| MessageQueue * | getInputMessageQueue () |
| Get the queue for asynchronous inbound communication. More... | |
| virtual void | setMessageQueueToGUI (MessageQueue *queue) |
| MessageQueue * | getMessageQueueToGUI () |
| void | setDeviceSampleSourceFifo (SampleSourceFifo *deviceSampleFifo) |
Protected Slots | |
| void | handleInputMessages () |
| void | handleWriteToFifo (int nbSamples) |
| void | handleWriteToDeviceFifo (int nbSamples) |
Protected Member Functions | |
| void | handleWriteToFifo (SampleSourceFifo *sampleFifo, int nbSamples) |
Protected Attributes | |
| MessageQueue | m_inputMessageQueue |
| Queue for asynchronous inbound communication. More... | |
| MessageQueue * | m_guiMessageQueue |
| Input message queue to the GUI. More... | |
| SampleSourceFifo | m_sampleFifo |
| Internal FIFO for multi-channel processing. More... | |
| SampleSourceFifo * | m_deviceSampleFifo |
| Reference to the device FIFO for single channel processing. More... | |
Definition at line 30 of file basebandsamplesource.h.
| BasebandSampleSource::BasebandSampleSource | ( | ) |
Definition at line 22 of file basebandsamplesource.cpp.
References handleInputMessages(), handleWriteToFifo(), m_inputMessageQueue, and m_sampleFifo.
Here is the call graph for this function:
|
virtual |
Definition at line 31 of file basebandsamplesource.cpp.
|
inline |
direct feeding of sample source FIFO
Definition at line 42 of file basebandsamplesource.h.
References SampleSourceFifo::bumpIndex(), SampleSourceFifo::getWriteIterator(), and i.
Referenced by ThreadedBasebandSampleSource::feed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Get the queue for asynchronous inbound communication.
Definition at line 59 of file basebandsamplesource.h.
Referenced by AMMod::AMMod(), LocalSourceGUI::applyChannelSettings(), FileSourceGUI::applyChannelSettings(), UpChannelizer::applyConfiguration(), UpChannelizer::applySetting(), LocalSourceGUI::applySettings(), UDPSourceGUI::applySettings(), NFMModGUI::applySettings(), AMModGUI::applySettings(), RemoteSourceGUI::applySettings(), ATVModGUI::applySettings(), WFMModGUI::applySettings(), FreeDVModGUI::applySettings(), FileSourceGUI::applySettings(), SSBModGUI::applySettings(), WFMMod::applySettings(), AMMod::applySettings(), NFMMod::applySettings(), FreeDVMod::applySettings(), SSBMod::applySettings(), FileSourceGUI::configureFileName(), AMModGUI::configureFileName(), FreeDVModGUI::configureFileName(), NFMModGUI::configureFileName(), WFMModGUI::configureFileName(), SSBModGUI::configureFileName(), ATVModGUI::configureImageFileName(), ATVModGUI::configureVideoFileName(), FreeDVMod::FreeDVMod(), UpChannelizer::handleMessage(), UDPSource::handleMessage(), LocalSource::handleMessage(), AMMod::handleMessage(), WFMMod::handleMessage(), NFMMod::handleMessage(), SSBMod::handleMessage(), FreeDVMod::handleMessage(), FileSource::handleMessage(), ATVMod::handleMessage(), NFMMod::NFMMod(), ATVModGUI::on_cameraManualFPS_valueChanged(), ATVModGUI::on_cameraManualFPSEnable_toggled(), ATVModGUI::on_camSelect_currentIndexChanged(), FileSourceGUI::on_navTime_valueChanged(), AMModGUI::on_navTimeSlider_valueChanged(), NFMModGUI::on_navTimeSlider_valueChanged(), FreeDVModGUI::on_navTimeSlider_valueChanged(), WFMModGUI::on_navTimeSlider_valueChanged(), SSBModGUI::on_navTimeSlider_valueChanged(), ATVModGUI::on_navTimeSlider_valueChanged(), FileSourceGUI::on_play_toggled(), FileSourceGUI::on_playLoop_toggled(), UDPSource::resetReadIndex(), UDPSource::setSpectrum(), SSBMod::SSBMod(), RemoteSourceGUI::tick(), FileSourceGUI::tick(), AMModGUI::tick(), FreeDVModGUI::tick(), NFMModGUI::tick(), WFMModGUI::tick(), SSBModGUI::tick(), ATVModGUI::tick(), and WFMMod::WFMMod().
Here is the caller graph for this function:
|
inline |
Definition at line 61 of file basebandsamplesource.h.
Referenced by SSBMod::applyAudioSampleRate(), ATVMod::applyChannelSettings(), FreeDVMod::applyFreeDVMode(), ATVMod::applySettings(), ATVMod::getCameraNumbers(), FileSource::handleEOF(), AMMod::handleMessage(), WFMMod::handleMessage(), NFMMod::handleMessage(), SSBMod::handleMessage(), FreeDVMod::handleMessage(), FileSource::handleMessage(), ATVMod::handleMessage(), WFMMod::openFileStream(), AMMod::openFileStream(), NFMMod::openFileStream(), FreeDVMod::openFileStream(), SSBMod::openFileStream(), FileSource::openFileStream(), ATVMod::openVideo(), ATVMod::pullVideo(), FileSource::start(), and FileSource::stop().
Here is the caller graph for this function:
|
inline |
Definition at line 55 of file basebandsamplesource.h.
|
protectedslot |
Definition at line 35 of file basebandsamplesource.cpp.
References handleMessage(), m_inputMessageQueue, and MessageQueue::pop().
Referenced by BasebandSampleSource().
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtual |
Processing of a message. Returns true if message has actually been processed.
Implemented in ATVMod, FileSource, FreeDVMod, SSBMod, NFMMod, WFMMod, AMMod, RemoteSource, LocalSource, UDPSource, and UpChannelizer.
Referenced by handleInputMessages(), ThreadedBasebandSampleSource::handleSourceMessage(), and DSPDeviceSinkEngine::handleSynchronousMessages().
Here is the caller graph for this function:
|
protectedslot |
Definition at line 53 of file basebandsamplesource.cpp.
References handleWriteToFifo(), and m_deviceSampleFifo.
Referenced by setDeviceSampleSourceFifo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 58 of file basebandsamplesource.cpp.
References SampleSourceFifo::bumpIndex(), SampleSourceFifo::getWriteIterator(), i, pull(), and pullAudio().
Referenced by BasebandSampleSource(), handleWriteToDeviceFifo(), and handleWriteToFifo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedslot |
Definition at line 48 of file basebandsamplesource.cpp.
References handleWriteToFifo(), and m_sampleFifo.
Here is the call graph for this function:
|
pure virtual |
Implemented in ATVMod, FileSource, FreeDVMod, SSBMod, NFMMod, WFMMod, AMMod, RemoteSource, LocalSource, UDPSource, and UpChannelizer.
Referenced by handleWriteToFifo(), ThreadedBasebandSampleSource::pull(), and UpChannelizer::pull().
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in ATVMod, FileSource, FreeDVMod, SSBMod, NFMMod, WFMMod, AMMod, RemoteSource, LocalSource, and UpChannelizer.
Definition at line 39 of file basebandsamplesource.h.
Referenced by handleWriteToFifo().
Here is the caller graph for this function:| void BasebandSampleSource::setDeviceSampleSourceFifo | ( | SampleSourceFifo * | deviceSampleFifo | ) |
Definition at line 72 of file basebandsamplesource.cpp.
References handleWriteToDeviceFifo(), and m_deviceSampleFifo.
Here is the call graph for this function:
|
inlinevirtual |
Definition at line 60 of file basebandsamplesource.h.
Referenced by AMModGUI::AMModGUI(), ATVModGUI::ATVModGUI(), FileSourceGUI::FileSourceGUI(), FreeDVModGUI::FreeDVModGUI(), LocalSourceGUI::LocalSourceGUI(), NFMModGUI::NFMModGUI(), RemoteSourceGUI::RemoteSourceGUI(), SSBModGUI::SSBModGUI(), UDPSourceGUI::UDPSourceGUI(), and WFMModGUI::WFMModGUI().
Here is the caller graph for this function:
|
pure virtual |
Implemented in ATVMod, FileSource, FreeDVMod, SSBMod, NFMMod, WFMMod, AMMod, RemoteSource, LocalSource, UDPSource, and UpChannelizer.
Referenced by DSPDeviceSinkEngine::handleSynchronousMessages(), ThreadedBasebandSampleSource::start(), and UpChannelizer::start().
Here is the caller graph for this function:
|
pure virtual |
Implemented in ATVMod, FileSource, FreeDVMod, SSBMod, NFMMod, WFMMod, AMMod, RemoteSource, LocalSource, UDPSource, and UpChannelizer.
Referenced by DSPDeviceSinkEngine::handleSynchronousMessages(), ThreadedBasebandSampleSource::stop(), and UpChannelizer::stop().
Here is the caller graph for this function:
|
protected |
Reference to the device FIFO for single channel processing.
Definition at line 68 of file basebandsamplesource.h.
Referenced by handleWriteToDeviceFifo(), and setDeviceSampleSourceFifo().
|
protected |
Input message queue to the GUI.
Definition at line 66 of file basebandsamplesource.h.
Referenced by LocalSource::handleMessage(), RemoteSource::handleMessage(), FileSource::handleMessage(), UDPSource::webapiSettingsPutPatch(), LocalSource::webapiSettingsPutPatch(), RemoteSource::webapiSettingsPutPatch(), AMMod::webapiSettingsPutPatch(), WFMMod::webapiSettingsPutPatch(), NFMMod::webapiSettingsPutPatch(), SSBMod::webapiSettingsPutPatch(), FreeDVMod::webapiSettingsPutPatch(), FileSource::webapiSettingsPutPatch(), and ATVMod::webapiSettingsPutPatch().
|
protected |
Queue for asynchronous inbound communication.
Definition at line 65 of file basebandsamplesource.h.
Referenced by AMMod::applyAudioSampleRate(), NFMMod::applyAudioSampleRate(), SSBMod::applyAudioSampleRate(), FreeDVMod::applyFreeDVMode(), BasebandSampleSource(), UDPSource::deserialize(), LocalSource::deserialize(), RemoteSource::deserialize(), AMMod::deserialize(), WFMMod::deserialize(), NFMMod::deserialize(), SSBMod::deserialize(), FreeDVMod::deserialize(), FileSource::deserialize(), ATVMod::deserialize(), handleInputMessages(), RemoteSource::setDataLink(), UDPSource::UDPSource(), UDPSource::webapiSettingsPutPatch(), LocalSource::webapiSettingsPutPatch(), RemoteSource::webapiSettingsPutPatch(), AMMod::webapiSettingsPutPatch(), WFMMod::webapiSettingsPutPatch(), NFMMod::webapiSettingsPutPatch(), SSBMod::webapiSettingsPutPatch(), FreeDVMod::webapiSettingsPutPatch(), FileSource::webapiSettingsPutPatch(), and ATVMod::webapiSettingsPutPatch().
|
protected |
Internal FIFO for multi-channel processing.
Definition at line 67 of file basebandsamplesource.h.
Referenced by BasebandSampleSource(), and handleWriteToFifo().
1.8.13