![]() |
Rosetta Utilities
2014.16.56682
|
The FallbackConfigurationCreator plays the role in the ResourceManager framework of gluing a "resource_description" string and a FallbackConfiguration together. More...
#include <FallbackConfigurationCreator.hh>
Public Member Functions | |
| virtual | ~FallbackConfigurationCreator () |
| virtual FallbackConfigurationOP | create_fallback_configuration () const =0 |
| virtual std::string | resource_description () const =0 |
Public Member Functions inherited from utility::pointer::ReferenceCount | |
| void | ctor () |
| virtual | ~ReferenceCount () |
| Destructor. More... | |
| Size | ref_count () const |
| Reference count. More... | |
Additional Inherited Members | |
Public Types inherited from utility::pointer::ReferenceCount | |
| typedef platform::Size | Size |
| typedef platform::Size | size_type |
Protected Member Functions inherited from utility::pointer::ReferenceCount | |
| ReferenceCount () | |
| Default constructor. More... | |
| ReferenceCount (ReferenceCount const &) | |
| Copy constructor. More... | |
| ReferenceCount & | operator= (ReferenceCount const &) |
| Copy assignment. More... | |
The FallbackConfigurationCreator plays the role in the ResourceManager framework of gluing a "resource_description" string and a FallbackConfiguration together.
The ResourceManager looks to a FallbackConfiguration when a resource is requested by a resource description string but no resource definition file has been provided. In such a case, the FallbackConfiguration will provide the information the ResourceManager needs to create the resource. It's the FallbackConfigurationCreator's job to inform the ResourceManager which FallbackConfiguration to talk to.
Each class derived from the FallbackConfigurationCreator will instantiate a single FallbackConfiguration and act to pair a string, a "resource description," with that FallbackConfiguration. For example "LoopFile" as a resource description will be paired by the LoopFileFallbackConfigurationCreator with the LoopFileFallbackConfiguration. Multiple resource descriptions can be paired with a single FallbackConfiguration.
|
virtual |
|
pure virtual |
|
pure virtual |
1.8.7