HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_CookTask Class Reference

#include <OP_CookTask.h>

+ Inheritance diagram for OP_CookTask:

Public Member Functions

 OP_CookTask (OP_Context &context, OP_Node &node)
 
void spawnChildTask (OP_Context &context, OP_Node &node)
 
void spawnWaitTask (OP_Node &node)
 
UT_Taskrun () override
 
- Public Member Functions inherited from UT_Task
 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)
 
void cancelGroupExecution ()
 
bool isCancelled () const
 
void waitForAll ()
 

Static Public Member Functions

static void spawnRootTaskAndWait (OP_Context &context, OP_Node &node)
 
static OP_CookTaskcreateRootTask (OP_Context &context, OP_Node &node)
 
- Static Public Member Functions inherited from UT_Task
static void spawnRootAndWait (UT_Task &task)
 

Detailed Description

Definition at line 29 of file OP_CookTask.h.

Constructor & Destructor Documentation

OP_CookTask::OP_CookTask ( OP_Context context,
OP_Node node 
)
inline

Definition at line 32 of file OP_CookTask.h.

Member Function Documentation

static OP_CookTask* OP_CookTask::createRootTask ( OP_Context context,
OP_Node node 
)
inlinestatic

Definition at line 49 of file OP_CookTask.h.

UT_Task* OP_CookTask::run ( )
overridevirtual

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

Implements UT_Task.

void OP_CookTask::spawnChildTask ( OP_Context context,
OP_Node node 
)
inline

Definition at line 55 of file OP_CookTask.h.

static void OP_CookTask::spawnRootTaskAndWait ( OP_Context context,
OP_Node node 
)
inlinestatic

Definition at line 41 of file OP_CookTask.h.

void OP_CookTask::spawnWaitTask ( OP_Node node)
inline

Definition at line 65 of file OP_CookTask.h.


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