Navigation
API > API/Runtime > API/Runtime/Core
I/O dispatcher backend interface.
The following methods are called from the I/O dispatcher thread:
- ResolveIoRequests
- CancelIoRequest
- UpdatePriorityForIoRequest
- GetCompletedRequests
All other methods can be called from any thread.
| Name | IIoDispatcherBackend |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/IO/IoDispatcherBackend.h |
| Include Path | #include "IO/IoDispatcherBackend.h" |
Syntax
struct IIoDispatcherBackend
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CancelIoRequest
(
FIoRequestImpl* Request |
Cancel the I/O request. | IO/IoDispatcherBackend.h | |
bool DoesChunkExist
(
const FIoChunkId& ChunkId |
Returns whether the chunk exists. | IO/IoDispatcherBackend.h | |
virtual bool DoesChunkExist
(
const FIoChunkId& ChunkId, |
Returns whether specified range of the chunk exists. | IO/IoDispatcherBackend.h | |
| Returns all completed request(s) to the I/O dispatcher. | IO/IoDispatcherBackend.h | ||
const TCHAR * GetName() |
Returns the name of this backend, for logging purposes | IO/IoDispatcherBackend.h | |
TIoStatusOr< uint64 > GetSizeForChunk
(
const FIoChunkId& ChunkId |
Returns the size of the chunk. | IO/IoDispatcherBackend.h | |
virtual TIoStatusOr< uint64 > GetSizeForChunk
(
const FIoChunkId& ChunkId, |
Returns the size of the chunk and the size of the requested range. | IO/IoDispatcherBackend.h | |
void Initialize
(
TSharedRef< const FIoDispatcherBackendContext > Context |
Called by the I/O dispatcher once initialized. | IO/IoDispatcherBackend.h | |
TIoStatusOr< FIoMappedRegion > OpenMapped
(
const FIoChunkId& ChunkId, |
Read the chunk as a memory mapped file. | IO/IoDispatcherBackend.h | |
void ResolveIoRequests
(
FIoRequestList Requests, |
Create asynchronous read requests for the list of I/O request(s). | IO/IoDispatcherBackend.h | |
virtual void Shutdown() |
Called by the I/O dispatcher when shutting down. | IO/IoDispatcherBackend.h | |
void UpdatePriorityForIoRequest
(
FIoRequestImpl* Request |
Update the priority of the I/O request. | IO/IoDispatcherBackend.h |