OFFIS DCMTK  Version 3.6.0
Public Member Functions | Private Attributes
log4cplus::HierarchyLocker Class Reference

This is used to lock a Hierarchy. More...

Collaboration diagram for log4cplus::HierarchyLocker:
[legend]

List of all members.

Public Member Functions

 HierarchyLocker (Hierarchy &h)
void resetConfiguration ()
 Calls the resetConfiguration() method on the locked Hierarchy.
Logger getInstance (const log4cplus::tstring &name)
 Calls the getInstance() method on the locked Hierarchy.
Logger getInstance (const log4cplus::tstring &name, spi::LoggerFactory &factory)
 Calls the getInstance() method on the locked Hierarchy.
void addAppender (Logger &logger, log4cplus::SharedAppenderPtr &appender)

Private Attributes

Hierarchyh
log4cplus::thread::Guard hierarchyLocker
LoggerList loggerList

Detailed Description

This is used to lock a Hierarchy.

The dtor unlocks the Hierarchy.

Definition at line 34 of file hierlock.h.


The documentation for this class was generated from the following file:


Generated on Thu May 24 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.7.6.1