OpenMW
|
Classes | |
struct | mutex |
Static Public Member Functions | |
static ptr | create (const std::string &name) |
static void | release (NIFFile *file) |
static void | lockCache () |
static void | unlockCache () |
Private Types | |
typedef boost::lock_guard< mutex > | lock_guard |
typedef std::map< std::string, boost::weak_ptr< NIFFile > > | loaded_map |
typedef std::vector < boost::shared_ptr< NIFFile > > | locked_files |
Static Private Attributes | |
static int | sLockLevel = 0 |
static mutex | sProtector |
static loaded_map | sLoadedMap |
static locked_files | sLockedFiles |
typedef std::map< std::string, boost::weak_ptr <NIFFile> > Nif::NIFFile::LoadedCache::loaded_map [private] |
typedef boost::lock_guard<mutex> Nif::NIFFile::LoadedCache::lock_guard [private] |
typedef std::vector< boost::shared_ptr <NIFFile> > Nif::NIFFile::LoadedCache::locked_files [private] |
static ptr Nif::NIFFile::LoadedCache::create | ( | const std::string & | name | ) | [inline, static] |
static void Nif::NIFFile::LoadedCache::lockCache | ( | ) | [inline, static] |
static void Nif::NIFFile::LoadedCache::release | ( | NIFFile * | file | ) | [inline, static] |
static void Nif::NIFFile::LoadedCache::unlockCache | ( | ) | [inline, static] |
NIFFile::LoadedCache::loaded_map Nif::NIFFile::LoadedCache::sLoadedMap [static, private] |
NIFFile::LoadedCache::locked_files Nif::NIFFile::LoadedCache::sLockedFiles [static, private] |
int Nif::NIFFile::LoadedCache::sLockLevel = 0 [static, private] |
NIFFile::LoadedCache::mutex Nif::NIFFile::LoadedCache::sProtector [static, private] |