#include <CacheStrategy.h>
◆ CDoubleCache()
◆ ~CDoubleCache()
CDoubleCache::~CDoubleCache |
( |
| ) |
|
|
override |
◆ CachedDataEndPos()
int64_t CDoubleCache::CachedDataEndPos |
( |
| ) |
|
|
overridevirtual |
◆ CachedDataEndPosIfSeekTo()
int64_t CDoubleCache::CachedDataEndPosIfSeekTo |
( |
int64_t | iFilePosition | ) |
|
|
overridevirtual |
◆ CachedDataStartPos()
int64_t CDoubleCache::CachedDataStartPos |
( |
| ) |
|
|
overridevirtual |
◆ ClearEndOfInput()
void CDoubleCache::ClearEndOfInput |
( |
| ) |
|
|
overridevirtual |
◆ Close()
void CDoubleCache::Close |
( |
| ) |
|
|
overridevirtual |
◆ 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()
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.
◆ Seek()
◆ WaitForData()
int64_t CDoubleCache::WaitForData |
( |
uint32_t | iMinAvail, |
|
|
std::chrono::milliseconds | timeout ) |
|
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: