![]() |
Rosetta Protocols
2014.16.56682
|
#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 const &, 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 PoseSelectorFactory * | get_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 PoseSelectorFactory * | create_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 PoseSelectorFactory * | instance_ |
| typedef std::map< std::string, PoseSelectorCreatorOP > protocols::rosetta_scripts::PoseSelectorFactory::PoseSelectorMap |
|
virtual |
|
private |
Referenced by create_singleton_instance().
|
private |
|
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.
|
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::pose_selectors::LogicalSelector::parse_my_tag(), and protocols::rosetta_scripts::MultiplePoseMover::parse_my_tag().
| 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 const & | 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.
|
private |
|
staticprivate |
Referenced by get_instance().
|
private |
Referenced by factory_register(), and newPoseSelector().
1.8.7