Class Pipeline.NodeInfo
Definition
- Assembly:
- Tizen.MachineLearning.Inference.dll
NodeInfo class for node information in pipeline. Note that, node is depend on the pipeline. If the pipeline is closed, all the node information is invalid.
public abstract class Pipeline.NodeInfo
- Inheritance
-
objectPipeline.NodeInfo
- Derived
Constructors
View SourceNodeInfo(NodeType, string, Pipeline)
Creates a new NodeInfo instance with the given node information
Declaration
protected NodeInfo(Pipeline.NodeType type, string name, Pipeline pipe)
Parameters
| Type | Name | Description |
|---|---|---|
| Pipeline.NodeType | type | The node type. |
| string | name | The node name. |
| Pipeline | pipe | The Pipeline instance the node included. |
Properties
View SourceName
The node name.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Type
The node type.
Declaration
public Pipeline.NodeType Type { get; }
Property Value
| Type | Description |
|---|---|
| Pipeline.NodeType |
Valid
The flag to indicate valid state.
Declaration
public bool Valid { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceGetValue(string, out bool)
Gets the boolean of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out bool retValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| bool | retValue | On return, a boolean value. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
GetValue(string, out double)
Gets the floating-point value of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out double retValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| double | retValue | On return, a floating-point value. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
GetValue(string, out int)
Gets the integer (i.e. System.Int32) of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out int retValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| int | retValue | On return, a integer value. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
GetValue(string, out long)
Gets the long integer (i.e. System.Int64) of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out long retValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| long | retValue | On return, a long integer value. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
GetValue(string, out string)
Gets the string of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out string retValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| string | retValue | On return, a string value. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
GetValue(string, out uint)
Gets the unsigned integer (i.e. System.UInt32) of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out uint retValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| uint | retValue | On return, a unsigned integer value. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
GetValue(string, out ulong)
Gets the unsigned long integer (i.e. System.UInt64) of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out ulong retValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| ulong | retValue | On return, a unsigned long integer value. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
GetValue<T>(string)
Get the value of node's property in NNStreamer pipelines.
Declaration
public T GetValue<T>(string propertyName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
Returns
| Type | Description |
|---|---|
| T | The value of given property. |
Type Parameters
| Name | Description |
|---|---|
| T | The value type of given property. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
SetValue(string, bool)
Sets the boolean of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| bool | value | The boolean value of given property. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
SetValue(string, double)
Gets the floating-point value of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, double value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| double | value | The floating-point value of given property. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
SetValue(string, int)
Sets the integer (i.e. System.Int32) of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| int | value | The integer value of given property. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
SetValue(string, long)
Sets the long integer (i.e. System.Int64) of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, long value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| long | value | The long integer value of given property. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
SetValue(string, string)
Sets the string of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| string | value | The string of given property. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
SetValue(string, uint)
Sets the unsigned integer (i.e. System.UInt32) of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, uint value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| uint | value | The unsigned integer value of given property. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
SetValue(string, ulong)
Sets the unsigned long integer (i.e. System.UInt64) of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, ulong value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | The property name. |
| ulong | value | The unsigned long integer value of given property. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | Thrown when the feature is not supported. |
| System.ArgumentException | Thrown when the method failed due to an invalid parameter. |