Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::IO::RemoteFileCache Class Reference

Public Member Functions

 AZ_CLASS_ALLOCATOR (RemoteFileCache, OSAllocator)
 
 RemoteFileCache (const RemoteFileCache &other)=default
 
 RemoteFileCache (RemoteFileCache &&other)
 
RemoteFileCacheoperator= (RemoteFileCache &&other)
 
void Invalidate ()
 
AZ::u64 RemainingBytes ()
 
AZ::u64 CacheFilePosition ()
 
AZ::u64 CacheStartFilePosition ()
 
AZ::u64 CacheEndFilePosition ()
 
bool IsFilePositionInCache (AZ::u64 filePosition)
 
void SetCachePositionFromFilePosition (AZ::u64 filePosition)
 
void SetFilePosition (AZ::u64 filePosition)
 
void OffsetFilePosition (AZ::s64 offset)
 
bool Eof ()
 
void SyncCheck ()
 

Public Attributes

AZStd::vector< char, AZ::OSStdAllocator > m_cacheLookaheadBuffer
 
AZ::u64 m_cacheLookaheadPos = 0
 
AZ::u64 m_fileSize = 0
 
AZ::u64 m_fileSizeTime = 0
 
AZ::u64 m_filePosition = 0
 
HandleType m_fileHandle = AZ::IO::InvalidHandle
 
OpenMode m_openMode = OpenMode::Invalid
 

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