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::moves::MoverFactory Class Reference

#include <MoverFactory.hh>

Public Types

typedef std::map< std::string,
MoverCreatorOP
MoverMap
 
typedef utility::tag::Tag Tag
 
typedef utility::tag::TagCOP TagCOP
 
typedef core::pose::Pose Pose
 

Public Member Functions

virtual ~MoverFactory ()
 
void factory_register (MoverCreatorOP creator)
 add a Mover prototype, using its default type name as the map key More...
 
MoverOP newMover (std::string const &)
 Create a mover given its identifying string. More...
 
MoverOP newMover (TagCOP, basic::datacache::DataMap &, protocols::filters::Filters_map const &, Movers_map const &, Pose const &)
 return new Mover by Tag parsing; the identifying string for the Mover is in the Tag More...
 

Static Public Member Functions

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

Private Member Functions

 MoverFactory ()
 
 MoverFactory (MoverFactory const &)
 
MoverFactory const & operator= (MoverFactory const &)
 

Static Private Member Functions

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

Private Attributes

MoverMap mover_creator_map_
 
std::set< std::stringforbidden_names_
 

Static Private Attributes

static MoverFactoryinstance_
 

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::moves::MoverFactory::~MoverFactory ( )
virtual
protocols::moves::MoverFactory::MoverFactory ( )
private

References forbidden_names_.

Referenced by create_singleton_instance().

protocols::moves::MoverFactory::MoverFactory ( MoverFactory const &  )
private

Member Function Documentation

MoverFactory * protocols::moves::MoverFactory::create_singleton_instance ( )
staticprivate

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

References MoverFactory().

Referenced by get_instance().

void protocols::moves::MoverFactory::factory_register ( MoverCreatorOP  creator)

add a Mover prototype, using its default type name as the map key

References forbidden_names_, mover_creator_map_, and runtime_assert.

MoverFactory * protocols::moves::MoverFactory::get_instance ( )
static
MoverOP protocols::moves::MoverFactory::newMover ( std::string const &  mover_type)
MoverOP protocols::moves::MoverFactory::newMover ( TagCOP  tag,
basic::datacache::DataMap data,
protocols::filters::Filters_map const &  filters,
moves::Movers_map const &  movers,
Pose const &  pose 
)

return new Mover by Tag parsing; the identifying string for the Mover is in the Tag

return new Mover by Tag parsing

References newMover(), and runtime_assert.

MoverFactory const& protocols::moves::MoverFactory::operator= ( MoverFactory const &  )
private

Member Data Documentation

std::set< std::string > protocols::moves::MoverFactory::forbidden_names_
private

Referenced by factory_register(), and MoverFactory().

MoverFactory * protocols::moves::MoverFactory::instance_
staticprivate

Referenced by get_instance().

MoverMap protocols::moves::MoverFactory::mover_creator_map_
private

Referenced by factory_register(), and newMover().


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