Rosetta Utilities  2014.35
Public Member Functions | List of all members
basic::resource_manager::FallbackConfigurationCreator Class Referenceabstract

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...
 
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

basic::resource_manager::FallbackConfigurationCreator::~FallbackConfigurationCreator ( )
virtual

Member Function Documentation

virtual FallbackConfigurationOP basic::resource_manager::FallbackConfigurationCreator::create_fallback_configuration ( ) const
pure virtual
virtual std::string basic::resource_manager::FallbackConfigurationCreator::resource_description ( ) const
pure virtual

The documentation for this class was generated from the following files: