log4cpp
1.1
|
HierarchyMaintainer is an internal log4cpp class. More...
#include <HierarchyMaintainer.hh>
Public Types | |
typedef std::map< std::string, Category * > | CategoryMap |
typedef void(* | shutdown_fun_ptr )() |
Public Member Functions | |
HierarchyMaintainer () | |
virtual | ~HierarchyMaintainer () |
virtual Category * | getExistingInstance (const std::string &name) |
virtual Category & | getInstance (const std::string &name) |
virtual std::vector< Category * > * | getCurrentCategories () const |
virtual void | shutdown () |
void | register_shutdown_handler (shutdown_fun_ptr handler) |
virtual void | deleteAllCategories () |
Static Public Member Functions | |
static HierarchyMaintainer & | getDefaultMaintainer () |
Protected Member Functions | |
virtual Category * | _getExistingInstance (const std::string &name) |
virtual Category & | _getInstance (const std::string &name) |
Protected Attributes | |
CategoryMap | _categoryMap |
threading::Mutex | _categoryMutex |
Friends | |
class | Log4cppCleanup |
HierarchyMaintainer is an internal log4cpp class.
It is responsible for maintaining the hierarchy of Categories. Applications should not have to use this class directly.
typedef std::map<std::string, Category*> log4cpp::HierarchyMaintainer::CategoryMap |
typedef void(* log4cpp::HierarchyMaintainer::shutdown_fun_ptr)() |
log4cpp::HierarchyMaintainer::HierarchyMaintainer | ( | ) |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
static |
|
virtual |
|
virtual |
void log4cpp::HierarchyMaintainer::register_shutdown_handler | ( | shutdown_fun_ptr | handler | ) |
|
virtual |
|
friend |
|
protected |
|
mutableprotected |