vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vrecko::PersistentCache::OpenedCacheFile Class Reference

#include <PersistentCache.h>

Public Member Functions

 OpenedCacheFile ()
 
 ~OpenedCacheFile ()
 
const std::string & getTranslatedFileName ()
 
const std::string & getCachedFileName ()
 

Protected Attributes

std::string translatedFileName
 
std::string cachedFileName
 
int iReaders
 
int iWaitingWriters
 
int iWriters
 

Constructor & Destructor Documentation

vrecko::PersistentCache::OpenedCacheFile::OpenedCacheFile ( )
vrecko::PersistentCache::OpenedCacheFile::~OpenedCacheFile ( )

Member Function Documentation

const std::string& vrecko::PersistentCache::OpenedCacheFile::getCachedFileName ( )
inline
const std::string& vrecko::PersistentCache::OpenedCacheFile::getTranslatedFileName ( )
inline

Member Data Documentation

std::string vrecko::PersistentCache::OpenedCacheFile::cachedFileName
protected

full name of the cached file as found on the disk (without path, used for accessing the actual cached file).

int vrecko::PersistentCache::OpenedCacheFile::iReaders
protected

There can be only one [iWriters]. If there are any [iWaitingWriters] OR [iWriters], no [iReaders] can read the file.

int vrecko::PersistentCache::OpenedCacheFile::iWaitingWriters
protected
int vrecko::PersistentCache::OpenedCacheFile::iWriters
protected
std::string vrecko::PersistentCache::OpenedCacheFile::translatedFileName
protected

translated data/filename name (used for checks).


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