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

#include <SOP_Compiled.h>

Public Member Functions

 Task (SOP_Node *node, int stateid)
 
virtual ~Task ()
 
void setInput (int inputidx, Task *input)
 
void setExprInput (int inputidx, Task *input)
 
void appendOutput (Task *output)
 
virtual bool validate ()
 
virtual void addNodes (SOP_NodeVerb::ForbiddenNodeMap &nodeset)
 
virtual void forceUnload (TaskStateArray &state)
 
virtual void clearNodeTimeDependencies ()
 
SOP_NodegetNode () const
 
int getNodeId () const
 
GU_DetailHandle getDetailHandle (const TaskStateArray &state)
 
bool hasCECache (const TaskStateArray &state) const
 
bool getTimeDependent (const TaskStateArray &state) const
 
void setTimeDependent (TaskStateArray &state, bool timedep)
 
GU_DetailHandle unloadDetailHandle (TaskStateArray &state, bool flushce, UnloadMode unloadmode, UT_ErrorManager &errors)
 
void setDetailHandle (TaskStateArray &state, GU_DetailHandle gdh, bool cecache)
 
void setDelayedCook (TaskStateArray &state, SOP_Node *cooknode, const OP_Context &context)
 
void lock (TaskStateArray &state)
 
bool isLocked (TaskStateArray &state) const
 
bool isDirty (const TaskStateArray &state) const
 
void dirty (TaskStateArray &state)
 
void markClean (TaskStateArray &state)
 
bool isParmsDirty (const TaskStateArray &state) const
 
void dirtyParms (TaskStateArray &state)
 
void markParmsClean (TaskStateArray &state)
 
bool dependsOnExprInputs (const TaskStateArray &state) const
 
void clearDependsOnExprInputs (TaskStateArray &state)
 
void setDependsOnExprInputs (TaskStateArray &state)
 
void dirtyChildren (TaskStateArray &state)
 
bool execute (const ExecuteParms &parms)
 
virtual bool doExecute (const ExecuteParms &parms)=0
 
bool executeInputs (const ExecuteParms &parms)
 
bool executeExprInputs (const ExecuteParms &parms)
 
void dump (std::ostream &os) const
 
UT_StringHolder buildName () const
 

Protected Member Functions

virtual void dumpSubclass (std::ostream &os) const
 

Protected Attributes

SOP_NodemyNode
 
int myNodeId
 
int myNodeUnload
 
int myNodeBypassed
 
int myNodeLocked
 
UT_IntArray myNodeInputIds
 
int myStateId
 
UT_Array< Task * > myInputs
 
UT_Array< Task * > myExprInputs
 
UT_Array< Task * > myOutputs
 

Detailed Description

Definition at line 174 of file SOP_Compiled.h.

Constructor & Destructor Documentation

SOP_Compiled::Task::Task ( SOP_Node node,
int  stateid 
)
virtual SOP_Compiled::Task::~Task ( )
virtual

Member Function Documentation

virtual void SOP_Compiled::Task::addNodes ( SOP_NodeVerb::ForbiddenNodeMap nodeset)
virtual
void SOP_Compiled::Task::appendOutput ( Task output)
UT_StringHolder SOP_Compiled::Task::buildName ( ) const
void SOP_Compiled::Task::clearDependsOnExprInputs ( TaskStateArray state)
inline

Definition at line 236 of file SOP_Compiled.h.

virtual void SOP_Compiled::Task::clearNodeTimeDependencies ( )
virtual
bool SOP_Compiled::Task::dependsOnExprInputs ( const TaskStateArray state) const
inline

Definition at line 235 of file SOP_Compiled.h.

void SOP_Compiled::Task::dirty ( TaskStateArray state)
inline

Definition at line 229 of file SOP_Compiled.h.

void SOP_Compiled::Task::dirtyChildren ( TaskStateArray state)

Dirties ourself and all children until we hit something already dirty.

void SOP_Compiled::Task::dirtyParms ( TaskStateArray state)
inline

Definition at line 233 of file SOP_Compiled.h.

virtual bool SOP_Compiled::Task::doExecute ( const ExecuteParms parms)
pure virtual
void SOP_Compiled::Task::dump ( std::ostream &  os) const
virtual void SOP_Compiled::Task::dumpSubclass ( std::ostream &  os) const
inlineprotectedvirtual

Definition at line 256 of file SOP_Compiled.h.

