Interface class that defines the execution environment for the client to run a computation.
virtual const VtValue * GetOptionalInputValuePtr(const TfToken &name) const =0
Obtains the value of an named input to the computation.
virtual const VtValue & GetInputValue(const TfToken &name) const =0
Obtains the value of an named input to the computation.
virtual void SetOutputValue(const TfToken &name, const VtValue &output)=0
Set the value of the specified output.
virtual void RaiseComputationError()=0
Called to indicate an error occurred while executing a computation so that its output are invalid.