INodeMap#

interface Itala.GenApi.INodeMap#

Interface to access the node map.

Subclassed by Itala.GenApi.NodeMap

Public Functions

INode GetNode (string name)#

Retrieves the node from the central map by Name.

Param name:

Name of the node to retrive.

Return:

Reference to INode interface retrived.

T GetNode<T> (string name)

Retrieves the node from the central map by Name.

Tparam T:

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

Param name:

Name of the node to retrive.

Return:

Reference to T interface retrived.

List<INode> GetNodes ()#

Retrieves all nodes in the node map.

Return:

List of the node in the nodemap.

void InvalidateNodes ()#

Invalidates all nodes.

void Poll (Int64 elapsedTime)#

Fires nodes which have a polling time.

Param elapsedTime:

Polling time.

void SaveToFile (string fileName)#

Save the current state of the Nodemap to a local file. The extension of the file must be specified in the input string. The path of where to save the file must be included in the filename.

Param fileName:

String containing the location, filename and extension of the file.

void LoadFromFile (string fileName)#

Load the state of the Nodemap from a local file. The extension of the file must be specified in the input string. The path of where it has been saved must be included in the filename.

Param fileName:

String containing the location, filename and extension of the file.

Properties

string DeviceName { get; set; }#

Get device name. The device name identifies a device instance, e.g. for debugging purposes. The default ist “Device”.

Int64 NumNodes { get; set; }#

Number of nodes in the map.