|
virtual | ~LazyResourceManager () |
|
virtual ResourceOP | create_resource_by_job_tag (ResourceDescription const &resource_description, JobTag const &job_tag) const |
|
virtual void | add_resource_tag_by_job_tag (ResourceDescription const &resource_description, JobTag const &job_tag, ResourceTag const &resource_tag) |
|
virtual bool | has_resource_tag_by_job_tag (ResourceDescription const &resource_description, JobTag const &job_tag) const |
|
virtual ResourceTag | find_resource_tag_by_job_tag (ResourceDescription const &resource_description, JobTag const &job_tag) const |
|
virtual ResourceOP | get_resource_by_job_tag (ResourceDescription const &resource_description, JobTag const &job_tag) |
|
virtual std::list< ResourceTag > | get_resource_tags_for_job_tag (JobTag const &job_tag) const |
|
virtual platform::Size | get_count_of_jobs_associated_with_resource_tag (ResourceTag const &resource_tag) const |
|
virtual void | mark_job_tag_as_complete (JobTag const &job_tag) |
| remove the Job tag from incomplete_job_sets_ for each resource More...
|
|
virtual void | free_resource_by_job_tag (ResourceDescription const &resource_description, JobTag const &job_tag) |
|
virtual void | free_resource_by_tag (ResourceTag const &resource_tag) |
|
virtual void | clear () |
| wipe out all data; useful for unit testing, but hard to fathom how it would be useful otherwise. More...
|
|
virtual void | add_job_options (JobTag const &job_tag, JobOptionsOP job_options) |
|
virtual bool | has_job_options (JobTag const &job_tag) const |
|
virtual JobOptionsOP | get_job_options (JobTag const &job_tag) const |
|
virtual void | add_resource_configuration (ResourceTag const &resource_tag, ResourceConfiguration const &resource_configuration) |
|
virtual void | add_resource_locator (LocatorTag const &locator_tag, ResourceLocatorOP resource_locator) |
|
virtual void | add_resource_options (ResourceOptionsTag const &resource_options_tag, ResourceOptionsOP resource_options) |
|
virtual ResourceConfiguration
const & | find_resource_configuration (ResourceTag const &resource_tag) const |
|
virtual ResourceLocatorOP | find_resource_locator (LocatorTag const &locator_tag) const |
|
virtual ResourceOptionsOP | find_resource_options (ResourceOptionsTag const &resource_options_tag) const |
|
virtual bool | has_resource (ResourceTag const &resource_tag) const |
| Does a resource with a given name exist? More...
|
|
virtual ResourceOP | find_resource (ResourceTag const &resource_tag) |
| Get a resource with a given name. More...
|
|
virtual ResourceOP | create_resource (ResourceTag const &resource_tag) const |
|
virtual void | create_resources (JobTag const &) |
| Create all the resources for a particular job; this should be implemented by the derived class. The implementation in this class calls utility::exit. More...
|
|
virtual void | show (std::ostream &out) const |
|
bool | has_resource_configuration (ResourceTag const &resource_tag) const |
| has a ResourceConfiguration been provided to the LazyResourceManager for a Resource with a particular ResourceTag? More...
|
|
bool | has_resource_locator (LocatorTag const &locator_tag) const |
| has a ResourceLocator object been provided to the LazyResourceManager which has a particular LocatorTag? More...
|
|
bool | has_resource_options (ResourceOptionsTag const &resource_options_tag) const |
| has a ResourceOptions object been provided to the LazyResourceManager which has a particular ResourceOptionsTag? More...
|
|
virtual bool | has_resource_with_description (ResourceDescription const &resource_description)=0 |
| A protocol may ask whether a resource with a given resource description has been provided. It is possible that some resources are available sometimes when running a protocol, but not always (e.g. when running abinitio, sometimes you don't know what the native structure is). More...
|
|
virtual ResourceOP | get_resource (ResourceDescription const &resource_description)=0 |
| Returns the resource with the given resource_description. More...
|
|
virtual bool | get_option (utility::options::BooleanOptionKey key) const =0 |
| Retrieve the boolean value represented by the given option key. More...
|
|
virtual utility::vector1< bool >
const & | get_option (utility::options::BooleanVectorOptionKey key) const =0 |
| Retrieve the vector of boolean values represented by the given option key. More...
|
|
virtual
utility::file::FileName const & | get_option (utility::options::FileOptionKey key) const =0 |
| Retrieve the FileName value represented by the given option key. More...
|
|
virtual utility::vector1
< utility::file::FileName >
const & | get_option (utility::options::FileVectorOptionKey key) const =0 |
| Retrieve the vector of FileName values represented by the given option key. More...
|
|
virtual int | get_option (utility::options::IntegerOptionKey key) const =0 |
| Retrieve the integer value represented by the given option key. More...
|
|
virtual utility::vector1< int >
const & | get_option (utility::options::IntegerVectorOptionKey key) const =0 |
| Retrieve the vector of integer values represented by the given option key. More...
|
|
virtual
utility::file::PathName const & | get_option (utility::options::PathOptionKey key) const =0 |
| Retrieve the PathName value represented by the given option key. More...
|
|
virtual utility::vector1
< utility::file::PathName >
const & | get_option (utility::options::PathVectorOptionKey key) const =0 |
| Retrieve the vector of PathName values represented by the given option key. More...
|
|
virtual platform::Real | get_option (utility::options::RealOptionKey key) const =0 |
| Retrieve the Real value represented by the given option key. More...
|
|
virtual utility::vector1
< platform::Real > const & | get_option (utility::options::RealVectorOptionKey key) const =0 |
| Retrieve the vector of Real values represented by the given option key. More...
|
|
virtual std::string const & | get_option (utility::options::StringOptionKey key) const =0 |
| Retrieve the string value represented by the given option key. More...
|
|
virtual utility::vector1
< std::string > const & | get_option (utility::options::StringVectorOptionKey key) const =0 |
| Retrieve the vector of string values represented by the given option key. More...
|
|
virtual bool | has_option (utility::options::BooleanOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::BooleanVectorOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::FileOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::FileVectorOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::IntegerOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::IntegerVectorOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::PathOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::PathVectorOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::RealOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::RealVectorOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::StringOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
virtual bool | has_option (utility::options::StringVectorOptionKey key) const =0 |
| Return whether or not a value has been provided for the given option key either on the command line or through for the current job. More...
|
|
This is a mule class, meant to be derived from. It's job is to hold ResourceOptions and ResourceLocator objects by name (tag) as well as the ResourceConfigurations which serve as complete descriptions for how to construct a Resource. It should be thought of as a mule by classes that derive from it: it won't do anything on its own, but it can be directed to do things. The point of the class is to ake it easier to create ResourceManagers besides the JD2ResourceManager, which, at the time of this documentation, is the only class that derives from the LazyResourceManager.