Inheritance diagram for log4cplus::spi::FactoryRegistry< T >:

Public Types | |
| typedef T | product_type |
Public Member Functions | |
| virtual | ~FactoryRegistry () |
| bool | put (OFauto_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 |
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 126 of file factory.h.
| bool log4cplus::spi::FactoryRegistry< T >::put | ( | OFauto_ptr< T > | object | ) | [inline] |
Used to enter an object into the registry.
(The registry now owns object.)
Definition at line 139 of file factory.h.
References OFauto_ptr< T >::get(), and OFauto_ptr< T >::release().
| T* log4cplus::spi::FactoryRegistry< T >::get | ( | const log4cplus::tstring & | name | ) | const [inline] |