BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlma::Deleter< TYPE > Class Template Referenceabstract

#include <bdlma_deleter.h>

Inheritance diagram for bdlma::Deleter< TYPE >:
bdlma::Factory< RepType > bdlma::Factory< bdlmt::MultiQueueThreadPool_Queue > bdlma::DefaultDeleter< TYPE > bdlma::Factory< TYPE > bdlcc::ObjectPool< RepType, ObjectPoolFunctors::DefaultCreator, ObjectPoolFunctors::Reset< RepType > > bdlcc::ObjectPool< bdlmt::MultiQueueThreadPool_Queue, bsl::function, bdlcc::ObjectPoolFunctors::Reset< bdlmt::MultiQueueThreadPool_Queue > > bdlcc::ObjectPool< TYPE, CREATOR, RESETTER >

Public Member Functions

virtual ~Deleter ()
 Destroy this object deleter.
 
virtual void deleteObject (TYPE *instance)=0
 

Detailed Description

template<class TYPE>
class bdlma::Deleter< TYPE >

Provide a protocol (or pure interface) for a thread-safe object deleter.

See bdlma_deleter

Constructor & Destructor Documentation

◆ ~Deleter()

template<class TYPE >
bdlma::Deleter< TYPE >::~Deleter ( )
virtual

Member Function Documentation

◆ deleteObject()

template<class TYPE >
virtual void bdlma::Deleter< TYPE >::deleteObject ( TYPE *  instance)
pure virtual

Destroy the specified instance based on its static type and return its memory footprint to the appropriate memory manager. Note that a particular implementation is allowed to destroy this deleter itself.

Implemented in bdlcc::ObjectPool< bdlmt::MultiQueueThreadPool_Queue, bsl::function, bdlcc::ObjectPoolFunctors::Reset< bdlmt::MultiQueueThreadPool_Queue > >, bdlcc::ObjectPool< RepType, ObjectPoolFunctors::DefaultCreator, ObjectPoolFunctors::Reset< RepType > >, bdlma::DefaultDeleter< TYPE >, bdlma::Factory< TYPE >, and bdlcc::ObjectPool< TYPE, CREATOR, RESETTER >.


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