libsdr  0.1.0
A simple SDR library
Public Member Functions | List of all members
sdr::SinkBase Class Referenceabstract

Basic interface of all Sinks. More...

#include <node.hh>

Inheritance diagram for sdr::SinkBase:
sdr::AutoCast< Scalar > sdr::PortSink sdr::Proxy sdr::SignedToUnsigned sdr::Sink< Scalar > sdr::UnsignedToSigned sdr::Sink< int16_t > sdr::Sink< iScalar > sdr::Sink< std::complex< iScalar > > sdr::Sink< std::complex< Scalar > > sdr::Sink< uint8_t >

Public Member Functions

 SinkBase ()
 Constructor. More...
 
virtual ~SinkBase ()
 Destructor. More...
 
virtual void handleBuffer (const RawBuffer &buffer, bool allow_overwrite)=0
 Needs to be implemented by any sub-type to process the received data. More...
 
virtual void config (const Config &src_cfg)=0
 Needs to be implemented by any sub-type to check and perform the configuration of the node. More...
 

Detailed Description

Basic interface of all Sinks.

Usually, sinks are derived from the Sink template.

Constructor & Destructor Documentation

SinkBase::SinkBase ( )

Constructor.

SinkBase::~SinkBase ( )
virtual

Destructor.

Member Function Documentation

virtual void sdr::SinkBase::config ( const Config src_cfg)
pure virtual
virtual void sdr::SinkBase::handleBuffer ( const RawBuffer buffer,
bool  allow_overwrite 
)
pure virtual

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