completion_future Class
Represents a future corresponding to a C++ AMP asynchronous operation.
class completion_future;
Members
Public Constructors
Name |
Description |
---|---|
Initializes a new instance of the completion_future class. |
|
Destroys the completion_future object. |
Public Methods
Name |
Description |
---|---|
Waits until the associated asynchronous operation completes. |
|
Chains a callback function object to the completion_future object to be executed when the associated asynchronous operation finishes execution. |
|
Returns a task object corresponding to the associated asynchronous operation. |
|
Gets a Boolean value that indicates whether the object is associated with an asynchronous operation. |
|
Blocks until the associated asynchronous operation completes. |
|
Blocks until the associated asynchronous operation completes or the time specified by _Rel_time has elapsed. |
|
Blocks until the associated asynchronous operation completes or until the current time exceeds the value specified by _Abs_time. |
Public Operators
Name |
Description |
---|---|
completion_future::operator std::shared_future<void> Operator |
Implicitly converts the completion_future object to an std::shared_future object. |
Copies the contents of the specified completion_future object into this one. |
Inheritance Hierarchy
completion_future
Requirements
Header: amprt.h
Namespace: concurrency