Manages resources. More...
Public Member Functions | |
virtual | ~VgIResourceManager () |
Destructor. | |
virtual VgEngine::VgRefPtr < VgBinaryBuffer > | readFromFileOrURL (const std::string &pFilenameOrURL)=0 |
Reads synchronously a file or a URL. | |
virtual VgEngine::VgRefPtr < VgEngine::VgIResourceRequest > | readFromFileOrURL (const VgResourceRequestParameters &pParameters)=0 |
Reads asynchronously a file or a URL. | |
Protected Member Functions | |
VgIResourceManager () | |
Constructor. |
Manages resources.
VgEngine::VgIResourceManager::VgIResourceManager | ( | ) | [inline, protected] |
Constructor.
virtual VgEngine::VgIResourceManager::~VgIResourceManager | ( | ) | [inline, virtual] |
Destructor.
virtual VgEngine::VgRefPtr< VgBinaryBuffer > VgEngine::VgIResourceManager::readFromFileOrURL | ( | const std::string & | pFilenameOrURL ) | [pure virtual] |
Reads synchronously a file or a URL.
This function does not have the constraint that a configuration has to be loaded.
pFilenameOrURL | File-system path or URL of the resource |
virtual VgEngine::VgRefPtr< VgEngine::VgIResourceRequest > VgEngine::VgIResourceManager::readFromFileOrURL | ( | const VgResourceRequestParameters & | pParameters ) | [pure virtual] |
Reads asynchronously a file or a URL.
pParameters | Parameters of the request. |