Apache Log4cxx  Version 2.0.0
Loading...
Searching...
No Matches
log4cxx::helpers::APRInitializer Class Reference

#include <aprinitializer.h>

Public Member Functions

 ~APRInitializer ()

Static Public Member Functions

static apr_pool_t * getRootPool ()
static log4cxx_time_t getStartTime ()
static apr_threadkey_t * getTlsKey ()
template<class T>
static void setUnique (const std::shared_ptr< T > &pObject)
 Store a single instance type ObjectPtr for deletion prior to termination.
template<class T>
static std::shared_ptr< T > getOrAddUnique (std::function< ObjectPtr()> creator)
 Fetch or add a single instance type ObjectPtr for deletion prior to termination.

Friends

class helpers::WideLife< APRInitializer >

Constructor & Destructor Documentation

◆ ~APRInitializer()

log4cxx::helpers::APRInitializer::~APRInitializer ( )

Member Function Documentation

◆ getOrAddUnique()

template<class T>
std::shared_ptr< T > log4cxx::helpers::APRInitializer::getOrAddUnique ( std::function< ObjectPtr()> creator)
inlinestatic

Fetch or add a single instance type ObjectPtr for deletion prior to termination.

◆ getRootPool()

apr_pool_t * log4cxx::helpers::APRInitializer::getRootPool ( )
static

◆ getStartTime()

log4cxx_time_t log4cxx::helpers::APRInitializer::getStartTime ( )
static

◆ getTlsKey()

apr_threadkey_t * log4cxx::helpers::APRInitializer::getTlsKey ( )
static

◆ setUnique()

template<class T>
void log4cxx::helpers::APRInitializer::setUnique ( const std::shared_ptr< T > & pObject)
inlinestatic

Store a single instance type ObjectPtr for deletion prior to termination.

◆ helpers::WideLife< APRInitializer >

friend class helpers::WideLife< APRInitializer >
friend

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