25 m_basebandSampleSource(sampleSource)
30 qDebug() <<
"ThreadedBasebandSampleSource::ThreadedBasebandSampleSource: " << name;
35 qDebug() <<
"ThreadedBasebandSampleSource::ThreadedBasebandSampleSource: thread: " << thread() <<
" m_thread: " <<
m_thread;
49 qDebug() <<
"ThreadedBasebandSampleSource::start";
56 qDebug() <<
"ThreadedBasebandSampleSource::stop";
BasebandSampleSource * m_basebandSampleSource
virtual bool handleMessage(const Message &cmd)=0
Processing of a message. Returns true if message has actually been processed.
QString getSampleSourceObjectName() const
ThreadedBasebandSampleSource(BasebandSampleSource *sampleSource, QObject *parent=0)
virtual void pull(Sample &sample)=0
void feed(SampleSourceFifo *sampleFifo, int nbSamples)
void stop()
this thread exit() and wait()
QThread * m_thread
The thead object.
void pull(Sample &sample)
Pull one sample from source.
void feed(SampleSourceFifo *sampleFifo, int nbSamples)
void start()
this thread start()
bool handleSourceMessage(const Message &cmd)
Send message to source synchronously.
~ThreadedBasebandSampleSource()