nidas v1.2.3
Public Member Functions | Protected Member Functions | List of all members
nidas::core::SamplePoolInterface Class Referenceabstract

#include <SamplePool.h>

Inheritance diagram for nidas::core::SamplePoolInterface:
Inheritance graph
[legend]

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.
 

Constructor & Destructor Documentation

◆ ~SamplePoolInterface()

virtual nidas::core::SamplePoolInterface::~SamplePoolInterface ( )
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.

Member Function Documentation

◆ deletePoolInstance()

virtual void nidas::core::SamplePoolInterface::deletePoolInstance ( )
pure virtual

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 >.

◆ getNLargeSamplesIn()

virtual int nidas::core::SamplePoolInterface::getNLargeSamplesIn ( ) const
pure virtual

◆ getNMediumSamplesIn()

virtual int nidas::core::SamplePoolInterface::getNMediumSamplesIn ( ) const
pure virtual

◆ getNSamplesAlloc()

virtual int nidas::core::SamplePoolInterface::getNSamplesAlloc ( ) const
pure virtual

◆ getNSamplesOut()

virtual int nidas::core::SamplePoolInterface::getNSamplesOut ( ) const
pure virtual

◆ getNSmallSamplesIn()

virtual int nidas::core::SamplePoolInterface::getNSmallSamplesIn ( ) const
pure virtual

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