|
| void | Get () const |
| | Gets the future's result. 更多...
|
| |
|
TSharedFuture & | operator= (const TSharedFuture &Other)=default |
| | Copy assignment operator.
|
| |
|
TSharedFuture & | operator= (TSharedFuture &&Other)=default |
| | Move assignment operator.
|
| |
|
| TSharedFuture () |
| | Default constructor.
|
| |
| | TSharedFuture (const BaseType::StateType &InState) |
| | Creates and initializes a new instance from shared state. 更多...
|
| |
|
| TSharedFuture (const TSharedFuture &)=default |
| | Copy constructor.
|
| |
| | TSharedFuture (TFuture< void > &&Future) |
| | Creates and initializes a new instances from a future object. 更多...
|
| |
|
| TSharedFuture (TSharedFuture &&)=default |
| | Move constructor.
|
| |
|
| ~TSharedFuture () |
| | 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 shared futures (specialization for void).