libsdr
0.1.0
A simple SDR library
|
A single sink of a Combine node. More...
#include <combine.hh>
Public Member Functions | |
CombineSink (Combine< Scalar > *combine, size_t index, RingBuffer< Scalar > &buffer) | |
Constructor. More... | |
virtual | ~CombineSink () |
Destructor. More... | |
virtual void | config (const Config &src_cfg) |
Configures the sink. More... | |
virtual void | process (const Buffer< Scalar > &buffer, bool allow_overwrite) |
Handles the given 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 | |
size_t | _index |
The index of the sink within the combine node. More... | |
Combine< Scalar > * | _parent |
A reference to the combine node. More... | |
RingBuffer< Scalar > & | _buffer |
The input ring-buffer. More... | |
A single sink of a Combine node.
Do not use this node explicitly, consider using Combine
.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Configures the sink.
Implements sdr::SinkBase.
|
inlinevirtual |
Handles the given buffer.
Implements sdr::Sink< Scalar >.
|
protected |
The input ring-buffer.
|
protected |
The index of the sink within the combine node.
|
protected |
A reference to the combine node.