Navigation
API > API/Runtime > API/Runtime/Core
I/O request object.
| Name | FIoRequestImpl |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/IO/IoDispatcherBackend.h |
| Include Path | #include "IO/IoDispatcherBackend.h" |
Syntax
class FIoRequestImpl : private UE::FInheritedContextBase
Inheritance Hierarchy
- FInheritedContextBase → FIoRequestImpl
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FIoRequestImpl
(
FIoRequestAllocator& InAllocator |
IO/IoDispatcherBackend.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BackendData | void * | Custom data that can be used freely by the I/O dispatcher backend(s). | IO/IoDispatcherBackend.h | |
| ChunkId | FIoChunkId | The chunk ID. | IO/IoDispatcherBackend.h | |
| NextRequest | FIoRequestImpl * | Pointer to the next request that can be used freely by the I/O dispatcher backend(s). | IO/IoDispatcherBackend.h | |
| Options | FIoReadOptions | Read options. | IO/IoDispatcherBackend.h | |
| Priority | int32 | I/O dispatcher priority (EIoDispatcherPriority). | IO/IoDispatcherBackend.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Allocator | FIoRequestAllocator & | IO/IoDispatcherBackend.h | ||
| Backend | IIoDispatcherBackend * | IO/IoDispatcherBackend.h | ||
| Batch | FIoBatchImpl * | IO/IoDispatcherBackend.h | ||
| Buffer | TOptional< FIoBuffer > | IO/IoDispatcherBackend.h | ||
| Callback | FIoReadCallback | IO/IoDispatcherBackend.h | ||
| ErrorCode | TAtomic< EIoErrorCode > | IO/IoDispatcherBackend.h | ||
| LastBackendError | EIoErrorCode | IO/IoDispatcherBackend.h | ||
| RefCount | TAtomic< uint32 > | IO/IoDispatcherBackend.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateBuffer
(
uint64 Size |
Creates a new buffer for the request. | IO/IoDispatcherBackend.h | |
FIoBuffer & GetBuffer() |
Returns the internal buffer. | IO/IoDispatcherBackend.h | |
uint64 GetStartTime() |
IO/IoDispatcherBackend.h | ||
bool HasBuffer() |
Returns whether request has a valid buffer. | IO/IoDispatcherBackend.h | |
bool IsCancelled() |
Returns whether the request has been cancelled. | IO/IoDispatcherBackend.h | |
bool IsFailed() |
Returns whether the request failed. | IO/IoDispatcherBackend.h | |
void SetFailed() |
Mark the request as failed (EIoErrorCode::ReadError). | IO/IoDispatcherBackend.h | |
void SetLastBackendError
(
EIoErrorCode InError |
IO/IoDispatcherBackend.h | ||
void SetResult
(
FIoBuffer InBuffer |
Sets a new buffer. | IO/IoDispatcherBackend.h |