Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Corresponds somewhat to std::packaged_task. More...
#include <Future.h>
Public Member Functions | |
PackagedTask ()=delete | |
PackagedTask (std::shared_ptr< FutureSharedStateDetail::SharedState< Callback > > ss) | |
void | operator() () |
void | Cancel () |
Private Attributes | |
std::shared_ptr< FutureSharedStateDetail::SharedState< Callback > > | m_SharedState |
Corresponds somewhat to std::packaged_task.
Like packaged_task, this holds a function acting as a promise. This type is mostly just the shared state and the call operator, handling the promise & continuation logic.
|
delete |
|
inline |
|
inline |
|
inline |
|
private |