libsdr
0.1.0
A simple SDR library
|
Keeps a copy of the last buffer received. More...
#include <utils.hh>
Public Member Functions | |
DebugStore () | |
Constrctor. More... | |
virtual void | config (const Config &src_cfg) |
Configures the node. More... | |
virtual void | process (const Buffer< Scalar > &buffer, bool allow_overwrite) |
Stores the given buffer. More... | |
const Buffer< Scalar > & | buffer () const |
Retunrs a reference to the last received buffer. More... | |
void | clear () |
Clears the 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... | |
Public Attributes | |
Buffer< Scalar > | _buffer |
A pre-allocated buffer, that will hold the last data received. More... | |
Buffer< Scalar > | _view |
A view to the last data received. More... | |
Keeps a copy of the last buffer received.
|
inline |
Constrctor.
|
inline |
Retunrs a reference to the last received buffer.
|
inline |
Clears the buffer.
|
inlinevirtual |
Configures the node.
Implements sdr::SinkBase.
|
inlinevirtual |
Stores the given buffer.
Implements sdr::Sink< Scalar >.
Buffer<Scalar> sdr::DebugStore< Scalar >::_buffer |
A pre-allocated buffer, that will hold the last data received.
Buffer<Scalar> sdr::DebugStore< Scalar >::_view |
A view to the last data received.