7 #ifndef PXR_EXEC_VDF_SPECULATION_EXECUTOR_BASE_H
8 #define PXR_EXEC_VDF_SPECULATION_EXECUTOR_BASE_H
37 inline bool IsSpeculatingNode(
const VdfNode *node)
const;
43 return _parentNonSpeculationExecutor;
57 _speculationNode = speculationNode;
63 const VdfNode *_speculationNode;
78 bool isSpeculatingNode =
false;
80 while (speculationExecutor) {
81 isSpeculatingNode |= (node == speculationExecutor->_speculationNode);
82 speculationExecutor = speculationExecutor->_parentSpeculationExecutor;
84 return isSpeculatingNode;
#define PXR_NAMESPACE_OPEN_SCOPE
const VdfExecutorInterface * GetNonSpeculationParentExecutor() const
bool IsSpeculatingNode(const VdfNode *node) const
#define PXR_NAMESPACE_CLOSE_SCOPE
Abstract base class for classes that execute a VdfNetwork to compute a requested set of values...
void _SetSpeculationNode(const VdfNode *speculationNode)