Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IO
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/IO/IoDispatcherBackend.h |
| Include | #include "IO/IoDispatcherBackend.h" |
Syntax
struct IIoDispatcherBackend
Remarks
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.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CancelIoRequest
(
FIoRequestImpl* Request |
Cancel the I/O request. | |
| bool | DoesChunkExist
(
const FIoChunkId& ChunkId |
Returns whether the chunk exists. | |
| bool | DoesChunkExist
(
const FIoChunkId& ChunkId, |
Returns whether specified range of the chunk exists. | |
| FIoRequestImpl * | Returns all completed request(s) to the I/O dispatcher. | ||
| TIoStatusOr< uint64 > | GetSizeForChunk
(
const FIoChunkId& ChunkId |
Returns the size of the chunk. | |
| TIoStatusOr< uint64 > | GetSizeForChunk
(
const FIoChunkId& ChunkId, |
Returns the size of the chunk and the size of the requested range. | |
| void | Initialize
(
TSharedRef< const FIoDispatcherBackendContext > Context |
Called by the I/O dispatcher once initialized. | |
| TIoStatusOr< FIoMappedRegion > | OpenMapped
(
const FIoChunkId& ChunkId, |
Read the chunk as a memory mapped file. | |
| void | ResolveIoRequests
(
FIoRequestList Requests, |
Create asynchronous read requests for the list of I/O request(s). | |
| void | Shutdown () |
Called by the I/O dispatcher when shutting down. | |
| void | UpdatePriorityForIoRequest
(
FIoRequestImpl* Request |
Update the priority of the I/O request. |