The ResourceLoader is responsible for instantiating a Resource object and initializing it. In order to do so, the ResourceLoader is given an input stream and a XML "Tag" object. The ResourceLoader can also request other Resources from the ResourceManager in trying to construct a particular resource.
More...
#include <ResourceLoader.hh>
The ResourceLoader is responsible for instantiating a Resource object and initializing it. In order to do so, the ResourceLoader is given an input stream and a XML "Tag" object. The ResourceLoader can also request other Resources from the ResourceManager in trying to construct a particular resource.
◆ ~ResourceLoader()
basic::resource_manager::ResourceLoader::~ResourceLoader |
( |
| ) |
|
|
overridedefault |
◆ create_resource()
Create a resource, held in an owning pointer, of any type which will be stored in the ResourceManager; a resource may depend on another resource held / managed by the ResourceManager. If a second (or third, or fourth, etc.) resource is requested during the construction of this resource, the resource manager will take note of their interdependency and preserve the second resource for as long as the first one has not been deallocated.
The documentation for this class was generated from the following files: