Loading...
Searching...
No Matches
VdfSpeculationExecutor< EngineType, DataManagerType > Class Template Reference

Executor used in speculation. More...

#include <speculationExecutor.h>

Public Member Functions

 VdfSpeculationExecutor (const VdfSpeculationNode *speculationNode, const VdfExecutorInterface *parentExecutor)
 Constructs a speculation executor that was initiated from speculationNode while being computed by parentExecutor.
 
 VdfSpeculationExecutor (const VdfExecutorInterface *parentExecutor)
 Construct a speculation executor with the given parentExecutor, without registering a speculation node for cycle detection.
 
virtual ~VdfSpeculationExecutor ()
 Destructor.
 
virtual void SetOutputValue (const VdfOutput &output, const VdfVector &value, const VdfMask &mask) override final
 Set the cached value for a given output.
 
virtual bool TakeOutputValue (const VdfOutput &output, VdfVector *value, const VdfMask &mask) override final
 Transfers ownership of value to the given output.
 
virtual const VdfExecutorFactoryBase & GetFactory () const override final
 Returns the factory instance for this executor.
 

Detailed Description

template<template< typename > class EngineType, typename DataManagerType>
class VdfSpeculationExecutor< EngineType, DataManagerType >

Executor used in speculation.

A common base class for all speculation executors.

Definition at line 37 of file speculationExecutor.h.

Constructor & Destructor Documentation

◆ VdfSpeculationExecutor() [1/2]

template<template< typename > class EngineType, typename DataManagerType >
VdfSpeculationExecutor ( const VdfSpeculationNode * speculationNode,
const VdfExecutorInterface * parentExecutor )

Constructs a speculation executor that was initiated from speculationNode while being computed by parentExecutor.

Definition at line 134 of file speculationExecutor.h.

◆ VdfSpeculationExecutor() [2/2]

template<template< typename > class EngineType, typename DataManagerType >
VdfSpeculationExecutor ( const VdfExecutorInterface * parentExecutor)
inlineexplicit

Construct a speculation executor with the given parentExecutor, without registering a speculation node for cycle detection.

Definition at line 68 of file speculationExecutor.h.

◆ ~VdfSpeculationExecutor()

template<template< typename > class EngineType, typename DataManagerType >
virtual ~VdfSpeculationExecutor ( )
inlinevirtual

Destructor.

Definition at line 75 of file speculationExecutor.h.

Member Function Documentation

◆ GetFactory()

template<template< typename > class EngineType, typename DataManagerType >
virtual const VdfExecutorFactoryBase & GetFactory ( ) const
inlinefinaloverridevirtual

Returns the factory instance for this executor.

Definition at line 93 of file speculationExecutor.h.

◆ SetOutputValue()

template<template< typename > class EngineType, typename DataManagerType >
void SetOutputValue ( const VdfOutput & output,
const VdfVector & value,
const VdfMask & mask )
finaloverridevirtual

Set the cached value for a given output.

Reimplemented from VdfDataManagerBasedExecutor< DataManagerType, BaseClass >.

Definition at line 161 of file speculationExecutor.h.

◆ TakeOutputValue()

template<template< typename > class EngineType, typename DataManagerType >
bool TakeOutputValue ( const VdfOutput & output,
VdfVector * value,
const VdfMask & mask )
finaloverridevirtual

Transfers ownership of value to the given output.

Reimplemented from VdfDataManagerBasedExecutor< DataManagerType, BaseClass >.

Definition at line 175 of file speculationExecutor.h.


The documentation for this class was generated from the following file: