|
Public Member Functions |
| ThreadedFileWorker (CString sPath) |
| ~ThreadedFileWorker () |
void | SetTimeout (float fSeconds) |
RageFileBasic * | Open (const CString &sPath, int iMode, int &iErr) |
void | Close (RageFileBasic *pFile) |
int | GetFileSize (RageFileBasic *&pFile) |
int | Read (RageFileBasic *&pFile, void *pBuf, int iSize, CString &sError) |
int | Write (RageFileBasic *&pFile, const void *pBuf, int iSize, CString &sError) |
int | Flush (RageFileBasic *&pFile, CString &sError) |
RageFileBasic * | Copy (RageFileBasic *&pFile, CString &sError) |
bool | FlushDirCache (const CString &sPath) |
bool | PopulateFileSet (FileSet &fs, const CString &sPath) |
Private Member Functions |
void | WorkerMain () |
bool | DoRequest (ThreadRequest r) |
Static Private Member Functions |
int | StartWorkerMain (void *pThis) |
Private Attributes |
RageThread | m_WorkerThread |
RageEvent | m_WorkerEvent |
RageFileDriver * | m_pChildDriver |
RageTimer | m_Timeout |
ThreadRequest | m_Request |
bool | m_bRequestFinished |
bool | m_bTimedOut |
vector< RageFileBasic * > | m_apDeletedFiles |
CString | m_sRequestPath |
RageFileBasic * | m_pResultFile |
FileSet | m_ResultFileSet |
int | m_iRequestMode |
RageFileBasic * | m_pRequestFile |
int | m_iResultRequest |
int | m_iRequestSize |
CString | m_sResultError |
char * | m_pResultBuffer |
char * | m_pRequestBuffer |