|
| CDoubleCache (CCacheStrategy *impl) |
|
int | Open () override |
|
void | Close () override |
|
size_t | GetMaxWriteSize (const size_t &iRequestSize) override |
|
int | WriteToCache (const char *pBuffer, size_t iSize) override |
|
int | ReadFromCache (char *pBuffer, size_t iMaxSize) override |
|
int64_t | WaitForData (uint32_t iMinAvail, std::chrono::milliseconds timeout) override |
|
int64_t | Seek (int64_t iFilePosition) override |
|
bool | Reset (int64_t iSourcePosition) override |
| Reset cache position. More...
|
|
void | EndOfInput () override |
|
bool | IsEndOfInput () override |
|
void | ClearEndOfInput () override |
|
int64_t | CachedDataEndPosIfSeekTo (int64_t iFilePosition) override |
|
int64_t | CachedDataStartPos () override |
|
int64_t | CachedDataEndPos () override |
|
bool | IsCachedPosition (int64_t iFilePosition) override |
|
CCacheStrategy * | CreateNew () override |
|
◆ Reset()
bool CDoubleCache::Reset |
( |
int64_t |
iSourcePosition | ) |
|
|
overridevirtual |
Reset cache position.
- Parameters
-
iSourcePosition | position to reset to |
- Returns
- Whether a full reset was performed, or not (e.g. only cache swap)
- See also
- CCacheStrategy
Implements XFILE::CCacheStrategy.
The documentation for this class was generated from the following files: