Provide a protocol for a thread-safe object creator and deleter.
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.
| Name | Description |
|---|---|
Deleter<TYPE> | Provide a protocol (or pure interface) for a thread-safe object deleter. |
| Name | Description |
|---|---|
~Factory [destructor] [virtual] | Destroy this object factory. |
createObject [virtual] | Create a default-constructed instance of TYPE. |
deleteObject [virtual] | Destroy the specified instance and release its memory. |
| Name | Description |
|---|---|
ObjectPool | Thread-safe pool of reusable objects that implements bdlma::Factory. |