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::rosetta_scripts::PoseSelectorFactory Class Reference

#include <PoseSelectorFactory.hh>

Public Types

typedef std::map< std::string,
PoseSelectorCreatorOP
PoseSelectorMap
 
typedef utility::tag::Tag Tag
 
typedef utility::tag::TagCOP TagCOP
 
typedef core::pose::Pose Pose
 

Public Member Functions

virtual ~PoseSelectorFactory ()
 
void factory_register (PoseSelectorCreatorOP creator)
 add a PoseSelector prototype, using its default type name as the map key More...
 
PoseSelectorOP newPoseSelector (std::string const &)
 Create a PoseSelector given its identifying string. More...
 
PoseSelectorOP newPoseSelector (TagCOP, basic::datacache::DataMap &, protocols::filters::Filters_map &, protocols::moves::Movers_map const &, core::pose::Pose const &)
 return new PoseSelector by Tag parsing; the identifying string for the PoseSelector is in the Tag More...
 

Static Public Member Functions

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

Private Member Functions

 PoseSelectorFactory ()
 
 PoseSelectorFactory (PoseSelectorFactory const &)
 
PoseSelectorFactory const & operator= (PoseSelectorFactory const &)
 

Static Private Member Functions

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

Private Attributes

PoseSelectorMap poseselector_creator_map_
 

Static Private Attributes

static PoseSelectorFactoryinstance_
 

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::rosetta_scripts::PoseSelectorFactory::~PoseSelectorFactory ( )
virtual
protocols::rosetta_scripts::PoseSelectorFactory::PoseSelectorFactory ( )
private
protocols::rosetta_scripts::PoseSelectorFactory::PoseSelectorFactory ( PoseSelectorFactory const &  )
private

Member Function Documentation

PoseSelectorFactory * protocols::rosetta_scripts::PoseSelectorFactory::create_singleton_instance ( )
staticprivate

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

References PoseSelectorFactory().

Referenced by get_instance().

void protocols::rosetta_scripts::PoseSelectorFactory::factory_register ( PoseSelectorCreatorOP  creator)

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

References poseselector_creator_map_, and runtime_assert.

PoseSelectorFactory * protocols::rosetta_scripts::PoseSelectorFactory::get_instance ( )
static
PoseSelectorOP protocols::rosetta_scripts::PoseSelectorFactory::newPoseSelector ( std::string const &  pose_selector_type)

Create a PoseSelector given its identifying string.

return new PoseSelector by key lookup in poseselector_creator_map_ (new PoseSelector parses Tag if provided)

References poseselector_creator_map_, and protocols::rosetta_scripts::TR.

Referenced by newPoseSelector().

PoseSelectorOP protocols::rosetta_scripts::PoseSelectorFactory::newPoseSelector ( TagCOP  tag,
basic::datacache::DataMap data,
protocols::filters::Filters_map filters,
protocols::moves::Movers_map const &  movers,
core::pose::Pose const &  pose 
)

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

return new PoseSelector by Tag parsing

References newPoseSelector(), and runtime_assert.

PoseSelectorFactory const& protocols::rosetta_scripts::PoseSelectorFactory::operator= ( PoseSelectorFactory const &  )
private

Member Data Documentation

PoseSelectorFactory * protocols::rosetta_scripts::PoseSelectorFactory::instance_
staticprivate

Referenced by get_instance().

PoseSelectorMap protocols::rosetta_scripts::PoseSelectorFactory::poseselector_creator_map_
private

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