|
libsdr
0.1.0
A simple SDR library
|
Dumps the received uin8_t byte-stream as (ASCII) text. More...
#include <utils.hh>
Public Member Functions | |
| TextDump (std::ostream &stream=std::cerr) | |
| Constructor. More... | |
| virtual void | config (const Config &src_cfg) |
| Configures the sink. More... | |
| virtual void | process (const Buffer< uint8_t > &buffer, bool allow_overwrite) |
| Processes the input stream. More... | |
Public Member Functions inherited from sdr::Sink< uint8_t > | |
| 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... | |
Dumps the received uin8_t byte-stream as (ASCII) text.
| TextDump::TextDump | ( | std::ostream & | stream = std::cerr | ) |
Constructor.
stream specifies the ouput stream.
|
virtual |
Configures the sink.
Implements sdr::SinkBase.
|
virtual |
Processes the input stream.
Implements sdr::Sink< uint8_t >.
|
protected |
The output stream.
1.8.9.1