OperatorContext

Object Hierarchy | Related C++ Class: OperatorContext

Inheritance

Context

OperatorContext

Introduced

v5.1

Description

This object is provided as the context object in the _Update callback for a self-installed CustomOperator.

This object offers all the context information necessary to implement a normal operator. However for advanced operators it is possible to retrieve more information via the CustomOperator object, which is available through the Context.Source property.

Note: Runtime operators, such as those created by XSIFactory.CreateScriptedOp, use the UpdateContext object instead.

The Context.UserData property provides a convenient way to store non-persisted, per-instance state information for the operator.

Tip: For more information on using the OperatorContext object in callbacks, see Callbacks for Self-Installing Plug-ins

Methods

GetAttribute operator GetInputValue GetParameterValue SetAttribute operator

Properties

OutputPort operator OutputTarget operator Source operator Time operator
UserData operator      
       

See Also

CustomOperator UpdateContext