#include <ReBufferT.hh>
Collaboration diagram for clReBufferT< TReBuffer_t >:

Public Member Functions | |
| clReBufferT () | |
| clReBufferT (const clReBufferT &CopySrc) | |
| clReBufferT (long lNewSize) | |
| clReBufferT (const TReBuffer_t *fpSrcData, long lSrcCount) | |
| ~clReBufferT () | |
| void | Put (const TReBuffer_t *fpSrcData, long lSrcCount) |
| Put data into FIFO. | |
| void | Put (clReBufferT &Src) |
| Put data into fifo from another FIFO. | |
| bool | Get (TReBuffer_t *fpDestData, long lDestCount) |
| Get data from FIFO. | |
| long | GetCount () const |
| Get number of samples in FIFO. | |
| long | Size () const |
| void | SetSize (long lNewCount) |
| Set number of samples in FIFO. | |
| void | Resize (long lNewCount) |
| Set number of samples in FIFO. | |
| void | Clear () |
| Clear FIFO contents and reset buffer size. | |
| clReBufferT & | operator= (const clReBufferT &Src) |
| TReBuffer_t & | operator[] (long lIndex) |
Protected Member Functions | |
| TReBuffer_t * | GetPtr () |
| void | CopyGet (TReBuffer_t *fpDestData, long lDestCount) const |
Private Member Functions | |
| void | CheckSize (long lDataCount) |
Private Attributes | |
| long | lSize |
| long | lPutIndex |
| long | lGetIndex |
| long | lCount |
| clDSPAlloc | Buffer |
It's implemented using dynamically growing circular FIFO buffer. The ring buffer is linearized when linear access is requested.
Definition at line 42 of file ReBufferT.hh.
|
|||||||||
|
Definition at line 119 of file ReBufferT.hh. |
|
||||||||||
|
Definition at line 126 of file ReBufferT.hh. |
|
||||||||||
|
Definition at line 134 of file ReBufferT.hh. |
|
||||||||||||||||
|
Definition at line 142 of file ReBufferT.hh. |
|
|||||||||
|
Definition at line 150 of file ReBufferT.hh. |
|
||||||||||
|
Definition at line 50 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::Put(), clReBufferT< TDSPVector_t >::Resize(), and clReBufferT< TDSPVector_t >::SetSize(). |
|
|||||||||
|
Definition at line 88 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::Put(). |
|
||||||||||||||||
|
Definition at line 99 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::operator=(). |
|
||||||||||||||||
|
Put data into FIFO.
Definition at line 158 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::clReBufferT(), clReBufferT< TDSPVector_t >::GetPtr(), and clReBufferT< TDSPVector_t >::Put(). |
|
||||||||||
|
Put data into fifo from another FIFO.
Definition at line 186 of file ReBufferT.hh. |
|
||||||||||||||||
|
Get data from FIFO. Returns false if there's not enough samples in FIFO to fill requested buffer.
Definition at line 199 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::GetPtr(). |
|
|||||||||
|
Get number of samples in FIFO.
Definition at line 228 of file ReBufferT.hh. |
|
|||||||||
|
Definition at line 232 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::operator=(), and clReBufferT< TDSPVector_t >::Put(). |
|
||||||||||
|
Set number of samples in FIFO.
Definition at line 241 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::clReBufferT(), and clReBufferT< TDSPVector_t >::operator=(). |
|
||||||||||
|
Set number of samples in FIFO.
Definition at line 253 of file ReBufferT.hh. |
|
|||||||||
|
Clear FIFO contents and reset buffer size.
Definition at line 263 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::GetPtr(), and clReBufferT< TDSPVector_t >::SetSize(). |
|
||||||||||
|
Definition at line 271 of file ReBufferT.hh. |
|
||||||||||
|
Definition at line 279 of file ReBufferT.hh. |
|
|||||
|
Definition at line 44 of file ReBufferT.hh. |
|
|||||
|
Definition at line 45 of file ReBufferT.hh. |
|
|||||
|
Definition at line 46 of file ReBufferT.hh. |
|
|||||
|
Definition at line 47 of file ReBufferT.hh. |
|
|||||
|
Definition at line 48 of file ReBufferT.hh. |
1.3.6