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.
Public Member Functions | List of all members
NullSink Class Reference

#include <nullsink.h>

+ Inheritance diagram for NullSink:
+ Collaboration diagram for NullSink:

Public Member Functions

 NullSink ()
 
virtual ~NullSink ()
 
virtual bool init (const Message &cmd)
 
virtual void feed (const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool positiveOnly)
 
virtual void start ()
 
virtual void stop ()
 
virtual bool handleMessage (const Message &message)
 Processing of a message. Returns true if message has actually been processed. More...
 
- Public Member Functions inherited from BasebandSampleSink
 BasebandSampleSink ()
 
virtual ~BasebandSampleSink ()
 
MessageQueuegetInputMessageQueue ()
 Get the queue for asynchronous inbound communication. More...
 
virtual void setMessageQueueToGUI (MessageQueue *queue)
 
MessageQueuegetMessageQueueToGUI ()
 

Additional Inherited Members

- Protected Slots inherited from BasebandSampleSink
void handleInputMessages ()
 
- Protected Attributes inherited from BasebandSampleSink
MessageQueue m_inputMessageQueue
 Queue for asynchronous inbound communication. More...
 
MessageQueuem_guiMessageQueue
 Input message queue to the GUI. More...
 

Detailed Description

Definition at line 9 of file nullsink.h.

Constructor & Destructor Documentation

◆ NullSink()

NullSink::NullSink ( )

Definition at line 5 of file nullsink.cpp.

6 {
7  setObjectName("NullSink");
8 }

◆ ~NullSink()

NullSink::~NullSink ( )
virtual

Definition at line 10 of file nullsink.cpp.

11 {
12 }

Member Function Documentation

◆ feed()

void NullSink::feed ( const SampleVector::const_iterator &  begin,
const SampleVector::const_iterator &  end,
bool  positiveOnly 
)
virtual

Implements BasebandSampleSink.

Definition at line 20 of file nullsink.cpp.

21 {
22  (void) begin;
23  (void) end;
24  (void) positiveOnly;
25 }

◆ handleMessage()

bool NullSink::handleMessage ( const Message cmd)
virtual

Processing of a message. Returns true if message has actually been processed.

Implements BasebandSampleSink.

Definition at line 35 of file nullsink.cpp.

36 {
37  (void) message;
38  return false;
39 }

◆ init()

bool NullSink::init ( const Message cmd)
virtual

Definition at line 14 of file nullsink.cpp.

15 {
16  (void) message;
17  return false;
18 }

◆ start()

void NullSink::start ( )
virtual

Implements BasebandSampleSink.

Definition at line 27 of file nullsink.cpp.

28 {
29 }

◆ stop()

void NullSink::stop ( )
virtual

Implements BasebandSampleSink.

Definition at line 31 of file nullsink.cpp.

32 {
33 }

The documentation for this class was generated from the following files: