|
RADLib
RADical C++ application framework
|
Typed promise that creates RADFutureT. More...
#include <RADCore.h>
Public Member Functions | |
| RADPromise () | |
| Creates a promise/future pair. More... | |
| RADFutureT< T > | future () const |
| Returns the associated typed future. More... | |
| void | setValue (T value) |
| Sets the result value. More... | |
| void | setException (std::exception_ptr error) |
| Sets an exception result. More... | |
Typed promise that creates RADFutureT.
|
inline |
Creates a promise/future pair.
|
inline |
Returns the associated typed future.
|
inline |
Sets an exception result.
|
inline |
Sets the result value.