#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 54 of file ReBufferT.hh.
|
|||||||||
|
Definition at line 131 of file ReBufferT.hh. |
|
||||||||||
|
Definition at line 138 of file ReBufferT.hh. |
|
||||||||||
|
Definition at line 146 of file ReBufferT.hh. |
|
||||||||||||||||
|
Definition at line 154 of file ReBufferT.hh. |
|
|||||||||
|
Definition at line 162 of file ReBufferT.hh. |
|
||||||||||
|
Definition at line 62 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::Put(), clReBufferT< TDSPVector_t >::Resize(), and clReBufferT< TDSPVector_t >::SetSize(). |
|
|||||||||
|
Reimplemented in clDSPVector< TDSPVector_t >. Definition at line 100 of file ReBufferT.hh. Referenced by clDSPVector< TDSPVector_t >::GetPtr(), and clReBufferT< TDSPVector_t >::Put(). |
|
||||||||||||||||
|
Definition at line 111 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::operator=(). |
|
||||||||||||||||
|
Put data into FIFO.
Definition at line 170 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 198 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 211 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::GetPtr(). |
|
|||||||||
|
Get number of samples in FIFO.
Definition at line 240 of file ReBufferT.hh. |
|
|||||||||
|
Definition at line 244 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::operator=(), clReBufferT< TDSPVector_t >::Put(), and clDSPVector< TDSPVector_t >::Size(). |
|
||||||||||
|
Set number of samples in FIFO.
Reimplemented in clDSPVector< TDSPVector_t >. Definition at line 253 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::clReBufferT(), clReBufferT< TDSPVector_t >::operator=(), and clDSPVector< TDSPVector_t >::SetSize(). |
|
||||||||||
|
Set number of samples in FIFO.
Definition at line 265 of file ReBufferT.hh. |
|
|||||||||
|
Clear FIFO contents and reset buffer size.
Definition at line 275 of file ReBufferT.hh. Referenced by clReBufferT< TDSPVector_t >::GetPtr(), and clReBufferT< TDSPVector_t >::SetSize(). |
|
||||||||||
|
Definition at line 283 of file ReBufferT.hh. |
|
||||||||||
|
Definition at line 291 of file ReBufferT.hh. |
|
|||||
|
Definition at line 56 of file ReBufferT.hh. |
|
|||||
|
Definition at line 57 of file ReBufferT.hh. |
|
|||||
|
Definition at line 58 of file ReBufferT.hh. |
|
|||||
|
Definition at line 59 of file ReBufferT.hh. |
|
|||||
|
Definition at line 60 of file ReBufferT.hh. |
1.3.6