Rosetta Protocols  2014.35
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
protocols::loops::loops_definers::LoopsDefinerFactory Class Reference

Create LoopsDefiner Reporters. More...

#include <LoopsDefinerFactory.hh>

Public Types

typedef std::map< std::string,
LoopsDefinerCreatorCOP
LoopsDefinerCreatorMap
 

Public Member Functions

virtual ~LoopsDefinerFactory ()
 
void factory_register (LoopsDefinerCreatorOP)
 
bool has_type (std::string const &) const
 
utility::vector1< std::stringget_all_loops_definer_names () const
 
LoopsDefinerOP create_loops_definer (std::string const &type_name)
 

Static Public Member Functions

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

Private Member Functions

 LoopsDefinerFactory ()
 
 LoopsDefinerFactory (const LoopsDefinerFactory &src)
 
LoopsDefinerFactory const & operator= (LoopsDefinerFactory const &)
 

Static Private Member Functions

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

Private Attributes

LoopsDefinerCreatorMap types_
 

Static Private Attributes

static LoopsDefinerFactoryinstance_
 

Detailed Description

Create LoopsDefiner Reporters.

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::loops::loops_definers::LoopsDefinerFactory::LoopsDefinerFactory ( )
private

Private constructor insures correctness of singleton.

Referenced by create_singleton_instance().

protocols::loops::loops_definers::LoopsDefinerFactory::LoopsDefinerFactory ( const LoopsDefinerFactory src)
private
protocols::loops::loops_definers::LoopsDefinerFactory::~LoopsDefinerFactory ( )
virtual

Member Function Documentation

LoopsDefinerOP protocols::loops::loops_definers::LoopsDefinerFactory::create_loops_definer ( std::string const &  type_name)
LoopsDefinerFactory * protocols::loops::loops_definers::LoopsDefinerFactory::create_singleton_instance ( )
staticprivate

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

References LoopsDefinerFactory().

Referenced by get_instance().

void protocols::loops::loops_definers::LoopsDefinerFactory::factory_register ( LoopsDefinerCreatorOP  creator)

References types_.

vector1< string > protocols::loops::loops_definers::LoopsDefinerFactory::get_all_loops_definer_names ( ) const

References types_.

LoopsDefinerFactory * protocols::loops::loops_definers::LoopsDefinerFactory::get_instance ( )
static

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

References create_singleton_instance(), instance_, and utility::thread::safely_create_singleton().

Referenced by protocols::loops::loops_definers::LoopsDefinerLoader::load_data().

bool protocols::loops::loops_definers::LoopsDefinerFactory::has_type ( std::string const &  type_name) const

References types_.

LoopsDefinerFactory const& protocols::loops::loops_definers::LoopsDefinerFactory::operator= ( LoopsDefinerFactory const &  )
private

Member Data Documentation

LoopsDefinerFactory * protocols::loops::loops_definers::LoopsDefinerFactory::instance_
staticprivate

Referenced by get_instance().

LoopsDefinerCreatorMap protocols::loops::loops_definers::LoopsDefinerFactory::types_
private

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