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.h
Go to the documentation of this file.
1 #ifndef INCLUDE_NULLSINK_H
2 #define INCLUDE_NULLSINK_H
3 
5 #include "export.h"
6 
7 class Message;
8 
10 public:
11 
12  NullSink();
13  virtual ~NullSink();
14 
15  virtual bool init(const Message& cmd);
16  virtual void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly);
17  virtual void start();
18  virtual void stop();
19  virtual bool handleMessage(const Message& message);
20 };
21 
22 #endif // INCLUDE_NULLSINK_H
virtual void feed(const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool positiveOnly)=0
virtual void start()=0
virtual bool handleMessage(const Message &cmd)=0
Processing of a message. Returns true if message has actually been processed.
#define SDRBASE_API
Definition: export.h:40
virtual void stop()=0