|
| | TestFileCache (unsigned int flags, std::unique_ptr< IFileCacheSource > source) |
| |
| bool | WaitForSeekRequest (std::chrono::milliseconds timeout) |
| |
| bool | WaitForDirectSeekWait (std::chrono::milliseconds timeout) |
| |
| | CFileCache (const unsigned int flags) |
| |
| | ~CFileCache () override |
| |
| void | Process () override |
| |
| void | OnExit () override |
| |
| void | StopThread (bool bWait=true) override |
| |
| bool | Open (const CURL &url) override |
| |
| void | Close () override |
| |
| bool | Exists (const CURL &url) override |
| |
| int | Stat (const CURL &url, struct __stat64 *buffer) override |
| | Fills struct __stat64 with information about file specified by url.
|
| |
| ssize_t | Read (void *lpBuf, size_t uiBufSize) override |
| |
| int64_t | Seek (int64_t iFilePosition, int iWhence) override |
| |
| int64_t | GetPosition () override |
| |
| int64_t | GetLength () override |
| |
| int | IoControl (IOControl request, void *param) override |
| |
| IFile * | GetFileImp () |
| |
| const std::string | GetProperty (XFILE::FileProperty type, const std::string &name="") const override |
| |
| const std::vector< std::string > | GetPropertyValues (XFILE::FileProperty type, const std::string &name="") const override |
| |
| | IFile () |
| |
| virtual | ~IFile () |
| |
| virtual bool | OpenForWrite (const CURL &url, bool bOverWrite=false) |
| |
| virtual bool | ReOpen (const CURL &url) |
| |
| virtual int | Stat (struct __stat64 *buffer) |
| |
| virtual ssize_t | Write (const void *bufPtr, size_t bufSize) |
| |
| virtual ReadLineResult | ReadLine (char *buffer, std::size_t bufferSize) |
| |
| virtual void | Flush () |
| |
| virtual int | Truncate (int64_t size) |
| |
| virtual int | GetChunkSize () |
| |
| virtual double | GetDownloadSpeed () |
| |
| virtual bool | Delete (const CURL &url) |
| |
| virtual bool | Rename (const CURL &url, const CURL &urlnew) |
| |
| virtual bool | SetHidden (const CURL &url, bool hidden) |
| |
| | CThread (IRunnable *pRunnable, const char *ThreadName) |
| |
| virtual | ~CThread () |
| |
| void | Create (bool bAutoDelete=false) |
| |
| template<typename Rep , typename Period > |
| void | Sleep (std::chrono::duration< Rep, Period > duration) |
| |
| bool | IsAutoDelete () const |
| |
| bool | IsRunning () const |
| |
| bool | IsCurrentThread () const |
| |
| bool | Join (std::chrono::milliseconds duration) |
| |
| bool | SetPriority (const ThreadPriority &priority) |
| | Set the threads priority. This uses the platforms native threading library to do so.
|
| |
| bool | SetTask (const ThreadTask &task) |
| | Assign the current thread a task for OS scheduling (platform dependent)
|
| |
| bool | RevertTask () |
| | Revert the current thread to normal scheduling (platform dependent)
|
| |
| virtual void | OnException () |
| |