libsdr
0.1.0
A simple SDR library
|
Serializes the incomming buffers as raw data. More...
#include <utils.hh>
Public Member Functions | |
StreamSink (std::ostream &stream) | |
Constructor. More... | |
virtual void | config (const Config &src_cfg) |
Configures the raw sink. More... | |
virtual void | process (const Buffer< Scalar > &buffer, bool allow_overwrite) |
Dumps the buffer into the stream as raw data. 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 |
The output stream. More... | |
Serializes the incomming buffers as raw data.
|
inline |
Constructor.
|
inlinevirtual |
Configures the raw sink.
Implements sdr::SinkBase.
|
inlinevirtual |
Dumps the buffer into the stream as raw data.
Implements sdr::Sink< Scalar >.
|
protected |
The output stream.