#include <AsyncFileHandle.h>
◆ IAsyncReadFileHandle() [1/2]
| IAsyncReadFileHandle::IAsyncReadFileHandle |
( |
| ) |
|
|
inline |
◆ ~IAsyncReadFileHandle()
| virtual IAsyncReadFileHandle::~IAsyncReadFileHandle |
( |
| ) |
|
|
inlinevirtual |
Destructor, also the only way to close the file handle. It is not legal to delete an async file with outstanding requests. You must always call WaitCompletion before deleting a request.
◆ IAsyncReadFileHandle() [2/2]
◆ operator=()
◆ ReadRequest()
Submit an async request and/or wait for an async request
- Parameters
-
| Offset | Offset into the file to start reading. |
| BytesToRead | number of bytes to read. If this request is AIOP_Preache, the size can be anything, even MAX_int64, otherwise the size and offset must be fully contained in the file. |
| PriorityAndFlags | Priority and flags of the request. If this includes AIOP_FLAG_PRECACHE, then memory will never be returned. The request should always be canceled and waited for, even for a precache request. |
| CompleteCallback | Called from an arbitrary thread when the request is complete. Can be nullptr, if non-null, must remain valid until it is called. It will always be called. |
- Returns
- A request for the read. This is owned by the caller and must be deleted by the caller.
Implemented in FGenericAsyncReadFileHandle, FMicrosoftAsyncReadFileHandle, FAsyncReadFileHandleNull, FLoggingAsyncReadFileHandle, UE::BulkData::Private::FChunkReadFileHandle, FPakAsyncReadFileHandle, and FBypassPakAsyncReadFileHandle.
◆ ShrinkHandleBuffers()
| virtual void IAsyncReadFileHandle::ShrinkHandleBuffers |
( |
| ) |
|
|
inlinevirtual |
◆ SizeRequest()
◆ UsesCache()
The documentation for this class was generated from the following file: