![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PlatformIoDispatcher.h>
Inheritance diagram for UE::IPlatformIoDispatcher:Public Member Functions | |
| virtual | ~IPlatformIoDispatcher ()=default |
| virtual FIoStatus | Initialize ()=0 |
| virtual TIoStatusOr< FIoFileHandle > | OpenFile (const TCHAR *Filename, const FIoFileProperties &FileProperties, FIoFileStat *OutStat=nullptr)=0 |
| virtual FIoStatus | CloseFile (FIoFileHandle FileHandle)=0 |
| virtual FIoFileReadRequest | ScatterGather (FIoScatterGatherRequestParams &&Params, FIoFileReadRequestCompleted &&OnCompleted)=0 |
| virtual FIoFileReadRequest | ReadDirect (FIoDirectReadRequestParams &&Params, FIoFileReadRequestCompleted &&OnCompleted)=0 |
| virtual bool | Tick ()=0 |
| virtual void | UpdatePriority (FIoFileReadRequest Request, int32 NewPriority)=0 |
| virtual void | CancelRequest (FIoFileReadRequest Request)=0 |
| virtual void | CancelAllRequests (FIoFileHandle FileHandle)=0 |
| virtual void | DeleteRequest (FIoFileReadRequest Request)=0 |
Interface for platform specific I/O dispatcher.
|
virtualdefault |
|
pure virtual |
Cancel all inflight I/O request for the specified file.
Implemented in UE::FPlatformIoDispatcherBase.
|
pure virtual |
Cancel inflight I/O request.
Implemented in UE::FPlatformIoDispatcherBase.
|
pure virtual |
Close the file. Assumes no pending I/O requests are inflight for the specified file.
Implemented in UE::FGenericPlatformIoDispatcher.
|
pure virtual |
Delete the request. Must be called after the completion callback has been triggered.
Implemented in UE::FPlatformIoDispatcherBase.
Initialize the dispatcher. Called after the config system has been initialized.
Implemented in UE::FPlatformIoDispatcherBase.
|
pure virtual |
Open file for reading. The file properties specifies whether the file is compressed, encrypted and signed.
Implemented in UE::FGenericPlatformIoDispatcher.
|
pure virtual |
Issue a direct read request. Returns an invalid file handle if direct read is not supported for the specifid file.
Implemented in UE::FPlatformIoDispatcherBase.
|
pure virtual |
Issue a scatter-gather request.
Implemented in UE::FPlatformIoDispatcherBase.
Tick the dispatcher. Only used when multithreading is disabled.
Implemented in UE::FPlatformIoDispatcherBase.
|
pure virtual |
Update priority for an inflight I/O request.
Implemented in UE::FPlatformIoDispatcherBase.