|
| void | Get () const |
| | Gets the future's result. 更多...
|
| |
|
TFuture & | operator= (TFuture &&Other)=default |
| | Move assignment operator.
|
| |
| TSharedFuture< void > | Share () |
| | Moves this future's state into a shared future. 更多...
|
| |
|
| TFuture () |
| | Default constructor.
|
| |
| | TFuture (const BaseType::StateType &InState) |
| | Creates and initializes a new instance. 更多...
|
| |
|
| TFuture (TFuture &&)=default |
| | Move constructor.
|
| |
|
| ~TFuture () |
| | Destructor.
|
| |
| bool | IsReady () const |
| | Checks whether this future object has its value set. 更多...
|
| |
| bool | IsValid () const |
| | Checks whether this future object has a valid state. 更多...
|
| |
| void | Wait () const |
| | Blocks the calling thread until the future result is available. 更多...
|
| |
| bool | WaitFor (const FTimespan &Duration) const |
| | Blocks the calling thread until the future result is available or the specified duration is exceeded. 更多...
|
| |
| bool | WaitUntil (const FDateTime &Time) const |
| | Blocks the calling thread until the future result is available or the specified time is hit. 更多...
|
| |
|
| const StateType & | GetState () const |
| | Gets the shared state object. 更多...
|
| |
| auto | Next (Func Continuation) |
| | Convenience wrapper for Then that set a completion callback that will be called once the future completes or immediately if already completed 更多...
|
| |
|
TFutureBase & | operator= (const TFutureBase &)=default |
| | Protected copy assignment
|
| |
|
TFutureBase & | operator= (TFutureBase &&)=default |
| | Protected move assignment
|
| |
| void | Reset () |
| | Reset the future. 更多...
|
| |
|
| TFutureBase () |
| | Default constructor.
|
| |
| | TFutureBase (const StateType &InState) |
| | Creates and initializes a new instance. 更多...
|
| |
|
| TFutureBase (const TFutureBase &)=default |
| | Protected copy construction
|
| |
|
| TFutureBase (TFutureBase &&)=default |
| | Protected move construction
|
| |
| auto | Then (Func Continuation) |
| | Set a completion callback that will be called once the future completes or immediately if already completed 更多...
|
| |
|
| ~TFutureBase () |
| | Protected destructor.
|
| |
Template for unshared futures (specialization for void).