#include <Future.h>
Public Methods | |
Result () | |
Create the Result. | |
~Result () | |
Destroy the Result. | |
void | setResult (const ResultType &value) |
template<typename T> void | setException (const T &t) |
ResultType | getResult () |
Friends | |
class | Future |
|
Get the result or throw the exeption.
|
|
Setting the exception will release all waiters.
|
|
Setting the result will release all waiters.
|