Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ThreadedFileWorker Class Reference
Inheritance diagram for ThreadedFileWorker:
Inheritance graph
[legend]
Collaboration diagram for ThreadedFileWorker:
Collaboration graph
[legend]

Public Member Functions

 ThreadedFileWorker (std::string sPath)
 
RageFileBasicOpen (const std::string &sPath, int iMode, int &iErr)
 
void Close (RageFileBasic *pFile)
 
int GetFileSize (RageFileBasic *&pFile)
 
int GetFD (RageFileBasic *&pFile)
 
int Seek (RageFileBasic *&pFile, int iPos, std::string &sError)
 
int Read (RageFileBasic *&pFile, void *pBuf, int iSize, std::string &sError)
 
int Write (RageFileBasic *&pFile, const void *pBuf, int iSize, std::string &sError)
 
int Flush (RageFileBasic *&pFile, std::string &sError)
 
RageFileBasicCopy (RageFileBasic *&pFile, std::string &sError)
 
bool FlushDirCache (const std::string &sPath)
 
int Move (const std::string &sOldPath, const std::string &sNewPath)
 
int Remove (const std::string &sPath)
 
bool PopulateFileSet (FileSet &fs, const std::string &sPath)
 
- Public Member Functions inherited from RageWorkerThread
 RageWorkerThread (const std::string &sName)
 
void SetTimeout (float fSeconds)
 
bool TimeoutEnabled () const
 
bool IsTimedOut () const
 
bool WaitForOneHeartbeat ()
 

Protected Member Functions

void HandleRequest (int iRequest) override
 
void RequestTimedOut () override
 
- Protected Member Functions inherited from RageWorkerThread
void StartThread ()
 
void StopThread ()
 
bool DoRequest (int iRequest)
 
void SetHeartbeat (float fSeconds)
 
virtual void DoHeartbeat ()
 

Member Function Documentation

◆ HandleRequest()

void ThreadedFileWorker::HandleRequest ( int  iRequest)
overrideprotectedvirtual

Implements RageWorkerThread.

◆ RequestTimedOut()

void ThreadedFileWorker::RequestTimedOut ( )
overrideprotectedvirtual

Reimplemented from RageWorkerThread.


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