HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Task Class Referenceabstract

#include <UT_Task.h>

+ Inheritance diagram for UT_Task:

Public Member Functions

 UT_Task ()
 
void setParentScope (const UT_TaskScope *parent)
 
void setRefCount (int count)
 
void incrementRefCount ()
 
int decrementRefCount ()
 
void recycleAsContinuation ()
 
void recycleAsSafeContinuation ()
 
void enqueue ()
 
void spawnChild (UT_Task &task)
 
virtual UT_Taskrun ()=0
 
void cancelGroupExecution ()
 
bool isCancelled () const
 

Static Public Member Functions

static void spawnRootAndWait (UT_Task &task)
 

Friends

class UT_TaskList
 

Detailed Description

Definition at line 21 of file UT_Task.h.

Constructor & Destructor Documentation

UT_Task::UT_Task ( )
inline

Definition at line 26 of file UT_Task.h.

Member Function Documentation

void UT_Task::cancelGroupExecution ( )
inline

Definition at line 82 of file UT_Task.h.

int UT_Task::decrementRefCount ( )
inline

Definition at line 44 of file UT_Task.h.

void UT_Task::enqueue ( )
inline

Definition at line 63 of file UT_Task.h.

void UT_Task::incrementRefCount ( )
inline

Definition at line 40 of file UT_Task.h.

bool UT_Task::isCancelled ( ) const
inline

Definition at line 86 of file UT_Task.h.

void UT_Task::recycleAsContinuation ( )
inline

Definition at line 49 of file UT_Task.h.

void UT_Task::recycleAsSafeContinuation ( )
inline

Definition at line 53 of file UT_Task.h.

virtual UT_Task* UT_Task::run ( )
pure virtual

Should be overriden by derived classes. Returns the next task to run, NULL if none.

Implemented in GusdUSD_ThreadedTraverse::TraverseTaskT< Visitor >, UT_EmptyTask, and OP_CookTask.

void UT_Task::setParentScope ( const UT_TaskScope parent)
inline

Definition at line 31 of file UT_Task.h.

void UT_Task::setRefCount ( int  count)
inline

Definition at line 36 of file UT_Task.h.

void UT_Task::spawnChild ( UT_Task task)
inline

Definition at line 68 of file UT_Task.h.

static void UT_Task::spawnRootAndWait ( UT_Task task)
inlinestatic

Definition at line 58 of file UT_Task.h.

Friends And Related Function Documentation

friend class UT_TaskList
friend

Definition at line 100 of file UT_Task.h.


The documentation for this class was generated from the following file: