![]() |
SoDaRadio-12.2.0-cut_dependencies:6c82803
|
The Buffer Class. More...
#include <SoDaBase.hxx>
Public Member Functions | |
| unsigned int | size () |
| bool | copy (const std::shared_ptr< Buf< BaseT > > &src) |
| bool | setSize (size_t size) |
| set the length of the buffer (in number of complex floats.) | |
| std::vector< BaseT > & | getBuf () |
| BaseT & | operator[] (size_t index) |
Protected Member Functions | |
| Buf (unsigned int size) | |
| constructor: Allocate a complex/real buffer of complex data values | |
Protected Attributes | |
| std::vector< BaseT > | buf |
The Buffer Class.
This is used to carry blocks of complex or real single precision floating point samples on the message ring. This is a baseclass and should never appear on its own.
Definition at line 248 of file SoDaBase.hxx.
|
inlineprotected |
constructor: Allocate a complex/real buffer of complex data values
| size | the maximum number of single presion complex values the buffer can hold. |
Definition at line 255 of file SoDaBase.hxx.
Referenced by copy().
|
inline |
Definition at line 263 of file SoDaBase.hxx.
|
inline |
Definition at line 277 of file SoDaBase.hxx.
References buf.
|
inline |
Definition at line 281 of file SoDaBase.hxx.
References buf.
|
inline |
set the length of the buffer (in number of complex floats.)
| size | new length |
Definition at line 272 of file SoDaBase.hxx.
|
inline |
|
protected |
Definition at line 292 of file SoDaBase.hxx.
Referenced by Buf(), copy(), getBuf(), operator[](), setSize(), and size().