Loading...
Searching...
No Matches
Exec_ComputationBuilderComputationValueSpecifier< allowed > Struct Template Reference

A value specifier that requests the value of a computation. More...

#include <computationBuilders.h>

+ Inheritance diagram for Exec_ComputationBuilderComputationValueSpecifier< allowed >:

Public Types

using This = Exec_ComputationBuilderComputationValueSpecifier< allowed >
 

Public Member Functions

 Exec_ComputationBuilderComputationValueSpecifier (const TfToken &computationName, const TfType resultType, ExecProviderResolution &&providerResolution, const bool fallsBackToDispatched=false)
 
This & InputName (const TfToken &inputName)
 Overrides the default input name, setting it to inputName.
 
This & Required ()
 Declares the input is required, i.e., that the computation expects an input value always to be provided at evaluation time.
 
This & FallsBackToDispatched ()
 Declares the input can find dispatched computations if the requested computation name doesn't match a local computation on the provider.
 
- Public Member Functions inherited from Exec_ComputationBuilderValueSpecifierBase
EXEC_API Exec_ComputationBuilderValueSpecifierBase (const TfToken &computationName, TfType resultType, ExecProviderResolution &&providerResolution, const TfToken &inputName, bool fallsBackToDispatched)
 
EXEC_API Exec_ComputationBuilderValueSpecifierBase (const Exec_ComputationBuilderValueSpecifierBase &)
 

Static Public Attributes

static constexpr Exec_ComputationBuilderProviderTypes allowedProviders = allowed
 

Additional Inherited Members

- Protected Member Functions inherited from Exec_ComputationBuilderValueSpecifierBase
EXEC_API void _SetInputName (const TfToken &inputName)
 
EXEC_API void _SetOptional (const bool optional)
 
EXEC_API void _SetFallsBackToDispatched (bool fallsBackToDispatched)
 

Detailed Description

template<Exec_ComputationBuilderProviderTypes allowed>
struct Exec_ComputationBuilderComputationValueSpecifier< allowed >

A value specifier that requests the value of a computation.

The template parameter determines which types of providers the input registration is allowed to be used on.

Definition at line 267 of file computationBuilders.h.

Member Typedef Documentation

◆ This

Constructor & Destructor Documentation

◆ Exec_ComputationBuilderComputationValueSpecifier()

Exec_ComputationBuilderComputationValueSpecifier ( const TfToken &  computationName,
const TfType  resultType,
ExecProviderResolution &&  providerResolution,
const bool  fallsBackToDispatched = false 
)
inline

Definition at line 270 of file computationBuilders.h.

Member Data Documentation

◆ allowedProviders

constexpr Exec_ComputationBuilderProviderTypes allowedProviders = allowed
staticconstexpr

Definition at line 286 of file computationBuilders.h.


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