Represents the pipe (link) between filter pads.

Constructors

  • Internal use only. Please use FilterComplexContext.pipe().

    Parameters

    • name: string
    • Optional fixed: boolean
    • Optional shared: boolean

    Returns Pipe

Methods

  • Give this pipe an unique name in order to refer to it elsewhere.

    It makes this pipe fixed and prevents renaming.

    An error will be thrown if this pipe is fixed.

    Parameters

    • name: string

      Name of the pipe.

    Returns Pipe

  • Set the hint of the pipe.

    It will be used in error messages.

    Parameters

    • hint: string

      Hint

    Returns Pipe

  • Similar to toString(), but only for debugging purpose.

    Returns string

  • Notify that the input side of the pipe is connected to another pad.

    This will throw an error if the input side has already been connected.

    Returns Pipe

  • Notify that the output side of the pipe is connected to another pad.

    This will throw an error if the output side has already been connected.

    Returns Pipe

  • Return the string representation of this pipe (e.g. [pipe]).

    Returns string