|
libsdr
0.1.0
A simple SDR library
|
A combine node. More...
#include <combine.hh>
Public Member Functions | |
| Combine (size_t N) | |
| Constructor, N specifies the number of sinks. More... | |
| virtual | ~Combine () |
| Destructor. More... | |
| virtual void | config (const Config &cfg)=0 |
| Needs to be overridden. More... | |
| virtual void | process (std::vector< RingBuffer< Scalar > > &buffers, size_t N)=0 |
| Needs to be overridden. More... | |
Protected Member Functions | |
| void | notifyConfig (size_t idx, const Config &cfg) |
| Unifies the configuration of all sinks. More... | |
| void | notifyData (size_t idx) |
| Determines the minimum amount of data that is available on all ring buffers. More... | |
Protected Attributes | |
| std::vector< RingBuffer< Scalar > > | _buffers |
| The ring buffers of all combine sinks. More... | |
| std::vector< CombineSink< Scalar > * > | _sinks |
| The combine sinks. More... | |
| Config | _config |
| The output configuration. More... | |
Friends | |
| class | CombineSink< Scalar > |
A combine node.
This node allows to combine several streams into one.
|
inline |
Constructor,
N specifies the number of sinks.
|
inlinevirtual |
Destructor.
|
pure virtual |
Needs to be overridden.
Implemented in sdr::Interleave< Scalar >.
|
inlineprotected |
Unifies the configuration of all sinks.
|
inlineprotected |
Determines the minimum amount of data that is available on all ring buffers.
|
pure virtual |
Needs to be overridden.
Implemented in sdr::Interleave< Scalar >.
|
protected |
The ring buffers of all combine sinks.
|
protected |
The output configuration.
|
protected |
The combine sinks.
1.8.9.1