OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
osgMyGUI::DataManager Class Reference

#include <myguidatamanager.hpp>

Inheritance diagram for osgMyGUI::DataManager:
Collaboration diagram for osgMyGUI::DataManager:

Public Member Functions

void initialise ()
 
void shutdown ()
 
void setResourcePath (const std::string &path)
 
virtual MyGUI::IDataStream * getData (const std::string &_name)
 
virtual void freeData (MyGUI::IDataStream *_data)
 
virtual bool isDataExist (const std::string &_name)
 
virtual const MyGUI::VectorString & getDataListNames (const std::string &_pattern)
 
virtual const std::string & getDataPath (const std::string &_name)
 

Private Attributes

std::string mResourcePath
 

Member Function Documentation

void osgMyGUI::DataManager::freeData ( MyGUI::IDataStream *  _data)
virtual

Free data stream.

Parameters
_dataData stream.
MyGUI::IDataStream * osgMyGUI::DataManager::getData ( const std::string &  _name)
virtual

Get data stream from specified resource name.

Parameters
_nameResource name (usually file name).

Here is the call graph for this function:

const MyGUI::VectorString & osgMyGUI::DataManager::getDataListNames ( const std::string &  _pattern)
virtual

Get all data names with names that matches pattern.

Parameters
_patternPattern to match (for example "*.layout").

Here is the call graph for this function:

const std::string & osgMyGUI::DataManager::getDataPath ( const std::string &  _name)
virtual

Get full path to data.

Parameters
_nameResource name.
Returns
Return full path to specified data.

Here is the call graph for this function:

Here is the caller graph for this function:

void osgMyGUI::DataManager::initialise ( )
inline

Here is the caller graph for this function:

bool osgMyGUI::DataManager::isDataExist ( const std::string &  _name)
virtual

Is data with specified name exist.

Parameters
_nameResource name.

Here is the caller graph for this function:

void osgMyGUI::DataManager::setResourcePath ( const std::string &  path)

Here is the caller graph for this function:

void osgMyGUI::DataManager::shutdown ( )
inline

Here is the caller graph for this function:

Member Data Documentation

std::string osgMyGUI::DataManager::mResourcePath
private

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