GevServer NodeMap.
More...
Inherits NodeDictionaryBase< TNode >, and IConfigurableNodeMap.
|
bool | TryGetValue< TNode > (string name, out TNode node) |
| Tries to get the node with the given name .
|
|
void | Add (Node node) |
| Adds the given node to this NodeMap.
|
|
bool | Remove (Node node) |
| Removes the node from this NodeMap.
|
|
void | Dispose () |
| Disposes of this dictionary and all its nodes.
|
|
bool | ContainsKey (string key) |
| Gets whether this dictionaries contains the given key .
|
|
bool | Remove (string key) |
| Removes the node identified by the given key .
|
|
|
override void | Dispose (bool disposing) |
| Disposes of all Nodes if disposing .
|
|
override void | AddNode (string key, Node value) |
| Adds the given value to this NodeMap.
|
|
override bool | RemoveNode (string key) |
| Removes a Node from this NodeMap by its key .
|
|
void | AddNode (string key, TNode value) |
| Adds a new TNode value associated to the given key .
|
|
bool | RemoveNode (string key) |
| Removes the node at the given key .
|
|
TNode | GetNode (string key) |
| Actual implementation for getting nodes.
|
|
bool | TryGetNode (string key, out TNode value) |
| Tries to get the TNode value with the given key .
|
|
|
GevServer | Server [get] |
| Gets the GevServer object this node map belongs to.
|
|
override bool | IsReadOnly [get] |
| Gets whether this dictionary is read only.
|
|
string | ModelName [get] |
| Gets the model name of the Server.
|
|
string | ModuleName [get] |
| Gets this NodeMaps module name.
|
|
string | TransportLayerNamespace [get] |
| Gets this NodeMaps transport layer namespace.
|
|
string | VendorName [get] |
| Gets the device vendor name of the Server.
|
|
GenApiVersion | XmlFileSchemaVersion [get] |
| Gets the GenICam GenApi schema version this Server creates.
|
|
GenApiVersion | XmlFileVersion [get, set] |
| Gets or sets the version of this server's GenApi XML description.
|
|
bool | IsDisposed [get] |
| Gets whether this dictionary has been disposed.
|
|
IDictionary< string, TNode > | Nodes = new Dictionary<string, TNode>() [get] |
| Gets the dictionary holding all node objects.
|
|
TNode | this[string key] [get, set] |
| Indexer of this dictionary to get/add TNode objects.
|
|
int | Count [get] |
| Gets the number of TNodes in this dictionary.
|
|
bool | IsReadOnly [get] |
| Gets whether this dictionary is read only.
|
|
ICollection< string > | Keys [get] |
| Gets the keys for all nodes.
|
|
ICollection< TNode > | Values [get] |
| Gets all the TNodes in this dictionary.
|
|
◆ Add()
Adds the given node to this NodeMap.
The key will be the full node .Node.Name.
- Parameters
-
◆ AddNode()
override void AddNode |
( |
string | key, |
|
|
Node | value ) |
|
protected |
Adds the given value to this NodeMap.
- Parameters
-
◆ Dispose()
override void Dispose |
( |
bool | disposing | ) |
|
|
protectedvirtual |
Disposes of all Nodes if disposing .
- Parameters
-
disposing | true if called from IDisposable.Dispose; false if called from finalizer. |
Reimplemented from NodeDictionaryBase< TNode >.
◆ Remove()
Removes the node from this NodeMap.
- Parameters
-
- Returns
true
if node has been removed; false
if not present in this NodeMap.
◆ RemoveNode()
override bool RemoveNode |
( |
string | key | ) |
|
|
protected |
Removes a Node from this NodeMap by its key .
- Parameters
-
key | Key to identify the Node to remove. |
- Returns
true
if key has been removed; false
if not present in this NodeMap.
◆ TryGetValue< TNode >()
bool TryGetValue< TNode > |
( |
string | name, |
|
|
out TNode | node ) |
Tries to get the node with the given name .
- Template Parameters
-
TNode | Type of node to retrieve. |
- Parameters
-
name | Name with or without the namespace prefix. |
node | Node instance; null if not found. |
- Returns
- true if node with given name exists and is of type TNode.
Implements INodeMap.
◆ IsReadOnly
◆ ModuleName
◆ TransportLayerNamespace
string TransportLayerNamespace |
|
get |
Gets this NodeMaps transport layer namespace.
This is always GEV.
Implements INodeMap.
◆ XmlFileVersion
Gets or sets the version of this server's GenApi XML description.
It is mandatory to increase the version information when you change anything about the GenApi XML description.
To distinguish between different GenApi XML feature sets use the GevServer.UserVersion property.
See GenApiVersion for a description of the version components.
Implements IConfigurableNodeMap.