![]() |
Rosetta Protocols
2014.16.56682
|
LoopHashLibraryLoader constructs a LoopHashLibrary instance from data provided by the ResourceManager. More...
#include <LoopHashLibraryLoader.hh>
Public Member Functions | |
| LoopHashLibraryLoader () | |
| Construct the LoopHashLibraryLoader. More... | |
| virtual | ~LoopHashLibraryLoader () |
| Destructor. More... | |
| virtual basic::resource_manager::ResourceOP | create_resource (basic::resource_manager::ResourceOptions const &options, basic::resource_manager::LocatorID const &, std::istream &) const |
| Return a LoopHashLibraryOP constructed from the given ResourceOptions. More... | |
| virtual basic::resource_manager::ResourceOptionsOP | default_options () const |
| Return a ResourceOptionsOP with the default set of options. More... | |
LoopHashLibraryLoader constructs a LoopHashLibrary instance from data provided by the ResourceManager.
The LoopHashLibraryLoader is given a LoopHashLibraryOptions containing a vector of loop lengths from the ResourceManager. This information is then used to produce a LoopHashLibraryOP to return to the protocol.
| protocols::loophash::LoopHashLibraryLoader::LoopHashLibraryLoader | ( | ) |
Construct the LoopHashLibraryLoader.
|
inlinevirtual |
Destructor.
|
virtual |
Return a LoopHashLibraryOP constructed from the given ResourceOptions.
Ensure the ResourceOptions is a LoopHashLibraryOptions instance and construct a new LoopHashLibrary from it. The locator_id and istream are not used.
| utility::excn::EXCN_Msg_Exception |
Implements basic::resource_manager::ResourceLoader.
References protocols::loophash::LoopHashLibrary::load_mergeddb(), protocols::loophash::LoopHashLibraryOptions::loop_sizes(), and basic::resource_manager::ResourceOptions::type().
|
inlinevirtual |
Return a ResourceOptionsOP with the default set of options.
Implements basic::resource_manager::ResourceLoader.
1.8.7