|
MGIS
|
a class standing for the result of a taks More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/ThreadedTaskResult.hxx>
Public Member Functions | |
| ThreadedTaskResult () | |
| default constructor | |
| template<typename... Args> | |
| ThreadedTaskResult (Args &&...) | |
| constructor of T | |
| ThreadedTaskResult (const T &) | |
| constructor of T | |
| ThreadedTaskResult (ThreadedTaskResult &&) | |
| move constructor | |
| ThreadedTaskResult (const ThreadedTaskResult &) | |
| copy constructor | |
| ThreadedTaskResult & | operator= (const ThreadedTaskResult &) |
| assignement | |
| ThreadedTaskResult & | operator= (ThreadedTaskResult &&) |
| move assignement | |
| ThreadedTaskResult & | operator= (const T &) |
| assignement | |
| ThreadedTaskResult & | operator= (T &&) |
| move assignement | |
| void | setException (const std::exception_ptr &) |
| set current exception | |
| void | rethrow () |
| throw the catched exception | |
| operator bool () const | |
| conversion to bool | |
| T & | operator* () |
| conversion to underlying type | |
| const T & | operator* () const |
| conversion to underlying type | |
| T * | operator-> () |
| conversion to underlying type | |
| const T * | operator-> () const |
| conversion to underlying type | |
| ~ThreadedTaskResult () | |
| destructor | |
| template<typename... Args> | |
| ThreadedTaskResult (Args &&... args) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from mgis::ThreadedTaskResultBase | |
| static void | throwBadCastException () |
| thr | |
| static void | throwNullException () |
| thr | |
a class standing for the result of a taks
Its interface is loosely base on the interface of std::optional (not available in C++11), but it also stores an std::exception_ptr if .
|
inline |
constructor of T
| [in] | args | arguments to T constructor |