Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

BackgroundLoader Class Reference

#include <RageUtil_BackgroundLoader.h>

Collaboration diagram for BackgroundLoader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BackgroundLoader ()
 ~BackgroundLoader ()
void CacheFile (const CString &file)
bool IsCacheFileFinished (const CString &sFile, CString &sActualPath)
void FinishedWithCachedFile (CString sFile)
void Abort ()

Private Member Functions

void LoadThread ()
CString GetRequest ()
CString GetCachePath (CString sPath) const

Static Private Member Functions

int LoadThread_Start (void *p)

Private Attributes

RageThread m_LoadThread
bool m_bShutdownThread
CString m_sCachePathPrefix
RageSemaphore m_StartSem
RageMutex m_Mutex
vector< CString > m_CacheRequests
map< CString, intm_FinishedRequests
bool m_sThreadIsActive
bool m_sThreadShouldAbort
RageFileDriverCached * m_pDriver

Constructor & Destructor Documentation

BackgroundLoader::BackgroundLoader  ) 
 

BackgroundLoader::~BackgroundLoader  ) 
 


Member Function Documentation

void BackgroundLoader::Abort  ) 
 

void BackgroundLoader::CacheFile const CString &  file  ) 
 

void BackgroundLoader::FinishedWithCachedFile CString  sFile  ) 
 

CString BackgroundLoader::GetCachePath CString  sPath  )  const [private]
 

CString BackgroundLoader::GetRequest  )  [private]
 

bool BackgroundLoader::IsCacheFileFinished const CString &  sFile,
CString &  sActualPath
 

void BackgroundLoader::LoadThread  )  [private]
 

int BackgroundLoader::LoadThread_Start void *  p  )  [inline, static, private]
 


Member Data Documentation

bool BackgroundLoader::m_bShutdownThread [private]
 

vector<CString> BackgroundLoader::m_CacheRequests [private]
 

map<CString,int> BackgroundLoader::m_FinishedRequests [private]
 

RageThread BackgroundLoader::m_LoadThread [private]
 

RageMutex BackgroundLoader::m_Mutex [private]
 

RageFileDriverCached* BackgroundLoader::m_pDriver [private]
 

CString BackgroundLoader::m_sCachePathPrefix [private]
 

RageSemaphore BackgroundLoader::m_StartSem [private]
 

bool BackgroundLoader::m_sThreadIsActive [private]
 

bool BackgroundLoader::m_sThreadShouldAbort [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 20:58:42 2005 for StepMania by doxygen 1.3.7