Public Member Functions
|virtual int||getOpId ()=0|
|Callee's might want to find out the unique id of the caller. The /. |
|virtual void||referenceOtherOp (int opid, UT_OpCallee *cache)=0|
In some cases during the cook of an OP Node, calls will be made into low level libraries. These libraries may have callback mechanisms to reference data from other existing OPs, but without any dependencies on OPs themselves. For example, in resolving the "op:some-op-path" paths, the low level libraries don't actually know about OPs, but rely on callbacks to perform the evaluation.
However, the caller OP (the OP cooking) isn't notified of these additional dependencies and so doesn't end up cooking properly. This pair of classes provides a mechanism for implementing the appropriate dependencies. Prior to cooking, the OP can create a UT_Caller class which acts as a sink for all the OP references which get made. At the conclusion of the cook, the OP can then call back to all the classes which made the references (the OP_Callee classes) and notify them that the data they built is no longer required.
This class is primarily used by VEX at the current time.
This class provides a virtual interface to OP_Nodes so that they can query the op-node which is being evaluated.
|virtual int UT_OpCaller::getOpId||(||)||
Callee's might want to find out the unique id of the caller. The /.
Implemented in OP_Caller.
|virtual void UT_OpCaller::referenceOtherOp||(||int||opid,|