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.
sdrbase
dsp
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
5
NullSink::NullSink
()
6
{
7
setObjectName(
"NullSink"
);
8
}
9
10
NullSink::~NullSink
()
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
27
void
NullSink::start
()
28
{
29
}
30
31
void
NullSink::stop
()
32
{
33
}
34
35
bool
NullSink::handleMessage
(
const
Message
& message)
36
{
37
(void) message;
38
return
false
;
39
}
NullSink::handleMessage
virtual bool handleMessage(const Message &message)
Processing of a message. Returns true if message has actually been processed.
Definition:
nullsink.cpp:35
Message
Definition:
message.h:25
nullsink.h
dspcommands.h
NullSink::init
virtual bool init(const Message &cmd)
Definition:
nullsink.cpp:14
messagequeue.h
NullSink::NullSink
NullSink()
Definition:
nullsink.cpp:5
NullSink::~NullSink
virtual ~NullSink()
Definition:
nullsink.cpp:10
NullSink::feed
virtual void feed(const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool positiveOnly)
Definition:
nullsink.cpp:20
NullSink::start
virtual void start()
Definition:
nullsink.cpp:27
NullSink::stop
virtual void stop()
Definition:
nullsink.cpp:31
Generated on Fri Aug 2 2019 17:56:33 for SDRAngel by
1.8.13