25 #ifndef GRAPHICS_MESH_MESHMAN_H    26 #define GRAPHICS_MESH_MESHMAN_H    66     std::map<Common::UString, Mesh *>::iterator 
delResource(std::map<Common::UString, Mesh *>::iterator iter);
    74 #define MeshMan Graphics::Mesh::MeshManager::instance()    76 #endif // GRAPHICS_MESH_MESHMAN_H Class and macro for implementing singletons. 
A class holding an UTF-8 string. 
Generic mesh handling class. 
Mesh * getMesh(const Common::UString &name)
Returns a mesh with the given name, or zero if it does not exist. 
void delMesh(Mesh *mesh)
Forcibly remove the mesh from the map. 
Generic template base class for implementing the singleton design pattern. 
std::map< Common::UString, Mesh * >::iterator delResource(std::map< Common::UString, Mesh *>::iterator iter)
void cleanup()
Remove any resource that has a usage count of zero. 
std::map< Common::UString, Mesh * > _resourceMap
void deinit()
Deinitialise mesh management subsystem. 
void addMesh(Mesh *mesh)
Adds a mesh to be managed. 
void init()
Initialise mesh management, including default mesh creation.