Provide a protocol for a thread‐safe object creator and deleter.
Synopsis
Declared in <bdlma_factory.h>
template<class TYPE>
class Factory
: public Deleter<TYPE>
Description
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.
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 a default‐constructed instance of |
|
Destroy the specified |
Derived Classes
Name |
Description |
Thread‐safe pool of reusable objects that implements |
Created with MrDocs