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