Table of Contents

Class OutputNodeProcessor<T>

Namespace
FlowGraph.Core.DataFlow
Assembly
FlowGraph.Core.dll

A processor for nodes that receive values and display/use them (no outputs). Use this for output/display nodes.

public class OutputNodeProcessor<T> : NodeProcessor, INodeProcessor

Type Parameters

T

The type of value this node receives.

Inheritance
OutputNodeProcessor<T>
Implements
Inherited Members

Constructors

OutputNodeProcessor(Node, string)

Creates a new output node processor.

public OutputNodeProcessor(Node node, string inputPortId = "in")

Parameters

node Node

The node.

inputPortId string

The input port ID.

Properties

InputPort

Gets the input port.

public ReactivePort<T> InputPort { get; }

Property Value

ReactivePort<T>

Value

Gets the current input value.

public T? Value { get; }

Property Value

T

Methods

Process()

Processes inputs and updates outputs. Called automatically when any input changes (if auto-execute is enabled).

public override void Process()

Events

ValueReceived

Event raised when the value changes.

public event EventHandler<T?>? ValueReceived

Event Type

EventHandler<T>