40 #ifndef _resourcemanager_h
41 #define _resourcemanager_h
44 #include "entresolmanager.h"
45 #include "entresolmanagerfactory.h"
46 #include "singleton.h"
47 #include "Resource/resourceenumerations.h"
55 class ResourceGroupManager;
66 %
template(SingletonResourceManager) Singleton<ResourceManager>;
188 void DestroyAssetGroup(
const String& GroupName);
191 void DestroyAssetGroup(
AssetGroup* ToBeDestroyed);
193 void DestroyAllAssetGroups();
201 void InitAssetGroup(
const String& GroupName);
218 String GetEngineDataDirectory()
const;
222 String GetPluginExtension()
const;
225 virtual void Initialize();
227 virtual void Deinitialize();
244 virtual String GetImplementationTypeName()
const;
261 String GetManagerImplName()
const;
A factory responsible for the creation and destruction of the default resourcemanager.
bool Boole
Generally acts a single bit, true or false.
Ogre::ResourceGroupManager * OgreResource
Encapsulates the functionality of the ogre resource group manager.
String EngineDataDir
The location of engine data.
ManagerType
A listing of Manager Types.
This is a base class for factories that construct managers used by the Entresol class.
All the definitions for datatypes as well as some basic conversion functions are defined here...
A simple reference counting pointer.
ArchiveType
Used to indicate what kind of resources the Entrosol should look for.
DataStreamContainer::iterator DataStreamIterator
Iterator type for DataStream instances stored by this class.
NamedDataStreamContainer::iterator NamedDataStreamIterator
Iterator type for named DataStream instances stored by this class.
DataStreamContainer::const_iterator ConstDataStreamIterator
Const Iterator type for DataStream instances stored by this class.
AssetGroupContainer::const_iterator ConstAssetGroupIterator
Const Iterator type for AssetGroup instances stored in this class.
This is the base class for all managers that do no describe properties of a single world...
AssetGroupContainer::iterator AssetGroupIterator
Iterator type for AssetGroup instances stored in this class.
A light-weight handle for manipulating nodes in DOM tree.
uint32_t UInt32
An 32-bit unsigned integer.
NamedDataStreamContainer::const_iterator ConstNamedDataStreamIterator
Const Iterator type for named DataStream instances stored by this class.
static const String ImplementationName
A String containing the name of this manager implementation.
This is the manager responsible for the loading and unloading of files.
This is a class that stores a specific grouping of Assets, usually based on thier location...
std::map< String, AssetGroup * > AssetGroupContainer
Basic container type for AssetGroup storage in this class.
std::list< NameValuePair > NameValuePairList
This is a datatype mostly used for describing settings or parameters that can't be declared in advanc...
AssetGroupContainer AssetGroups
Container storing all of the asset groups created and managed by this manager.
The bulk of the engine components go in this namspace.
static const ManagerBase::ManagerType InterfaceType
A ManagerType enum value used to describe the type of interface/functionality this manager provides...
std::string String
A datatype used to a series of characters.
std::vector< Resource::DataStreamPtr > DataStreamContainer
Basic container type for DataStream storage by this class.
std::map< String, Resource::DataStreamPtr > NamedDataStreamContainer
Basic container type for named DataStream storage by this class.
Declaration of DataStream.