#include <factory.h>
Inheritance diagram for log4cplus::spi::FactoryRegistry< T >:


Public Member Functions | |
| virtual | ~FactoryRegistry () |
| bool | put (std::auto_ptr< T > object) |
| Used to enter an object into the registry. | |
| T * | get (const log4cplus::tstring &name) const |
| Used to retrieve an object from the registry. | |
Protected Member Functions | |
| virtual void | deleteObject (void *object) const |
Deletes object. | |
Objects are "entered" into the registry with a "name" using the put() method. (The registry then owns the object.) These object can then be retrieved using the get() method.
Note: This class is Thread-safe.
Definition at line 122 of file factory.h.
|
|||||||||
|
|
|
||||||||||
|
Deletes
Implements log4cplus::spi::ObjectRegistryBase. |
|
||||||||||
|
Used to retrieve an object from the registry. (The registry owns the returned pointer.) |
|
||||||||||
|
Used to enter an object into the registry.
(The registry now owns |
1.3.2