2015-05-10 17:21:46 +00:00
|
|
|
#ifndef INCLUDE_NULLSINK_H
|
|
|
|
#define INCLUDE_NULLSINK_H
|
|
|
|
|
2016-10-02 20:29:04 +00:00
|
|
|
#include <dsp/basebandsamplesink.h>
|
2018-03-20 12:49:21 +00:00
|
|
|
#include "export.h"
|
2015-05-10 17:21:46 +00:00
|
|
|
|
2015-08-14 03:00:28 +00:00
|
|
|
class Message;
|
2015-05-10 17:21:46 +00:00
|
|
|
|
2018-03-03 19:23:38 +00:00
|
|
|
class SDRBASE_API NullSink : public BasebandSampleSink {
|
2015-05-10 17:21:46 +00:00
|
|
|
public:
|
|
|
|
|
|
|
|
NullSink();
|
2015-08-14 03:00:28 +00:00
|
|
|
virtual ~NullSink();
|
2015-05-10 17:21:46 +00:00
|
|
|
|
2015-08-14 03:00:28 +00:00
|
|
|
virtual bool init(const Message& cmd);
|
2018-03-03 09:06:47 +00:00
|
|
|
virtual void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly);
|
2015-08-14 03:00:28 +00:00
|
|
|
virtual void start();
|
|
|
|
virtual void stop();
|
|
|
|
virtual bool handleMessage(const Message& message);
|
2015-05-10 17:21:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_NULLSINK_H
|