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 | |
virtual void | deleteAllCategories () |
virtual std::vector< Category * > * | getCurrentCategories () const |
virtual Category * | getExistingInstance (const std::string &name) |
virtual Category & | getInstance (const std::string &name) |
HierarchyMaintainer () | |
void | register_shutdown_handler (shutdown_fun_ptr handler) |
virtual void | shutdown () |
virtual | ~HierarchyMaintainer () |
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 |
Private Types | |
typedef std::vector< shutdown_fun_ptr > | handlers_t |
Private Attributes | |
handlers_t | handlers_ |
Static Private Attributes | |
static HierarchyMaintainer * | _defaultMaintainer |
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.
Definition at line 27 of file HierarchyMaintainer.hh.
typedef std::map<std::string, Category*> HierarchyMaintainer::CategoryMap |
Definition at line 31 of file HierarchyMaintainer.hh.
|
private |
Definition at line 52 of file HierarchyMaintainer.hh.
typedef void(* HierarchyMaintainer::shutdown_fun_ptr) () |
Definition at line 32 of file HierarchyMaintainer.hh.
HierarchyMaintainer::HierarchyMaintainer | ( | ) |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
static |
|
virtual |
|
virtual |
void HierarchyMaintainer::register_shutdown_handler | ( | shutdown_fun_ptr | handler | ) |
|
virtual |
|
friend |
Definition at line 28 of file HierarchyMaintainer.hh.
|
protected |
Definition at line 48 of file HierarchyMaintainer.hh.
|
mutableprotected |
Definition at line 49 of file HierarchyMaintainer.hh.
|
staticprivate |
Definition at line 54 of file HierarchyMaintainer.hh.
|
private |
Definition at line 55 of file HierarchyMaintainer.hh.