INode#

interface Itala.GenApi.INode : Itala.GenApi.IBase#

Interface common to all nodes.

Subclassed by Itala.GenApi.Node

Public Functions

void Invalidate ()#

Indicates that the node’s value may have changed. Fires the handler on this and all dependent nodes.

List<INode> GetChildrens (LinkType linkType)#

Get all nodes this node directly depends on.

Param linkType:

The link type

Return:

List of reference to node children of the current node.

List<INode> GetParents ()#

Gets all nodes this node is directly depending on

Return:

List of reference to node parents of the current node.

List<string> PropertyNames ()#

List of the names all properties set during initialization.

Return:

Returns a list of the names all properties

string GetPropertyValue (string propertyName)#

Retrieves a property value. If a property has multiple values they come with Tabs as delimiters.

Param propertyName:

Name of the property to retrive value

Return:

Retrieves a property value.

string GetPropertyAttributes (string propertyName)#

Retrieves a property attribute. If a property has multiple attributes they come with Tabs as delimiters.

Param propertyName:

Name of the property to retrive attribute

Return:

Retrieves a property attributes.

void ImposeAccessMode (AccessMode accessMode)#

Imposes an access mode to the natural access mode of the node.

Param accessMode:

Access Mode to impose.

void ImposeVisibility (Visibility visibility)#

Imposes a visibility to the natural visibility of the node.

Param visibility:

Visibility to impose.

INode GetAlias ()#

Retrieves the a node which describes the same feature in a different way

Return:

Reference to node.

INode GetCastAlias ()#

Retrieves the a node which describes the same feature so that it can be casted

Return:

Reference to node.

T TryGetAs<T> ()#

Retrive the value interface of type T of the current node.

Tparam T:

Intreface to retrive of the current node, must be child of IValue.

Return:

Reference of the node with the T interface.

Properties

string Name { get; set; }#

Node name.

NameSpace NameSpace { get; set; }#

Name space of the node.

Visibility Visibility { get; set; }#

Recommended visibility of the node.

bool IsCachable { get; set; }#

Is the node value cachable.

bool IsAccessModeCacheable { get; set; }#

True if the AccessMode can be cached.

CachingMode CachingMode { get; set; }#

Caching Mode of the node.

Int64 PollingTime { get; set; }#

Recommended polling time (for not cachable nodes).

string ToolTip { get; set; }#

Short description of the node.

string Description { get; set; }#

Long description of the node.

string DisplayName { get; set; }#

Name string for display.

string DeviceName { get; set; }#

Name of the device.

GenApi.NodeChangedEventHandler NodeChanged { get; set; }#

Subscribes and Unsubscribe a NodeChangedEventHandler instance to the current node. The implementation must be provided by the client code.

INodeMap NodeMap { get; set; }#

Retrieves the central node map.

string EventId { get; set; }#

EventId of the node

bool IsStreamable { get; set; }#

True if the node is streamable.

string DocuURL { get; set; }#

URL pointing to the documentation of that feature.

bool IsDeprecated { get; set; }#

True if the node should not be used any more.

InterfaceType InterfaceType { get; set; }#

Type of the main interface of a node.

bool IsFeature { get; set; }#

True if the node can be reached via category nodes from a category node named “Root”.