Contains all nodes of a device or module.
Inheritance Hierarchy
Stemmer.Cvb.Collections.GenericReadOnlyDictionaryBaseString, Node
Stemmer.Cvb.GenApiNodeMap
Namespace: Stemmer.Cvb.GenApi
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
public sealed class NodeMap : ReadOnlyDictionaryBase<string, Node>, INativeHandle, IDisposable, INodeMap, IDictionary<string, INode>, ICollection<KeyValuePair<string, INode>>, IEnumerable<KeyValuePair<string, INode>>, IEnumerable
The NodeMap type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Count |
Gets the number of items in the dictionary.
(Inherited from ReadOnlyDictionaryBaseTKey, TValue.) | |
| Description |
Gets the descriptive text of this node map.
| |
| Handle |
Native CVB NODE handle.
| |
| IsDisposed |
Tests whether the native handle has been disposed.
| |
| Item |
Indexer to retrieve a node with the given name from
this node map.
(Overrides ReadOnlyDictionaryBaseTKey, TValueItemTKey.) | |
| Keys |
Gets a read-only collection of all keys in this dictionary.
(Inherited from ReadOnlyDictionaryBaseTKey, TValue.) | |
| ModelName |
Gets the name of the model, that the XML description is for.
| |
| ModuleName |
Gets the GenTL module name this node map refers to.
| |
| ToolTip |
Gets the short descriptive text, if any is available.
| |
| TransportLayerNamespace |
Gets the transport layer type of the device.
| |
| Values |
Gets the value-collection containing all available nodes.
(Overrides ReadOnlyDictionaryBaseTKey, TValueValues.) | |
| VendorName |
Gets the name of the vendor, who created the XML description.
| |
| XmlFileSchemaVersion |
Gets the XML schema version.
| |
| XmlFileVersion |
Gets the XML version.
|
Methods
| Name | Description | |
|---|---|---|
| Close |
Alias of the Dispose method.
| |
| ContainsKey |
Gets whether a node with the name is contained in
this node map.
(Overrides ReadOnlyDictionaryBaseTKey, TValueContainsKey(TKey).) | |
| Dispose |
Disposes the native object wrapped by this object immediately.
| |
| DownloadFile |
Downloads a file from the camera via the GenApi file download.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Finalizer.
(Overrides ObjectFinalize.) | |
| FromHandle(IntPtr) |
Create a NodeMap from a native handle.
| |
| FromHandle(IntPtr, ShareObject) |
Create a NodeMap from a native handle and potentially increment
the unmanaged reference count on the native handle.
| |
| GetAvailableFiles |
Gets the currently available file identifiers, which can be downloaded
or uploaded.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| LoadSettings |
Loads the node values from the gcs file given in
filename and sets the node values accordingly.
| |
| PollNodes |
Polls all nodes of this node map that have a
PollingTime.
| |
| SaveSettings(String) |
Saves all nodes which have IsStreamable set to
true.
| |
| SaveSettings(String, IEnumerableNode) |
Saves all nodes.
| |
| SaveSettings(String, String) |
Saves all nodes which are listed in nodeNames.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGetValue(String, Node) |
Tries to get the node with the given name.
(Overrides ReadOnlyDictionaryBaseTKey, TValueTryGetValue(TKey, TValue).) | |
| TryGetValueTNode(String, TNode) |
Tries to get the node with the given
name.
| |
| UploadFile |
Uploads a file to the camera via the GenApi file upload.
|
Events
| Name | Description | |
|---|---|---|
| ObjectDisposing |
Raised when this object is about to be disposed via the
Dispose method.
|
Explicit Interface Implementations
See Also