HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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, const DEP_ContextOptionsStack *context_options_stack, DEP_ContextOptionsReadHandle context_options)
 
 OP_Caller (OP_Node *node, DEP_MicroNode *micronode, const DEP_ContextOptionsStack *context_options_stack, DEP_ContextOptionsReadHandle context_options)
 
virtual ~OP_Caller ()
 
const DEP_ContextOptionsStackgetContextOptionsStack () const
 Return the options associated with the calling context. More...
 
DEP_ContextOptionsReadHandle getContextOptions () const
 Return the options associated with the calling context. More...
 
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
 
const DEP_ContextOptionsStackmyContextOptionsStack
 
DEP_ContextOptionsReadHandle myContextOptions
 
bool myIgnoreTimeDep
 

Detailed Description

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

Definition at line 23 of file OP_Caller.h.

Member Typedef Documentation

Definition at line 112 of file OP_Caller.h.

Constructor & Destructor Documentation

OP_Caller::OP_Caller ( OP_Node node,
const DEP_ContextOptionsStack context_options_stack,
DEP_ContextOptionsReadHandle  context_options 
)
OP_Caller::OP_Caller ( OP_Node node,
DEP_MicroNode micronode,
const DEP_ContextOptionsStack context_options_stack,
DEP_ContextOptionsReadHandle  context_options 
)
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.

DEP_ContextOptionsReadHandle OP_Caller::getContextOptions ( ) const
inline

Return the options associated with the calling context.

Examples:
SOP/SOP_PrimVOP.C.

Definition at line 46 of file OP_Caller.h.

const DEP_ContextOptionsStack* OP_Caller::getContextOptionsStack ( ) const
inline

Return the options associated with the calling context.

Examples:
SOP/SOP_PrimVOP.C.

Definition at line 42 of file OP_Caller.h.

OP_Node* OP_Caller::getNode ( void  )
inline

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

Definition at line 37 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

DEP_ContextOptionsReadHandle OP_Caller::myContextOptions
protected

Definition at line 118 of file OP_Caller.h.

const DEP_ContextOptionsStack* OP_Caller::myContextOptionsStack
protected

Definition at line 117 of file OP_Caller.h.

bool OP_Caller::myIgnoreTimeDep
protected

Definition at line 119 of file OP_Caller.h.

ListType OP_Caller::myInterests
protected

Definition at line 114 of file OP_Caller.h.

DEP_MicroNode* OP_Caller::myMicroNode
protected

Definition at line 116 of file OP_Caller.h.

OP_Node* OP_Caller::myNode
protected

Definition at line 115 of file OP_Caller.h.


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