Class Pipeline.ValveNode

Definition

Namespace:
Tizen.MachineLearning.Inference
Assembly:
Tizen.MachineLearning.Inference.dll

ValveNode class to handle the valve node.

C#
Copy
public class Pipeline.ValveNode : Pipeline.NodeInfo
Inheritance
object
Pipeline.ValveNode

Methods

View Source

Control(bool)

Controls the valve. Set the flag true to open (let the flow pass), false to close (stop the flow).

Declaration
C#
Copy
public void Control(bool open)
Parameters
Type Name Description
bool open

The flag to control the flow

Exceptions
Type Condition
System.NotSupportedException

Thrown when the feature is not supported.

System.InvalidOperationException

Thrown when the node is invalid.