HDK
|
#include <UT_Task.h>
Public Member Functions | |
UT_Task () | |
void | setParentScope (const UT_TaskScope *parent) |
void | setRefCount (int count) |
void | incrementRefCount () |
int | decrementRefCount () |
void | recycleAsContinuation () |
void | recycleAsSafeContinuation () |
void | destroy () |
void | enqueue () |
void | spawnChild (UT_Task &task) |
virtual UT_Task * | run ()=0 |
void | cancelGroupExecution () |
bool | isCancelled () const |
void | waitForAll () |
Static Public Member Functions | |
static void | spawnRootAndWait (UT_Task &task) |
Friends | |
class | UT_TaskList |
|
pure virtual |
Should be overriden by derived classes. Returns the next task to run, nullptr if none.
Implemented in UT_EmptyTask, and OP_CookTask.
|
inline |
|
friend |