nidas v1.2.3
|
#include <SamplePool.h>
Public Member Functions | |
virtual int | getNSamplesAlloc () const =0 |
virtual int | getNSamplesOut () const =0 |
virtual int | getNSmallSamplesIn () const =0 |
virtual int | getNMediumSamplesIn () const =0 |
virtual int | getNLargeSamplesIn () const =0 |
virtual void | deletePoolInstance ()=0 |
SamplePool singletons for various types and sizes are created and added to the SamplePools class through their getInstance() method. | |
Protected Member Functions | |
virtual | ~SamplePoolInterface () |
Define a virtual but protected desctructor, so a SamplePoolInterface subclass cannot be deleted through a SamplePoolInterface pointer. | |
|
inlineprotectedvirtual |
Define a virtual but protected desctructor, so a SamplePoolInterface subclass cannot be deleted through a SamplePoolInterface pointer.
The subclasses are all singleton classes and thus their destructors are private.
SamplePool singletons for various types and sizes are created and added to the SamplePools class through their getInstance() method.
Those instances must be deleted through the corresponding deleteInstance(), otherwise the global instance pointer is not reset when a pool singleton is deleted.
Implemented in nidas::core::SamplePool< SampleType >.
Implemented in nidas::core::SamplePool< SampleType >.
Implemented in nidas::core::SamplePool< SampleType >.
Implemented in nidas::core::SamplePool< SampleType >.
Implemented in nidas::core::SamplePool< SampleType >.
Implemented in nidas::core::SamplePool< SampleType >.