libsdr  0.1.0
A simple SDR library
Public Member Functions | Protected Attributes | List of all members
sdr::DebugDump< Scalar > Class Template Reference

Dumps buffers in a human readable form. More...

#include <utils.hh>

Inheritance diagram for sdr::DebugDump< Scalar >:
sdr::Sink< Scalar > sdr::SinkBase

Public Member Functions

 DebugDump (std::ostream &stream=std::cerr)
 Constructor. More...
 
virtual ~DebugDump ()
 Destructor. More...
 
virtual void config (const Config &src_cfg)
 Configures the dump-node. More...
 
virtual void process (const Buffer< Scalar > &buffer, bool allow_overwrite)
 Dumps the received buffer. More...
 
- Public Member Functions inherited from sdr::Sink< Scalar >
 Sink ()
 Constructor. More...
 
virtual ~Sink ()
 Drestructor. 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...
 

Protected Attributes

std::ostream & _stream
 A reference to the output stream. More...
 

Detailed Description

template<class Scalar>
class sdr::DebugDump< Scalar >

Dumps buffers in a human readable form.

Constructor & Destructor Documentation

template<class Scalar >
sdr::DebugDump< Scalar >::DebugDump ( std::ostream &  stream = std::cerr)
inline

Constructor.

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

Destructor.

Member Function Documentation

template<class Scalar >
virtual void sdr::DebugDump< Scalar >::config ( const Config src_cfg)
inlinevirtual

Configures the dump-node.

Implements sdr::SinkBase.

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

Dumps the received buffer.

Implements sdr::Sink< Scalar >.

Member Data Documentation

template<class Scalar >
std::ostream& sdr::DebugDump< Scalar >::_stream
protected

A reference to the output stream.


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