vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
cPool< T > Class Template Reference

#include <pool.h>

Public Member Functions

 cPool (size_t size)
 

Protected Attributes

std::vector< std::unique_ptr< T > > buffer
 
size_t currentIndex = 0
 

Detailed Description

template<typename T>
class cPool< T >

Definition at line 25 of file pool.h.

Constructor & Destructor Documentation

◆ cPool()

template<typename T >
cPool< T >::cPool ( size_t  size)
inline

Definition at line 31 of file pool.h.

References cPool< T >::buffer.

Member Data Documentation

◆ buffer

template<typename T >
std::vector<std::unique_ptr<T> > cPool< T >::buffer
protected

Definition at line 27 of file pool.h.

Referenced by cPool< T >::cPool().

◆ currentIndex

template<typename T >
size_t cPool< T >::currentIndex = 0
protected

Definition at line 28 of file pool.h.


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