|
Rosetta 3.5
|
#include <SilentStructFactory.hh>

Public Member Functions | |
| void | factory_register (SilentStructCreatorCOP creator) |
| bool | has_silent_struct_type (std::string const &type_name) |
| test if the specified silent struct type name is associated with a registered silent struct type. More... | |
| void | show_available_silent_struct_types (std::ostream &out) |
| pretty print a list of the available silent struct types. More... | |
| io::silent::SilentStructOP | get_silent_struct (std::string const &type_name) |
| utility::vector1< std::string > | get_ss_names () const |
| void | replace_creator (SilentStructCreatorCOP creator) |
| Replace the load-time SilentStructCreator with another creator. More... | |
| SilentStructCreatorCOP | get_creator (std::string const &type_name) |
| SilentStructOP | get_silent_struct_in () |
| SilentStructOP | get_silent_struct_out () |
| SilentStructOP | get_silent_struct_out (core::pose::Pose const &pose) |
Static Public Member Functions | |
| static SilentStructFactory * | get_instance () |
Private Types | |
| typedef std::map< std::string, io::silent::SilentStructCreatorCOP > | SilentStructCreatorMap |
Private Member Functions | |
| SilentStructFactory () | |
| SilentStructFactory (SilentStructFactory const &) | |
| SilentStructFactory const & | operator= (SilentStructFactory const &) |
Private Attributes | |
| SilentStructCreatorMap | ss_types_ |
Static Private Attributes | |
| static SilentStructFactory * | instance_ |
Definition at line 30 of file SilentStructFactory.hh.
|
private |
Definition at line 69 of file SilentStructFactory.hh.
|
private |
Private constructor insures correctness of singleton.
Definition at line 43 of file SilentStructFactory.cc.
Referenced by get_instance().
|
private |
| void core::io::silent::SilentStructFactory::factory_register | ( | SilentStructCreatorCOP | creator) |
Definition at line 55 of file SilentStructFactory.cc.
References ss_types_.
| SilentStructCreatorCOP core::io::silent::SilentStructFactory::get_creator | ( | std::string const & | type_name) |
Definition at line 127 of file SilentStructFactory.cc.
References core::sequence::end, get_ss_names(), and ss_types_.
|
static |
Definition at line 46 of file SilentStructFactory.cc.
References instance_, and SilentStructFactory().
Referenced by protocols::wum::SilentStructStore::add(), protocols::loophash::LoopHashMoverWrapper::apply(), protocols::loophash::LoopHashDiversifier::apply(), protocols::hybridization::HybridizeProtocol::apply(), protocols::canonical_sampling::CanonicalSamplingMover::apply(), protocols::relax::FastRelax::batch_apply(), protocols::loophash::LoopHashSampler::build_structures(), protocols::checkpoint::CheckPointer::checkpoint(), protocols::loophash::MPI_LoopHashRefine_Master::create_loophash_WUs(), core::io::silent::SilentFileLoader::create_resource(), core::io::silent::SilentFileData::create_SilentStructOP(), protocols::canonical_sampling::CanonicalSamplingMover::dump_decoy_or_score(), protocols::jd2::SilentFileJobOutputter::dump_pose(), protocols::jobdist::PlainSilentFileJobDistributor::dump_pose(), protocols::star::emit_intermediate(), protocols::evaluation::evaluate_pose(), protocols::loophash::LoopHashLibrary::get_all(), protocols::loophash::MPI_LoopHashRefine::load_structures_from_cmdline_into_library(), protocols::frag_picker::FragmentPicker::nonlocal_pairs(), protocols::jobdist::not_universal_main(), protocols::viewer::SilentObserver::on_energy_change(), protocols::medal::on_pose_accept(), OPT_1GRP_KEY(), protocols::frag_picker::FragmentCandidate::output_silent(), core::io::silent::SilentFileOptions::parse_my_tag(), core::io::silent::SilentFileOptions::set_silent_struct_type(), protocols::jobdist::universal_main(), and protocols::jd2::write_score_tracer().
| SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct | ( | std::string const & | type_name) |
Definition at line 82 of file SilentStructFactory.cc.
References core::sequence::end, get_ss_names(), ss_types_, and core::io::silent::tr().
Referenced by protocols::wum::SilentStructStore::add(), protocols::loophash::LoopHashMoverWrapper::apply(), protocols::loophash::LoopHashDiversifier::apply(), protocols::hybridization::HybridizeProtocol::apply(), protocols::relax::FastRelax::batch_apply(), protocols::loophash::LoopHashSampler::build_structures(), protocols::loophash::MPI_LoopHashRefine_Master::create_loophash_WUs(), core::io::silent::SilentFileData::create_SilentStructOP(), protocols::canonical_sampling::CanonicalSamplingMover::dump_decoy_or_score(), protocols::jd2::SilentFileJobOutputter::dump_pose(), get_silent_struct_in(), get_silent_struct_out(), protocols::loophash::MPI_LoopHashRefine::load_structures_from_cmdline_into_library(), OPT_1GRP_KEY(), and protocols::jd2::write_score_tracer().
| SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_in | ( | ) |
Definition at line 151 of file SilentStructFactory.cc.
References get_silent_struct().
Referenced by protocols::canonical_sampling::CanonicalSamplingMover::apply(), and core::io::silent::SilentFileData::create_SilentStructOP().
| SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_out | ( | ) |
Definition at line 158 of file SilentStructFactory.cc.
References get_silent_struct().
Referenced by protocols::wum::SilentStructStore::add(), protocols::loophash::LoopHashMoverWrapper::apply(), protocols::loophash::LoopHashDiversifier::apply(), protocols::relax::FastRelax::batch_apply(), protocols::loophash::LoopHashSampler::build_structures(), protocols::checkpoint::CheckPointer::checkpoint(), protocols::loophash::MPI_LoopHashRefine_Master::create_loophash_WUs(), protocols::canonical_sampling::CanonicalSamplingMover::dump_decoy_or_score(), protocols::jd2::SilentFileJobOutputter::dump_pose(), protocols::jobdist::PlainSilentFileJobDistributor::dump_pose(), protocols::star::emit_intermediate(), protocols::evaluation::evaluate_pose(), protocols::loophash::LoopHashLibrary::get_all(), protocols::loophash::MPI_LoopHashRefine::load_structures_from_cmdline_into_library(), protocols::frag_picker::FragmentPicker::nonlocal_pairs(), protocols::jobdist::not_universal_main(), protocols::viewer::SilentObserver::on_energy_change(), protocols::medal::on_pose_accept(), OPT_1GRP_KEY(), protocols::frag_picker::FragmentCandidate::output_silent(), and protocols::jobdist::universal_main().
| SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_out | ( | core::pose::Pose const & | pose) |
Definition at line 163 of file SilentStructFactory.cc.
References get_silent_struct(), core::pose::is_ideal_pose(), and core::io::silent::tr().
| utility::vector1< std::string > core::io::silent::SilentStructFactory::get_ss_names | ( | ) | const |
Definition at line 108 of file SilentStructFactory.cc.
References core::sequence::end, and ss_types_.
Referenced by get_creator(), and get_silent_struct().
| bool core::io::silent::SilentStructFactory::has_silent_struct_type | ( | std::string const & | type_name) |
test if the specified silent struct type name is associated with a registered silent struct type.
Definition at line 75 of file SilentStructFactory.cc.
References ss_types_.
Referenced by core::io::silent::SilentFileOptions::parse_my_tag().
|
private |
| void core::io::silent::SilentStructFactory::replace_creator | ( | SilentStructCreatorCOP | creator) |
Replace the load-time SilentStructCreator with another creator.
Definition at line 121 of file SilentStructFactory.cc.
References ss_types_.
| void core::io::silent::SilentStructFactory::show_available_silent_struct_types | ( | std::ostream & | out) |
pretty print a list of the available silent struct types.
Definition at line 61 of file SilentStructFactory.cc.
References ss_types_.
Referenced by core::io::silent::SilentFileOptions::parse_my_tag(), and core::io::silent::SilentFileOptions::set_silent_struct_type().
|
staticprivate |
Definition at line 67 of file SilentStructFactory.hh.
Referenced by get_instance().
|
private |
Definition at line 70 of file SilentStructFactory.hh.
Referenced by factory_register(), get_creator(), get_silent_struct(), get_ss_names(), has_silent_struct_type(), replace_creator(), and show_available_silent_struct_types().
1.8.4