commonlib
ArrayBufferSource< T > Class Template Reference

Array source with internal data. More...

#include <array_buffer.h>

Inheritance diagram for ArrayBufferSource< T >:
ArrayBufferSourceDesc< T > BaseArrayDescImpl< T, IDirectArraySourceBuffer< T > > IDirectArraySourceBuffer< T > ISourceBuffer< T >

Public Member Functions

 ArrayBufferSource (size_t capacity)
 
- Public Member Functions inherited from ArrayBufferSourceDesc< T >
 ArrayBufferSourceDesc (T *buffer, size_t capacity)
 
size_t getReadPos () override
 Function returns current read position. More...
 
void incrementReadPosition (size_t pos) override
 Function increments read position for N samples. More...
 
size_t getSize () override
 Function returns current buffer size in samples. More...
 
- Public Member Functions inherited from BaseArrayDescImpl< T, IDirectArraySourceBuffer< T > >
 BaseArrayDescImpl (T *buffer, size_t capacity)
 
std::recursive_mutex & getLock () override
 
T * getData () const override
 
size_t getCapacity () const override
 
- Public Member Functions inherited from IDirectArraySourceBuffer< T >
size_t readSamples (T *samples, size_t samplesCount, bool incrementPosition=true) override
 Function reads the samples from buffer. More...
 
virtual size_t readSamplesAt (T *samples, size_t samplesCount, bool incrementPosition=true, size_t readOffset=0)
 Function reads the samples from buffer. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IDirectArraySourceBuffer< T >
virtual size_t read (T *samples, size_t samplesCount, size_t pos)
 Implements read from buffer. More...
 
virtual size_t read (T *samples, size_t samplesCount)
 Function read from buffer from current location. More...
 
- Protected Attributes inherited from ArrayBufferSourceDesc< T >
size_t readPos
 
size_t size
 

Detailed Description

template<typename T>
class ArrayBufferSource< T >

Array source with internal data.


The documentation for this class was generated from the following file: