7 #ifndef PXR_EXEC_EF_PAGE_CACHE_SUB_EXECUTOR_H
8 #define PXR_EXEC_EF_PAGE_CACHE_SUB_EXECUTOR_H
36 template <
typename>
class EngineType,
37 typename DataManagerType>
47 using SpeculationEngineType =
48 typename EngineType<T>::SpeculationExecutorEngine;
90 virtual const VdfVector *_GetOutputValueForReading(
102 virtual void _ClearData();
106 static const _Factory _factory;
112 template <
template <
typename>
class EngineType,
typename DataManagerType>
116 template <
template <
typename>
class EngineType,
typename DataManagerType>
127 template <
template <
typename>
class EngineType,
typename DataManagerType>
135 Base::_GetInputValue(connection, mask)) {
144 template <
template <
typename>
class EngineType,
typename DataManagerType>
152 Base::_GetOutputValueForReading(output, mask)) {
157 return _GetParentExecutorValue(output, mask);
160 template <
template <
typename>
class EngineType,
typename DataManagerType>
167 return parentExecutor
173 template <
template <
typename>
class EngineType,
typename DataManagerType>
181 if (!Base::_dataManager.IsEmpty()) {
182 Base::_dataManager.Clear();
Manages a page cache and provides methods for invalidation of cached values.
#define PXR_NAMESPACE_OPEN_SCOPE
GLsizei const GLfloat * value
virtual const VdfExecutorFactoryBase & GetFactory() const overridefinal
VDF_API void SetParentExecutor(const VdfExecutorInterface *parentExecutor)
A VdfMask is placed on connections to specify the data flowing through them.
Executor used in speculation.
Executes a VdfNetwork to compute a requested set of values. Caches the computed data in a EfPageCache...
EfPageCacheSubExecutor(EfPageCacheStorage *cacheStorage)
const VdfOutput & GetSourceOutput() const
Returns the output (ie. source) for this connection.
Executes a VdfNetwork to compute a requested set of values. Caches the computed data in an EfPageCach...
const VdfVector * GetOutputValue(const VdfOutput &output, const VdfMask &mask) const
#define PXR_NAMESPACE_CLOSE_SCOPE
virtual ~EfPageCacheSubExecutor()
Abstract base class for classes that execute a VdfNetwork to compute a requested set of values...