bool SOP_Compiled::Task::execute ( const ExecuteParms parms)

Computes myself, and chains to any inputs, provided not dirty.

bool SOP_Compiled::Task::executeExprInputs ( const ExecuteParms parms)
bool SOP_Compiled::Task::executeInputs ( const ExecuteParms parms)
virtual void SOP_Compiled::Task::forceUnload ( TaskStateArray state)
virtual
GU_DetailHandle SOP_Compiled::Task::getDetailHandle ( const TaskStateArray state)
inline

Definition at line 199 of file SOP_Compiled.h.

SOP_Node* SOP_Compiled::Task::getNode ( void  ) const
inline

Definition at line 197 of file SOP_Compiled.h.

int SOP_Compiled::Task::getNodeId ( ) const
inline

Definition at line 198 of file SOP_Compiled.h.

bool SOP_Compiled::Task::getTimeDependent ( const TaskStateArray state) const
inline

Definition at line 201 of file SOP_Compiled.h.

bool SOP_Compiled::Task::hasCECache ( const TaskStateArray state) const
inline

Definition at line 200 of file SOP_Compiled.h.

bool SOP_Compiled::Task::isDirty ( const TaskStateArray state) const
inline

Definition at line 228 of file SOP_Compiled.h.

bool SOP_Compiled::Task::isLocked ( TaskStateArray state) const
inline

Definition at line 223 of file SOP_Compiled.h.

bool SOP_Compiled::Task::isParmsDirty ( const TaskStateArray state) const
inline

Definition at line 232 of file SOP_Compiled.h.

void SOP_Compiled::Task::lock ( TaskStateArray state)
inline

Definition at line 219 of file SOP_Compiled.h.

void SOP_Compiled::Task::markClean ( TaskStateArray state)
inline

Definition at line 230 of file SOP_Compiled.h.

void SOP_Compiled::Task::markParmsClean ( TaskStateArray state)
inline

Definition at line 234 of file SOP_Compiled.h.

void SOP_Compiled::Task::setDelayedCook ( TaskStateArray state,
SOP_Node cooknode,
const OP_Context context 
)
inline

Definition at line 213 of file SOP_Compiled.h.

void SOP_Compiled::Task::setDependsOnExprInputs ( TaskStateArray state)
inline

Definition at line 237 of file SOP_Compiled.h.

void SOP_Compiled::Task::setDetailHandle ( TaskStateArray state,
GU_DetailHandle  gdh,
bool  cecache 
)
inline

Definition at line 205 of file SOP_Compiled.h.

void SOP_Compiled::Task::setExprInput ( int  inputidx,
Task input 
)
void SOP_Compiled::Task::setInput ( int  inputidx,
Task input 
)
void SOP_Compiled::Task::setTimeDependent ( TaskStateArray state,
bool  timedep 
)
inline

Definition at line 202 of file SOP_Compiled.h.

GU_DetailHandle SOP_Compiled::Task::unloadDetailHandle ( TaskStateArray state,
bool  flushce,
UnloadMode  unloadmode,
UT_ErrorManager errors 
)
virtual bool SOP_Compiled::Task::validate ( )
virtual

Member Data Documentation

UT_Array<Task *> SOP_Compiled::Task::myExprInputs
protected

Definition at line 265 of file SOP_Compiled.h.

UT_Array<Task *> SOP_Compiled::Task::myInputs
protected

Definition at line 264 of file SOP_Compiled.h.

SOP_Node* SOP_Compiled::Task::myNode
protected

Definition at line 257 of file SOP_Compiled.h.

int SOP_Compiled::Task::myNodeBypassed
protected

Definition at line 260 of file SOP_Compiled.h.

int SOP_Compiled::Task::myNodeId
protected

Definition at line 258 of file SOP_Compiled.h.

UT_IntArray SOP_Compiled::Task::myNodeInputIds
protected

Definition at line 262 of file SOP_Compiled.h.

int SOP_Compiled::Task::myNodeLocked
protected

Definition at line 261 of file SOP_Compiled.h.

int SOP_Compiled::Task::myNodeUnload
protected

Definition at line 259 of file SOP_Compiled.h.

UT_Array<Task *> SOP_Compiled::Task::myOutputs
protected

Definition at line 266 of file SOP_Compiled.h.

int SOP_Compiled::Task::myStateId
protected

Definition at line 263 of file SOP_Compiled.h.


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