Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
AppendersFactory Class Reference

#include <AppendersFactory.hh>

List of all members.

Public Types

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

Public Member Functions

std::auto_ptr< Appendercreate (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 AppendersFactorygetInstance ()

Private Types

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

Private Member Functions

 AppendersFactory ()

Private Attributes

creators_t creators_

Detailed Description

Definition at line 13 of file AppendersFactory.hh.


Member Typedef Documentation

typedef creators_t::const_iterator AppendersFactory::const_iterator [private]

Definition at line 28 of file AppendersFactory.hh.

typedef std::auto_ptr<Appender>(* AppendersFactory::create_function_t)(const params_t &params)

Definition at line 17 of file AppendersFactory.hh.

typedef std::map<std::string, create_function_t> AppendersFactory::creators_t [private]

Definition at line 25 of file AppendersFactory.hh.

Definition at line 16 of file AppendersFactory.hh.


Constructor & Destructor Documentation

AppendersFactory::AppendersFactory ( ) [inline, private]

Definition at line 25 of file AppendersFactory.hh.


Member Function Documentation

std::auto_ptr<Appender> AppendersFactory::create ( const std::string &  class_name,
const params_t params 
)
void AppendersFactory::registerCreator ( const std::string &  class_name,
create_function_t  create_function 
)
bool AppendersFactory::registered ( const std::string &  class_name) const

Member Data Documentation

Definition at line 30 of file AppendersFactory.hh.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:09