![]()  | 
  
    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 <threadedbasebandsamplesource.h>
Inherits QObject.
 Collaboration diagram for ThreadedBasebandSampleSource:Public Member Functions | |
| ThreadedBasebandSampleSource (BasebandSampleSource *sampleSource, QObject *parent=0) | |
| ~ThreadedBasebandSampleSource () | |
| const BasebandSampleSource * | getSource () const | 
| void | start () | 
| this thread start()  More... | |
| void | stop () | 
| this thread exit() and wait()  More... | |
| bool | handleSourceMessage (const Message &cmd) | 
| Send message to source synchronously.  More... | |
| void | pull (Sample &sample) | 
| Pull one sample from source.  More... | |
| void | pullAudio (int nbSamples) | 
| void | feed (SampleSourceFifo *sampleFifo, int nbSamples) | 
| SampleSourceFifo & | getSampleSourceFifo () | 
| void | setDeviceSampleSourceFifo (SampleSourceFifo *deviceSampleFifo) | 
| QString | getSampleSourceObjectName () const | 
Protected Attributes | |
| QThread * | m_thread | 
| The thead object.  More... | |
| BasebandSampleSource * | m_basebandSampleSource | 
This class is a wrapper for BasebandSampleSource that runs the BasebandSampleSource object in its own thread
Definition at line 34 of file threadedbasebandsamplesource.h.
| ThreadedBasebandSampleSource::ThreadedBasebandSampleSource | ( | BasebandSampleSource * | sampleSource, | 
| QObject * | parent = 0  | 
        ||
| ) | 
Definition at line 24 of file threadedbasebandsamplesource.cpp.
References m_basebandSampleSource, and m_thread.
| ThreadedBasebandSampleSource::~ThreadedBasebandSampleSource | ( | ) | 
Definition at line 38 of file threadedbasebandsamplesource.cpp.
References m_thread, and stop().
 Here is the call graph for this function:| void ThreadedBasebandSampleSource::feed | ( | SampleSourceFifo * | sampleFifo, | 
| int | nbSamples | ||
| ) | 
direct feeding of sample source FIFO
Definition at line 67 of file threadedbasebandsamplesource.cpp.
References BasebandSampleSource::feed(), and m_basebandSampleSource.
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 54 of file threadedbasebandsamplesource.h.
| QString ThreadedBasebandSampleSource::getSampleSourceObjectName | ( | ) | const | 
Definition at line 78 of file threadedbasebandsamplesource.cpp.
References m_basebandSampleSource.
      
  | 
  inline | 
Definition at line 41 of file threadedbasebandsamplesource.h.
| bool ThreadedBasebandSampleSource::handleSourceMessage | ( | const Message & | cmd | ) | 
Send message to source synchronously.
Definition at line 73 of file threadedbasebandsamplesource.cpp.
References BasebandSampleSource::handleMessage(), and m_basebandSampleSource.
Referenced by DSPDeviceSinkEngine::handleSynchronousMessages(), and DSPDeviceMIMOEngine::handleSynchronousMessages().
 Here is the call graph for this function:
 Here is the caller graph for this function:| void ThreadedBasebandSampleSource::pull | ( | Sample & | sample | ) | 
Pull one sample from source.
Definition at line 62 of file threadedbasebandsamplesource.cpp.
References m_basebandSampleSource, and BasebandSampleSource::pull().
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 48 of file threadedbasebandsamplesource.h.
      
  | 
  inline | 
Definition at line 55 of file threadedbasebandsamplesource.h.
| void ThreadedBasebandSampleSource::start | ( | ) | 
this thread start()
Definition at line 47 of file threadedbasebandsamplesource.cpp.
References m_basebandSampleSource, m_thread, and BasebandSampleSource::start().
Referenced by DSPDeviceSinkEngine::handleSynchronousMessages(), and DSPDeviceMIMOEngine::handleSynchronousMessages().
 Here is the call graph for this function:
 Here is the caller graph for this function:| void ThreadedBasebandSampleSource::stop | ( | ) | 
this thread exit() and wait()
Definition at line 54 of file threadedbasebandsamplesource.cpp.
References m_basebandSampleSource, m_thread, and BasebandSampleSource::stop().
Referenced by DSPDeviceSinkEngine::handleSynchronousMessages(), DSPDeviceMIMOEngine::handleSynchronousMessages(), and ~ThreadedBasebandSampleSource().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 61 of file threadedbasebandsamplesource.h.
Referenced by feed(), getSampleSourceObjectName(), handleSourceMessage(), pull(), start(), stop(), and ThreadedBasebandSampleSource().
      
  | 
  protected | 
The thead object.
Definition at line 60 of file threadedbasebandsamplesource.h.
Referenced by start(), stop(), ThreadedBasebandSampleSource(), and ~ThreadedBasebandSampleSource().
 1.8.13