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.
nullsink.cpp
Go to the documentation of this file.
1 #include "dsp/nullsink.h"
2 #include "dsp/dspcommands.h"
3 #include "util/messagequeue.h"
4 
6 {
7  setObjectName("NullSink");
8 }
9 
11 {
12 }
13 
14 bool NullSink::init(const Message& message)
15 {
16  (void) message;
17  return false;
18 }
19 
20 void NullSink::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly)
21 {
22  (void) begin;
23  (void) end;
24  (void) positiveOnly;
25 }
26 
28 {
29 }
30 
32 {
33 }
34 
35 bool NullSink::handleMessage(const Message& message)
36 {
37  (void) message;
38  return false;
39 }
virtual bool handleMessage(const Message &message)
Processing of a message. Returns true if message has actually been processed.
Definition: nullsink.cpp:35
virtual bool init(const Message &cmd)
Definition: nullsink.cpp:14
NullSink()
Definition: nullsink.cpp:5
virtual ~NullSink()
Definition: nullsink.cpp:10
virtual void feed(const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool positiveOnly)
Definition: nullsink.cpp:20
virtual void start()
Definition: nullsink.cpp:27
virtual void stop()
Definition: nullsink.cpp:31