Template for asynchronous return values. 更多...
#include <AsyncResult.h>
Public 成员函数 | |
| const TFuture< ResultType > & | GetFuture () const |
| Gets the future that will hold the result. 更多... | |
| TSharedPtr< IAsyncProgress > | GetProgess () const |
| Get an object that indicates the progress of the task that is computing the result. 更多... | |
| TSharedPtr< IAsyncTask > | GetTask () const |
| Get the asynchronous task that is computing the result. 更多... | |
| TAsyncResult & | operator= (TAsyncResult &&Other) |
| Move assignment operator. | |
| TAsyncResult () | |
| Default constructor. | |
| TAsyncResult (const ResultType &Result) | |
| Creates and initializes a new instance with the given synchronous result value. 更多... | |
| TAsyncResult (TAsyncResult &&Other) | |
| Move constructor. | |
| TAsyncResult (TFuture< ResultType > &&InFuture, const TSharedPtr< IAsyncProgress > &InProgress, const TSharedPtr< IAsyncTask > &InTask) | |
| Creates and initializes a new instance 更多... | |
Template for asynchronous return values.
| ResultType | The return value's type. |
|
inline |
Creates and initializes a new instance with the given synchronous result value.
| Result | The result value to set. |
|
inline |
Creates and initializes a new instance
| InFuture | The future to set. |
| InProgress | The progress object (optional). |
| InTask | The task object object (optional). |
|
inline |
Gets the future that will hold the result.
|
inline |
Get an object that indicates the progress of the task that is computing the result.
|
inline |
Get the asynchronous task that is computing the result.