This is the base class used to implement the functionality required by the ObjectRegistry template class.
More...
#include <objectregistry.h>
This is the base class used to implement the functionality required by the ObjectRegistry template class.
Definition at line 47 of file objectregistry.h.
◆ ObjectMap
◆ ObjectRegistryBase()
log4cplus::spi::ObjectRegistryBase::ObjectRegistryBase |
( |
| ) |
|
|
protected |
◆ ~ObjectRegistryBase()
virtual log4cplus::spi::ObjectRegistryBase::~ObjectRegistryBase |
( |
| ) |
|
|
protectedvirtual |
◆ _enableLocking()
void log4cplus::spi::ObjectRegistryBase::_enableLocking |
( |
bool |
| ) |
|
This function is internal implementation detail.
It is related to work-around needed for initialization when using C++11 threads and mutexes.
◆ clear()
virtual void log4cplus::spi::ObjectRegistryBase::clear |
( |
| ) |
|
|
protectedvirtual |
Deletes all objects from this registry.
◆ deleteObject()
virtual void log4cplus::spi::ObjectRegistryBase::deleteObject |
( |
void * |
object | ) |
const |
|
protectedpure virtual |
◆ exists()
Tests to see whether or not an object is bound in the registry as name
.
◆ getAllNames()
Returns the names of all registered objects.
◆ getVal()
Used to retrieve an object from the registry.
(The registry owns the returned pointer.)
◆ putVal()
bool log4cplus::spi::ObjectRegistryBase::putVal |
( |
const log4cplus::tstring & |
name, |
|
|
void * |
object |
|
) |
| |
|
protected |
Used to enter an object into the registry.
(The registry now owns object
.)
◆ data
ObjectMap log4cplus::spi::ObjectRegistryBase::data |
|
protected |
◆ mutex
The documentation for this class was generated from the following file: