Navigation
Unreal Engine C++ API Reference > Runtime > Core > Async
Inheritance Hierarchy
- IAsyncReadRequestFixLayout
- IAsyncReadRequest
- FAsyncReadRequestNull
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Async/AsyncFileHandle.h |
Include | #include "Async/AsyncFileHandle.h" |
Syntax
class IAsyncReadRequest : public IAsyncReadRequestFixLayout
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
union IAsyncReadRequest | ||
![]() |
bool | bCanceled | |
![]() |
bool | bCompleteAndCallbackCalled | |
![]() |
bool | bCompleteSync | |
![]() |
bool | bDataIsReady | |
![]() |
const bool | bSizeRequest | |
![]() |
const bool | bUserSuppliedMemory | |
![]() |
FAsyncFileCallBack | Callback | |
![]() |
uint8 * | Memory | |
![]() |
PTRINT | Size |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
IAsyncReadRequest
(
FAsyncFileCallBack* InCallback, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Not legal to destroy the request until it is complete. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Cancel () |
Cancel the request. This is a non-blocking async call and so does not ensure completion! |
![]() |
void | CancelImpl () |
Cancel the request. This is a non-blocking async call and so does not ensure completion! |
![]() ![]() |
void | Waits for the request to complete, with an additional guarantee that the second consecutive call won't ever block, which is not a case for WaitCompletion(). | |
![]() |
uint8 * | Return the bytes of a completed read request. Not legal to call unless the request is complete. | |
![]() |
int64 | Return the size of a completed size request. Not legal to call unless the request is complete. | |
![]() |
bool | Nonblocking poll of the state of completion. | |
![]() |
void | Transfer ownership of Memory from the async request to the outside caller (called in response to GetReadResults). | |
![]() |
void | ||
![]() |
void | SetComplete () |
|
![]() |
void | ||
![]() |
bool | WaitCompletion
(
float TimeLimitSeconds |
Waits for the request to complete, but not longer than the given time limit |
![]() |
void | WaitCompletionImpl
(
float TimeLimitSeconds |
Waits for the request to complete, but not longer than the given time limit |