libsdr  0.1.0
A simple SDR library
Public Member Functions | List of all members
sdr::Sink< Scalar > Class Template Referenceabstract

Typed sink. More...

#include <node.hh>

Inheritance diagram for sdr::Sink< Scalar >:
sdr::SinkBase sdr::FIRFilter< Scalar, FIRBandPassCoeffs > sdr::FIRFilter< Scalar, FIRBandStopCoeffs > sdr::FIRFilter< Scalar, FIRHighPassCoeffs > sdr::FIRFilter< Scalar, FIRLowPassCoeffs > sdr::AGC< Scalar > sdr::ASKDetector< Scalar > sdr::BaseBand< Scalar > sdr::BufferNode< Scalar > sdr::CombineSink< Scalar > sdr::DebugDump< Scalar > sdr::DebugStore< Scalar > sdr::FIRFilter< Scalar, FilterCoeffs > sdr::FMDeemph< Scalar > sdr::Scale< Scalar > sdr::StreamSink< Scalar > sdr::SubSample< Scalar > sdr::WavSink< Scalar >

Public Member Functions

 Sink ()
 Constructor. More...
 
virtual ~Sink ()
 Drestructor. More...
 
virtual void process (const Buffer< Scalar > &buffer, bool allow_overwrite)=0
 Needs to be implemented by any sub-type to process the received data. More...
 
virtual void handleBuffer (const RawBuffer &buffer, bool allow_overwrite)
 Re-implemented from SinkBase. More...
 
- Public Member Functions inherited from sdr::SinkBase
 SinkBase ()
 Constructor. More...
 
virtual ~SinkBase ()
 Destructor. 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

template<class Scalar>
class sdr::Sink< Scalar >

Typed sink.

Constructor & Destructor Documentation

template<class Scalar>
sdr::Sink< Scalar >::Sink ( )
inline

Constructor.

template<class Scalar>
virtual sdr::Sink< Scalar >::~Sink ( )
inlinevirtual

Drestructor.

Member Function Documentation

template<class Scalar>
virtual void sdr::Sink< Scalar >::handleBuffer ( const RawBuffer buffer,
bool  allow_overwrite 
)
inlinevirtual

Re-implemented from SinkBase.

Casts the buffer into the requested type and forwards the call to process.

Implements sdr::SinkBase.

template<class Scalar>
virtual void sdr::Sink< Scalar >::process ( const Buffer< Scalar > &  buffer,
bool  allow_overwrite 
)
pure virtual

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