Rosetta Protocols  2014.35
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
protocols::evaluation::EvaluatorFactory Class Reference

Create Evaluator Reporters. More...

#include <EvaluatorFactory.hh>

Public Member Functions

virtual ~EvaluatorFactory ()
void factory_register (EvaluatorCreatorCOP creator)
void add_evaluators (std::string const &type_name, MetaPoseEvaluator &eval)
void add_all_evaluators (MetaPoseEvaluator &eval)

Static Public Member Functions

static EvaluatorFactoryget_instance ()
 static function to get the instance of ( pointer to) this singleton class More...

Private Types

typedef std::vector< std::pair
< std::string,
EvaluatorCreatorCOP > > 

Private Member Functions

 EvaluatorFactory ()
 EvaluatorFactory (const EvaluatorFactory &src)
EvaluatorFactory const & operator= (EvaluatorFactory const &)

Static Private Member Functions

static EvaluatorFactorycreate_singleton_instance ()
 private singleton creation function to be used with utility::thread::threadsafe_singleton More...

Private Attributes

EvaluatorCreatorMap types_

Static Private Attributes

static EvaluatorFactoryinstance_
 Replace the load-time EvaluatorCreator with another creator. More...

Detailed Description

Create Evaluator Reporters.

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::evaluation::EvaluatorFactory::EvaluatorFactory ( )

Private constructor insures correctness of singleton.

Referenced by create_singleton_instance().

protocols::evaluation::EvaluatorFactory::EvaluatorFactory ( const EvaluatorFactory src)
protocols::evaluation::EvaluatorFactory::~EvaluatorFactory ( )

Member Function Documentation

void protocols::evaluation::EvaluatorFactory::add_all_evaluators ( MetaPoseEvaluator eval)
void protocols::evaluation::EvaluatorFactory::add_evaluators ( std::string const &  type_name,
MetaPoseEvaluator eval 
EvaluatorFactory * protocols::evaluation::EvaluatorFactory::create_singleton_instance ( )

private singleton creation function to be used with utility::thread::threadsafe_singleton

References EvaluatorFactory().

Referenced by get_instance().

void protocols::evaluation::EvaluatorFactory::factory_register ( EvaluatorCreatorCOP  creator)

References types_.

EvaluatorFactory * protocols::evaluation::EvaluatorFactory::get_instance ( )
EvaluatorFactory const& protocols::evaluation::EvaluatorFactory::operator= ( EvaluatorFactory const &  )

Member Data Documentation

EvaluatorFactory * protocols::evaluation::EvaluatorFactory::instance_

Replace the load-time EvaluatorCreator with another creator.

Referenced by get_instance().

EvaluatorCreatorMap protocols::evaluation::EvaluatorFactory::types_

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