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

#include <OP_Caller.h>

+ Inheritance diagram for OP_Caller:

Classes

class  NodeInterest
 

Public Member Functions

 OP_Caller (OP_Node *node)
 
 OP_Caller (OP_Node *node, DEP_MicroNode *micronode)
 
virtual ~OP_Caller ()
 
virtual void referenceOtherOp (int opid, UT_OpCallee *cache, bool flaginterest)
 
virtual void referenceOtherParameter (int opid, int pi, int vi)
 Reference a specific parameter. More...
 
void clearReferences ()
 Clear all references (notifying callee's about completion. More...
 
void addDependencies ()
 
bool ignoreTimeDep () const
 
void setIgnoreTimeDep ()
 
virtual int getOpId ()
 
OP_NodegetNode ()
 
- Public Member Functions inherited from UT_OpCaller
 UT_OpCaller ()
 
virtual ~UT_OpCaller ()
 

Protected Types

typedef UT_ConcurrentVector
< NodeInterest
ListType
 

Protected Attributes

ListType myInterests
 
OP_NodemyNode
 
DEP_MicroNodemyMicroNode
 
bool myIgnoreTimeDep
 

Detailed Description

Examples:
SOP/SOP_PrimVOP.C, and SOP/SOP_PrimVOP.h.

Definition at line 22 of file OP_Caller.h.

Member Typedef Documentation

Definition at line 97 of file OP_Caller.h.

Constructor & Destructor Documentation

OP_Caller::OP_Caller ( OP_Node node)
OP_Caller::OP_Caller ( OP_Node node,
DEP_MicroNode micronode 
)
virtual OP_Caller::~OP_Caller ( )
virtual

Member Function Documentation

void OP_Caller::addDependencies ( )

Add operator dependencies – the user should ensure that this is called in a thread-safe fashion.

Note
This is called automatically from the destructor.
void OP_Caller::clearReferences ( )

Clear all references (notifying callee's about completion.

OP_Node* OP_Caller::getNode ( void  )
inline

Get the calling node (i.e. the node being cooked)

Definition at line 32 of file OP_Caller.h.

virtual int OP_Caller::getOpId ( )
virtual

Get the calling node (i.e. the node being cooked)

Implements UT_OpCaller.

bool OP_Caller::ignoreTimeDep ( ) const

Flag the caller to ignore time dependencies in addDependencies. Used when cooking a channel time range in VEXCHOP

virtual void OP_Caller::referenceOtherOp ( int  opid,
UT_OpCallee cache,
bool  flaginterest 
)
virtual

Tell the calling node that they refer to the data for the other op If the callee is not NULL, it's doneWithOp() method will be called after the caller is finished with the node.

Implements UT_OpCaller.

virtual void OP_Caller::referenceOtherParameter ( int  opid,
int  pi,
int  vi 
)
virtual

Reference a specific parameter.

Implements UT_OpCaller.

void OP_Caller::setIgnoreTimeDep ( )

Member Data Documentation

bool OP_Caller::myIgnoreTimeDep
protected

Definition at line 102 of file OP_Caller.h.

ListType OP_Caller::myInterests
protected

Definition at line 99 of file OP_Caller.h.

DEP_MicroNode* OP_Caller::myMicroNode
protected

Definition at line 101 of file OP_Caller.h.

OP_Node* OP_Caller::myNode
protected

Definition at line 100 of file OP_Caller.h.


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