#include <CacheStrategy.h>
§ CDoubleCache()
§ ~CDoubleCache()
| CDoubleCache::~CDoubleCache |
( |
| ) |
|
|
override |
§ CachedDataEndPos()
| int64_t CDoubleCache::CachedDataEndPos |
( |
| ) |
|
|
overridevirtual |
§ CachedDataEndPosIfSeekTo()
| int64_t CDoubleCache::CachedDataEndPosIfSeekTo |
( |
int64_t |
iFilePosition | ) |
|
|
overridevirtual |
§ ClearEndOfInput()
| void CDoubleCache::ClearEndOfInput |
( |
| ) |
|
|
overridevirtual |
§ Close()
§ CreateNew()
§ EndOfInput()
| void CDoubleCache::EndOfInput |
( |
| ) |
|
|
overridevirtual |
§ GetMaxWriteSize()
| size_t CDoubleCache::GetMaxWriteSize |
( |
const size_t & |
iRequestSize | ) |
|
|
overridevirtual |
§ IsCachedPosition()
| bool CDoubleCache::IsCachedPosition |
( |
int64_t |
iFilePosition | ) |
|
|
overridevirtual |
§ IsEndOfInput()
| bool CDoubleCache::IsEndOfInput |
( |
| ) |
|
|
overridevirtual |
§ Open()
| int CDoubleCache::Open |
( |
| ) |
|
|
overridevirtual |
§ ReadFromCache()
| int CDoubleCache::ReadFromCache |
( |
char * |
pBuffer, |
|
|
size_t |
iMaxSize |
|
) |
| |
|
overridevirtual |
§ Reset()
| bool CDoubleCache::Reset |
( |
int64_t |
iSourcePosition, |
|
|
bool |
clearAnyway = true |
|
) |
| |
|
overridevirtual |
Reset cache position.
- Parameters
-
| iSourcePosition | position to reset to |
| clearAnyway | whether to perform a full reset regardless of in cached range already |
- Returns
- Whether a full reset was performed, or not (e.g. only cache swap)
- See also
- CCacheStrategy
Implements XFILE::CCacheStrategy.
§ Seek()
| int64_t CDoubleCache::Seek |
( |
int64_t |
iFilePosition | ) |
|
|
overridevirtual |
§ WaitForData()
| int64_t CDoubleCache::WaitForData |
( |
unsigned int |
iMinAvail, |
|
|
unsigned int |
iMillis |
|
) |
| |
|
overridevirtual |
§ WriteToCache()
| int CDoubleCache::WriteToCache |
( |
const char * |
pBuffer, |
|
|
size_t |
iSize |
|
) |
| |
|
overridevirtual |
§ m_pCache
§ m_pCacheOld
The documentation for this class was generated from the following files: