ManaPlus
Namespaces | Functions
resourcemanager.h File Reference

(986a3bf)

#include "resources/resourcefunctiontypes.h"
#include "localconsts.h"

Go to the source code of this file.

Namespaces

 ResourceManager
 

Functions

void ResourceManager::deleteResourceManager ()
 
ResourceResourceManager::get (const std::string &idPath, generator fun, const void *const data)
 
ResourceResourceManager::getFromCache (const std::string &idPath)
 
ResourceResourceManager::getFromCache (const std::string &filename, const int variant)
 
bool ResourceManager::addResource (const std::string &idPath, Resource *const resource)
 
void ResourceManager::release (Resource *const res)
 
void ResourceManager::clearDeleted (const bool full)
 
void ResourceManager::decRefDelete (Resource *const res)
 
void ResourceManager::moveToDeleted (Resource *const res)
 
void ResourceManager::scheduleDelete (SDL_Surface *const surface)
 
void ResourceManager::clearScheduled ()
 
void ResourceManager::deleteInstance ()
 
int ResourceManager::size ()
 
bool ResourceManager::cleanOrphans (const bool always)
 
void ResourceManager::cleanProtected ()
 
bool ResourceManager::isInCache (const std::string &idPath)
 
ResourceResourceManager::getTempResource (const std::string &idPath)
 
void ResourceManager::clearCache ()
 
int ResourceManager::calcMemoryLocal ()
 
int ResourceManager::calcMemoryChilds (const int level)
 
int ResourceManager::calcMemory (const int level)
 
void ResourceManager::cleanUp (Resource *const res)
 
void ResourceManager::logResource (const Resource *const res)
 
void ResourceManager::logResources (const std::string &msg)