Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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>

Inheritance diagram for basic::resource_manager::ResourceLoaderCreator:
Inheritance graph
[legend]

Public Member Functions

 ~ResourceLoaderCreator () override
 
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...
 
virtual void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) const =0
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

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 ( )
overridedefault

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.

virtual void basic::resource_manager::ResourceLoaderCreator::provide_xml_schema ( utility::tag::XMLSchemaDefinition xsd) const
pure virtual

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