clan::FileResourceManager Class Reference

Resource manager loading from FileResourceDocument. More...

#include <file_resource_manager.h>

Static Public Member Functions

static void add_cache_factory (std::function< void(ResourceManager &, const FileResourceDocument &)> factory_callback)
 Adds a cache factory callback. More...
 
static ResourceManager create (const FileResourceDocument &doc=FileResourceDocument())
 Creates a resource manager. More...
 
static FileResourceDocumentget_doc (const ResourceManager &manager)
 Gets the XML resource document used by a resource manager. More...
 

Detailed Description

Resource manager loading from FileResourceDocument.

Member Function Documentation

static void clan::FileResourceManager::add_cache_factory ( std::function< void(ResourceManager &, const FileResourceDocument &)>  factory_callback)
static

Adds a cache factory callback.

Each factory callback is invoked every time a resource manager is created.

static ResourceManager clan::FileResourceManager::create ( const FileResourceDocument doc = FileResourceDocument())
static

Creates a resource manager.

static FileResourceDocument& clan::FileResourceManager::get_doc ( const ResourceManager manager)
static

Gets the XML resource document used by a resource manager.


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