This class provides a protocol (or pure interface) for a thread‐safe object creator and deleter. It extends the Deleter protocol with the addition of a createObject method.
Synopsis
Declared in <bdlma_factory.h>
template<class TYPE>
class Factory
: public Deleter<TYPE>
Base Classes
Name |
Description |
Provide a protocol (or pure interface) for a thread‐safe object deleter. |
Member Functions
Name |
Description |
|
Destroy this object factory. |
|
Create an instance of the specified |
|
Destroy the specified |
Derived Classes
Name |
Description |
This class provides a thread‐safe pool of reusable objects. It also implements the |
Created with MrDocs