FIoBatch

I/O batch This is a primitive used to group I/O requests for synchronization purposes

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/IO/IoDispatcher.h

Include

#include "IO/IoDispatcher.h"

Syntax

class FIoBatch

Remarks

I/O batch

This is a primitive used to group I/O requests for synchronization purposes

Constructors

Name Description

Public function

FIoBatch()

Use FIoDispatcher::NewBatch() instead

Public function

FIoBatch

(
    FIoBatch&& Other
)

Destructors

Name Description

Public function

~FIoBatch()

Functions

Name Description

Public function

void

 

Issue()

Public function

void

 

IssueAndDispatchSubsequents

(
    FGraphEventRef Event
)

Public function

void

 

IssueAndTriggerEvent

(
    FEvent* Event
)

Public function

void

 

IssueWithCallback

(
    TFunction< void()>&& Callback
)

Public function

FIoRequest

 

Read

(
    const FIoChunkId& Chunk,
    FIoReadOptions Options,
    int32 Priority
)

Public function

FIoRequest

 

ReadWithCallback

(
    const FIoChunkId& ChunkId,
    const FIoReadOptions& Options,
    int32 Priority,
    FIoReadCallback&& Callback
)

Operators

Name Description

Public function

FIoBatch &

 

operator=

(
    FIoBatch&& Other
)

Deprecated Functions

Name Description

Public function

 

FIoBatch()

Use FIoDispatcher::NewBatch() instead

Public function

void

 

Issue

(
    int32 Priority
)

Specify priority on each Read()

Public function Const

bool

 

IsValid()

Remove this call

Public function

FIoBatch &

 

operator=

(
    const FIoBatch&
)

Use move assignment instead

Public function

FIoRequest

 

Read

(
    const FIoChunkId& Chunk,
    FIoReadOptions Options
)

Specify priority on each Read()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss