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