#include <OP_Caller.h>
|
| 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) |
|
| ~OP_Caller () override |
|
const DEP_ContextOptionsStack * | getContextOptionsStack () const |
| Return the options associated with the calling context. More...
|
|
DEP_ContextOptionsReadHandle | getContextOptions () const |
| Return the options associated with the calling context. More...
|
|
void | referenceOtherOp (int opid, UT_OpCallee *cache, bool flaginterest, bool spareinterest=false) override |
|
void | referenceOtherParameter (int opid, int pi, int vi, bool add_timedep=true) override |
| Reference a specific parameter. More...
|
|
void | clearReferences () |
| Clear all references (notifying callee's about completion. More...
|
|
void | addDependencies () |
|
bool | ignoreTimeDep () const |
|
void | setIgnoreTimeDep () |
|
|
int | getOpId () override |
|
OP_Node * | getNode () |
|
| UT_OpCaller () |
|
virtual | ~UT_OpCaller () |
|
void | notifyCalleeWhenDone (UT_OpCallee *cache) |
|
bool | willNotifyCalleeWhenDone (UT_OpCallee *cache) |
| Checks if this caller will notify the given callee when done with VEX. More...
|
|
- Examples:
- SOP/SOP_PrimVOP.C, and SOP/SOP_PrimVOP.h.
Definition at line 23 of file OP_Caller.h.
OP_Caller::~OP_Caller |
( |
| ) |
|
|
override |
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.
Get the calling node (i.e. the node being cooked) This CAN be nullptr, for example if an explicit micronode is the dependency, as can happen in compiled SOP networks.
Definition at line 39 of file OP_Caller.h.
int OP_Caller::getOpId |
( |
| ) |
|
|
overridevirtual |
Get the calling node (i.e. the node being cooked) This CAN be nullptr, for example if an explicit micronode is the dependency, as can happen in compiled SOP networks.
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
void OP_Caller::referenceOtherOp |
( |
int |
opid, |
|
|
UT_OpCallee * |
cache, |
|
|
bool |
flaginterest, |
|
|
bool |
spareinterest = false |
|
) |
| |
|
overridevirtual |
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.
void OP_Caller::referenceOtherParameter |
( |
int |
opid, |
|
|
int |
pi, |
|
|
int |
vi, |
|
|
bool |
add_timedep = true |
|
) |
| |
|
overridevirtual |
Reference a specific parameter.
Implements UT_OpCaller.
void OP_Caller::setIgnoreTimeDep |
( |
| ) |
|
bool OP_Caller::myIgnoreTimeDep |
|
protected |
The documentation for this class was generated from the following file: