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

Instantiates a ResourceLoader as part of the ResourceLoaderFactory scheme. Derived classes should be registered with the ResourceLoaderFactory in one of the library init.cc files with a ResourceLoaderRegistrator. More...

#include <ResourceLoaderCreator.hh>

Public Member Functions

virtual ~ResourceLoaderCreator ()
 
virtual ResourceLoaderOP create_resource_loader () const =0
 Instantiate a ResourceLoader. More...
 
virtual std::string loader_type () const =0
 Give the name of the ResourceLoader that this Creator will instantiate. More...
 
- 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

Instantiates a ResourceLoader as part of the ResourceLoaderFactory scheme. Derived classes should be registered with the ResourceLoaderFactory in one of the library init.cc files with a ResourceLoaderRegistrator.

Constructor & Destructor Documentation

basic::resource_manager::ResourceLoaderCreator::~ResourceLoaderCreator ( )
virtual

Member Function Documentation

virtual ResourceLoaderOP basic::resource_manager::ResourceLoaderCreator::create_resource_loader ( ) const
pure virtual
virtual std::string basic::resource_manager::ResourceLoaderCreator::loader_type ( ) const
pure virtual

Give the name of the ResourceLoader that this Creator will instantiate.

Implemented in basic::database::DatabaseSessionLoaderCreator.


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