Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async
Inheritance Hierarchy
- IAsyncReadRequest
- FAsyncReadRequestNull
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/AsyncFileHandle.h |
| Include | #include "Async/AsyncFileHandle.h" |
Syntax
class IAsyncReadRequest
Variables
| Type | Name | Description | |
|---|---|---|---|
| union IAsyncReadRequest::@255 | @256 | ||
| 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! | |
| 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 |