Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Attributes | Static Private Attributes | Friends | List of all members
HierarchyMaintainer Class Reference

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 CategorygetExistingInstance (const std::string &name)
 
virtual CategorygetInstance (const std::string &name)
 
 HierarchyMaintainer ()
 
void register_shutdown_handler (shutdown_fun_ptr handler)
 
virtual void shutdown ()
 
virtual ~HierarchyMaintainer ()
 

Static Public Member Functions

static HierarchyMaintainergetDefaultMaintainer ()
 

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_ptrhandlers_t
 

Private Attributes

handlers_t handlers_
 

Static Private Attributes

static HierarchyMaintainer_defaultMaintainer
 

Friends

class Log4cppCleanup
 

Detailed Description

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.

Member Typedef Documentation

typedef std::map<std::string, Category*> HierarchyMaintainer::CategoryMap

Definition at line 31 of file HierarchyMaintainer.hh.

typedef std::vector<shutdown_fun_ptr> HierarchyMaintainer::handlers_t
private

Definition at line 52 of file HierarchyMaintainer.hh.

typedef void(* HierarchyMaintainer::shutdown_fun_ptr) ()

Definition at line 32 of file HierarchyMaintainer.hh.

Constructor & Destructor Documentation

HierarchyMaintainer::HierarchyMaintainer ( )
virtual HierarchyMaintainer::~HierarchyMaintainer ( )
virtual

Member Function Documentation

virtual Category* HierarchyMaintainer::_getExistingInstance ( const std::string &  name)
protectedvirtual
virtual Category& HierarchyMaintainer::_getInstance ( const std::string &  name)
protectedvirtual
virtual void HierarchyMaintainer::deleteAllCategories ( )
virtual
virtual std::vector<Category*>* HierarchyMaintainer::getCurrentCategories ( ) const
virtual
static HierarchyMaintainer& HierarchyMaintainer::getDefaultMaintainer ( )
static
virtual Category* HierarchyMaintainer::getExistingInstance ( const std::string &  name)
virtual
virtual Category& HierarchyMaintainer::getInstance ( const std::string &  name)
virtual
void HierarchyMaintainer::register_shutdown_handler ( shutdown_fun_ptr  handler)
virtual void HierarchyMaintainer::shutdown ( )
virtual

Friends And Related Function Documentation

friend class Log4cppCleanup
friend

Definition at line 28 of file HierarchyMaintainer.hh.

Member Data Documentation

CategoryMap HierarchyMaintainer::_categoryMap
protected

Definition at line 48 of file HierarchyMaintainer.hh.

threading::Mutex HierarchyMaintainer::_categoryMutex
mutableprotected

Definition at line 49 of file HierarchyMaintainer.hh.

HierarchyMaintainer* HierarchyMaintainer::_defaultMaintainer
staticprivate

Definition at line 54 of file HierarchyMaintainer.hh.

handlers_t HierarchyMaintainer::handlers_
private

Definition at line 55 of file HierarchyMaintainer.hh.


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


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 19:10:55