VisioMove SDK (iOS)  2.1.22
VgEngine::VgIResourceManager Class Referenceabstract

Public Member Functions

virtual ~VgIResourceManager ()
 
virtual VgEngine::VgRefPtr< VgBinaryBufferreadFromFileOrURL (const std::string &pFilenameOrURL)=0
 
virtual VgEngine::VgRefPtr< VgEngine::VgIResourceRequestreadFromFileOrURL (const VgResourceRequestParameters &pParameters)=0
 

Protected Member Functions

 VgIResourceManager ()
 

Detailed Description

Manages resources.

Constructor & Destructor Documentation

VgEngine::VgIResourceManager::VgIResourceManager ( )
inlineprotected

Constructor.

virtual VgEngine::VgIResourceManager::~VgIResourceManager ( )
inlinevirtual

Destructor.

Member Function Documentation

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.

Parameters
pFilenameOrURLFile-system path or URL of the resource
Returns
The buffer filled with the source content.
virtual VgEngine::VgRefPtr< VgEngine::VgIResourceRequest > VgEngine::VgIResourceManager::readFromFileOrURL ( const VgResourceRequestParameters pParameters)
pure virtual

Reads asynchronously a file or a URL.

Parameters
pParametersParameters of the request.
Returns
The resulting request. If the callback is NULL or the URI is empty, it returns NULL.
Remarks
this function currently works ONLY IF a configuration is loaded since it relies on threads being created.

The documentation for this class was generated from the following file:
VisioMove 2.1.22, Visioglobe® 2016