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>
|
2015-05-10 13:21:46 -04:00
|
|
|
#include "util/export.h"
|
|
|
|
|
2015-08-13 23:00:28 -04:00
|
|
|
class Message;
|
2015-05-10 13:21:46 -04:00
|
|
|
|
2016-10-02 16:29:04 -04:00
|
|
|
class SDRANGEL_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);
|
|
|
|
virtual void feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly);
|
|
|
|
virtual void start();
|
|
|
|
virtual void stop();
|
|
|
|
virtual bool handleMessage(const Message& message);
|
2015-05-10 13:21:46 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_NULLSINK_H
|