|
Rosetta 3.5
|
#include <JD2ResourceManager.hh>


Public Member Functions | |
| virtual void | clear () |
| virtual | ~JD2ResourceManager () |
| basic::resource_manager::ResourceOP | get_resource (basic::resource_manager::ResourceDescription const &resource_description) |
| bool | has_resource_with_description (basic::resource_manager::ResourceDescription const &resource_description) |
| void | read_resource_locators_tags (utility::tag::TagPtr tags) |
| void | read_resource_options_tags (utility::tag::TagPtr tags) |
| void | read_resources_tags (utility::tag::TagPtr tags) |
| virtual bool | get_option (utility::options::BooleanOptionKey key) const |
| virtual utility::vector1< bool > const & | get_option (utility::options::BooleanVectorOptionKey key) const |
| virtual utility::file::FileName const & | get_option (utility::options::FileOptionKey key) const |
| virtual utility::vector1 < utility::file::FileName > const & | get_option (utility::options::FileVectorOptionKey key) const |
| virtual int | get_option (utility::options::IntegerOptionKey key) const |
| virtual utility::vector1< int > const & | get_option (utility::options::IntegerVectorOptionKey key) const |
| virtual utility::file::PathName const & | get_option (utility::options::PathOptionKey key) const |
| virtual utility::vector1 < utility::file::PathName > const & | get_option (utility::options::PathVectorOptionKey key) const |
| virtual platform::Real | get_option (utility::options::RealOptionKey key) const |
| virtual utility::vector1 < platform::Real > const & | get_option (utility::options::RealVectorOptionKey key) const |
| virtual std::string const & | get_option (utility::options::StringOptionKey key) const |
| virtual utility::vector1 < std::string > const & | get_option (utility::options::StringVectorOptionKey key) const |
| virtual bool | has_option (utility::options::BooleanOptionKey key) const |
| virtual bool | has_option (utility::options::BooleanVectorOptionKey key) const |
| virtual bool | has_option (utility::options::FileOptionKey key) const |
| virtual bool | has_option (utility::options::FileVectorOptionKey key) const |
| virtual bool | has_option (utility::options::IntegerOptionKey key) const |
| virtual bool | has_option (utility::options::IntegerVectorOptionKey key) const |
| virtual bool | has_option (utility::options::PathOptionKey key) const |
| virtual bool | has_option (utility::options::PathVectorOptionKey key) const |
| virtual bool | has_option (utility::options::RealOptionKey key) const |
| virtual bool | has_option (utility::options::RealVectorOptionKey key) const |
| virtual bool | has_option (utility::options::StringOptionKey key) const |
| virtual bool | has_option (utility::options::StringVectorOptionKey key) const |
Static Public Member Functions | |
| static JD2ResourceManager * | get_jd2_resource_manager_instance () |
Protected Member Functions | |
| JD2ResourceManager () | |
Private Member Functions | |
| void | read_resource_options_table_tag (utility::tag::TagPtr tag) |
| void | read_resource_option_item (utility::tag::TagPtr tag) |
| void | check_resource_loader_type (basic::resource_manager::LoaderType const &loader_type) |
| Check if the loader type is defined with the ResourceLoaderFactory More... | |
| basic::resource_manager::ResourceTag | read_resource_tag_item (utility::tag::TagPtr tags, basic::resource_manager::LoaderType const &loader_type, basic::resource_manager::LocatorID const &locator_id) |
| void | read_resource_table_tag (utility::tag::TagPtr tags) |
| basic::resource_manager::LocatorTag | read_resource_locator_items (utility::tag::TagPtr tags, basic::resource_manager::LoaderType const &loader_type, basic::resource_manager::LocatorID &locator_id) |
| find the LocatorTag item from the resource tag. Based on the LocatorTag fill the LocatorID. locator item (&string): FileSystemResourceLocator (default) More... | |
| basic::resource_manager::ResourceOptionsTag | read_resource_options_tag_item (utility::tag::TagPtr tags, basic::resource_manager::LoaderType const &loader_type, basic::resource_manager::ResourceTag const &resource_tag) |
| basic::resource_manager::ResourceOP | create_resource_from_fallback (basic::resource_manager::FallbackConfigurationCOP fallback, basic::resource_manager::ResourceDescription const &resource_description) |
Private Attributes | |
| std::map< std::string, std::string > | fallback_resource_descriptions_created_ |
Friends | |
| class | JD2ResourceManagerCreator |
Definition at line 34 of file JD2ResourceManager.hh.
|
protected |
Definition at line 109 of file JD2ResourceManager.cc.
|
virtual |
Definition at line 112 of file JD2ResourceManager.cc.
|
private |
Check if the loader type is defined with the ResourceLoaderFactory
Definition at line 319 of file JD2ResourceManager.cc.
Referenced by read_resource_table_tag(), and read_resources_tags().
|
virtual |
Definition at line 103 of file JD2ResourceManager.cc.
|
private |
Definition at line 1005 of file JD2ResourceManager.cc.
Referenced by get_resource().
|
static |
Definition at line 609 of file JD2ResourceManager.cc.
Referenced by protocols::jd2::JD2ResourceManagerJobInputter::check_each_job_has_startstruct(), protocols::jd2::JD2ResourceManagerJobInputter::cleanup_after_job_completion(), protocols::jd2::JD2ResourceManagerJobInputter::fill_jobs_from_stream(), protocols::jd2::JD2ResourceManagerJobInputter::parse_job_tag(), protocols::jd2::JD2ResourceManagerJobInputter::pose_from_job(), protocols::jd2::JD2ResourceManagerJobInputter::read_Data_for_subtag(), and protocols::jd2::JD2ResourceManagerJobInputter::record_job().
|
virtual |
Definition at line 715 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 729 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 743 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 757 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 771 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 785 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 799 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 813 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 827 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 841 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 855 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 869 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
| ResourceOP protocols::jd2::JD2ResourceManager::get_resource | ( | basic::resource_manager::ResourceDescription const & | resource_description) |
Definition at line 651 of file JD2ResourceManager.cc.
References create_resource_from_fallback(), protocols::jd2::JobDistributor::current_job(), fallback_resource_descriptions_created_, and protocols::jd2::JobDistributor::get_instance().
|
virtual |
Definition at line 883 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), and protocols::jd2::JobDistributor::get_instance().
|
virtual |
Definition at line 895 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 905 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 915 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 925 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 935 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 945 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 955 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 965 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 975 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 985 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
|
virtual |
Definition at line 995 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::jd2::Job::input_tag().
| bool protocols::jd2::JD2ResourceManager::has_resource_with_description | ( | basic::resource_manager::ResourceDescription const & | resource_description) |
Definition at line 624 of file JD2ResourceManager.cc.
References protocols::nonlocal::current_job(), fallback_resource_descriptions_created_, and protocols::jd2::JobDistributor::get_instance().
|
private |
find the LocatorTag item from the resource tag. Based on the LocatorTag fill the LocatorID. locator item (&string): FileSystemResourceLocator (default)
- file item is interchangable with the locatorID item
locatorID item (&string):
Definition at line 373 of file JD2ResourceManager.cc.
Referenced by read_resources_tags().
| void protocols::jd2::JD2ResourceManager::read_resource_locators_tags | ( | utility::tag::TagPtr | tags) |
instantiate all the resource locators given in the input tags, and put them into the base class. Make sure no two resource locators share a common name.
Definition at line 117 of file JD2ResourceManager.cc.
Referenced by protocols::jd2::JD2ResourceManagerJobInputter::fill_jobs_from_stream().
|
private |
Definition at line 271 of file JD2ResourceManager.cc.
Referenced by read_resource_options_table_tag(), and read_resource_options_tags().
|
private |
Definition at line 190 of file JD2ResourceManager.cc.
References read_resource_option_item(), and core::scoring::hbonds::t().
Referenced by read_resource_options_tags().
|
private |
Definition at line 441 of file JD2ResourceManager.cc.
Referenced by read_resources_tags().
| void protocols::jd2::JD2ResourceManager::read_resource_options_tags | ( | utility::tag::TagPtr | tags) |
instantiate all the resource options and put them in the base class. Make sure no two resource options are given the same name.
Definition at line 169 of file JD2ResourceManager.cc.
References read_resource_option_item(), and read_resource_options_table_tag().
Referenced by protocols::jd2::JD2ResourceManagerJobInputter::fill_jobs_from_stream().
|
private |
Definition at line 508 of file JD2ResourceManager.cc.
References check_resource_loader_type().
Referenced by read_resources_tags().
|
private |
make sure the resource object has been given a tag and that no other resource object has been delecared with the same name.
Definition at line 340 of file JD2ResourceManager.cc.
Referenced by read_resources_tags().
| void protocols::jd2::JD2ResourceManager::read_resources_tags | ( | utility::tag::TagPtr | tags) |
read through all the resources, and put them into the base class for later instantiation. Make sure each resource is named, that it is the only resource that has been declared with this name, and that
Definition at line 466 of file JD2ResourceManager.cc.
References check_resource_loader_type(), read_resource_locator_items(), read_resource_options_tag_item(), read_resource_table_tag(), and read_resource_tag_item().
Referenced by protocols::jd2::JD2ResourceManagerJobInputter::fill_jobs_from_stream().
|
friend |
Definition at line 39 of file JD2ResourceManager.hh.
|
private |
Definition at line 246 of file JD2ResourceManager.hh.
Referenced by get_resource(), and has_resource_with_description().
1.8.4