Future class template.  
 More...
#include <future.h>
|  | 
| class | common::Promise< T > | 
|  | 
template<typename T>
class ignite::Future< T >
Future class template. 
Used to get result of the asynchroniously started computation.
- Template Parameters
- 
  
  
◆ Future()
Copy constructor. 
- Parameters
- 
  
  
 
 
◆ GetValue()
Get the set value. 
Active thread will be blocked until value or error will be set.
- Exceptions
- 
  
  
- Returns
- Value that has been set on success. 
 
 
◆ operator=()
Assignment operator. 
- Parameters
- 
  
  
- Returns
- *this. 
 
 
◆ Wait()
Wait for value to be set. 
Active thread will be blocked until value or error will be set. 
 
 
◆ WaitFor()
Wait for value to be set for specified time. 
Active thread will be blocked until value or error will be set or timeout will end.
- Parameters
- 
  
    | msTimeout | Timeout in milliseconds. |  
 
- Returns
- True if the object has been triggered and false in case of timeout. 
 
 
The documentation for this class was generated from the following file: