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.
C#Copypublic abstract class Pipeline.NodeInfo
- Inheritance
-
objectPipeline.NodeInfo
- Derived
Constructors
NodeInfo(NodeType, string, Pipeline)
Creates a new NodeInfo instance with the given node information
Declaration
C#Copyprotected 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
Declaration
C#Copypublic string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Declaration
C#Copypublic Pipeline.NodeType Type { get; }
Property Value
| Type | Description |
|---|---|
| Pipeline.NodeType |
Declaration
C#Copypublic bool Valid { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Declaration
C#Copypublic 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
C#Copypublic 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
C#Copypublic 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
C#Copypublic 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
C#Copypublic 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
C#Copypublic 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
C#Copypublic 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. |
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic 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
C#Copypublic 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
C#Copypublic 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
C#Copypublic 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. |
Declaration
C#Copypublic 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
C#Copypublic 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
C#Copypublic 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. |