Loading...
Searching...
No Matches
executorFactoryBase.h
Go to the documentation of this file.
1//
2// Copyright 2025 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_EXEC_VDF_EXECUTOR_FACTORY_BASE_H
8#define PXR_EXEC_VDF_EXECUTOR_FACTORY_BASE_H
9
11
12#include "pxr/pxr.h"
13
14#include <memory>
15
16PXR_NAMESPACE_OPEN_SCOPE
17
19class VdfSpeculationExecutorBase;
21
28class VdfExecutorFactoryBase
29{
30public:
31
35 virtual std::unique_ptr<VdfExecutorInterface> ManufactureChildExecutor(
36 const VdfExecutorInterface *parentExecutor) const = 0;
37
41 virtual std::unique_ptr<VdfSpeculationExecutorBase>
42 ManufactureSpeculationExecutor(
43 const VdfSpeculationNode *speculationNode,
44 const VdfExecutorInterface *parentExecutor) const = 0;
45
46protected:
47
51 ~VdfExecutorFactoryBase() = default;
52
53};
54
56
57PXR_NAMESPACE_CLOSE_SCOPE
58
59#endif
Abstract base class for classes that execute a VdfNetwork to compute a requested set of values.
A node that pulls on a vector of value that are downstream of the current execution position.