Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
log4cpp::TriggeringEventEvaluatorFactory Class Reference

#include <TriggeringEventEvaluatorFactory.hh>

Public Types

typedef std::auto_ptr< TriggeringEventEvaluator >(* create_function_t) (const params_t &params)
 
typedef FactoryParams params_t
 

Public Member Functions

std::auto_ptr< TriggeringEventEvaluatorcreate (const std::string &class_name, const params_t &params)
 
void registerCreator (const std::string &class_name, create_function_t create_function)
 
bool registered (const std::string &class_name) const
 

Static Public Member Functions

static TriggeringEventEvaluatorFactorygetInstance ()
 

Private Types

typedef creators_t::const_iterator const_iterator
 
typedef std::map< std::string, create_function_tcreators_t
 

Private Member Functions

 TriggeringEventEvaluatorFactory ()
 

Private Attributes

creators_t creators_
 

Detailed Description

Definition at line 20 of file TriggeringEventEvaluatorFactory.hh.

Member Typedef Documentation

typedef creators_t::const_iterator log4cpp::TriggeringEventEvaluatorFactory::const_iterator
private

Definition at line 35 of file TriggeringEventEvaluatorFactory.hh.

typedef std::auto_ptr<TriggeringEventEvaluator>(* log4cpp::TriggeringEventEvaluatorFactory::create_function_t) (const params_t &params)

Definition at line 24 of file TriggeringEventEvaluatorFactory.hh.

Definition at line 32 of file TriggeringEventEvaluatorFactory.hh.

Definition at line 23 of file TriggeringEventEvaluatorFactory.hh.

Constructor & Destructor Documentation

log4cpp::TriggeringEventEvaluatorFactory::TriggeringEventEvaluatorFactory ( )
inlineprivate

Definition at line 32 of file TriggeringEventEvaluatorFactory.hh.

Member Function Documentation

std::auto_ptr< TriggeringEventEvaluator > log4cpp::TriggeringEventEvaluatorFactory::create ( const std::string &  class_name,
const params_t params 
)

Definition at line 36 of file TriggeringEventEvaluatorFactory.cpp.

TriggeringEventEvaluatorFactory & log4cpp::TriggeringEventEvaluatorFactory::getInstance ( )
static

Definition at line 15 of file TriggeringEventEvaluatorFactory.cpp.

void log4cpp::TriggeringEventEvaluatorFactory::registerCreator ( const std::string &  class_name,
create_function_t  create_function 
)

Definition at line 27 of file TriggeringEventEvaluatorFactory.cpp.

bool log4cpp::TriggeringEventEvaluatorFactory::registered ( const std::string &  class_name) const

Definition at line 45 of file TriggeringEventEvaluatorFactory.cpp.

Member Data Documentation

creators_t log4cpp::TriggeringEventEvaluatorFactory::creators_
private

Definition at line 37 of file TriggeringEventEvaluatorFactory.hh.


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


log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Jun 23 2019 19:14:17