libsdr
0.1.0
A simple SDR library
|
Trivial node to dump a bit-stream to a std::ostream. More...
#include <fsk.hh>
Public Member Functions | |
BitDump (std::ostream &stream) | |
Constructor. More... | |
void | config (const Config &src_cfg) |
Needs to be implemented by any sub-type to check and perform the configuration of the node. More... | |
void | process (const Buffer< uint8_t > &buffer, bool allow_overwrite) |
Needs to be implemented by any sub-type to process the received data. 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... | |
Trivial node to dump a bit-stream to a std::ostream.
BitDump::BitDump | ( | std::ostream & | stream | ) |
Constructor.
stream | Specifies the output stream. |
|
virtual |
Needs to be implemented by any sub-type to check and perform the configuration of the node.
Implements sdr::SinkBase.
|
virtual |
Needs to be implemented by any sub-type to process the received data.
Implements sdr::Sink< uint8_t >.
|
protected |
The output stream.