Class SpinnakerNET::GenApi::NodeMap¶
ClassList > SpinnakerNET > GenApi > NodeMap
NodeMap containing all nodes of an XML description.
#include <NodeMap.h>
Inherits the following classes: Helper::NodeEnumerableFactory, SpinnakerNET::GenApi::INodeMap, SpinnakerNET::GenApi::IDeviceInfo
Public Attributes¶
| Type | Name |
|---|---|
| property int | Count = /* multi line expression */Gets the number of nodes in the node map. |
| property SpinnakerNET::GenApi::Version | DeviceVersion = /* multi line expression */Get the SpinnakerNET::GenApi::Version of the device description file. |
| property bool | Disposed = /* multi line expression */Gets or sets whether this object has been disposed or not. |
| property __int16 | GenApiBuild = /* multi line expression */Gets the build number of the DLL's GenApi implementation. |
| property SpinnakerNET::GenApi::Version | GenApiVersion = /* multi line expression */Get the SpinnakerNET::GenApi::Version of the DLL'sGenApi implementation. |
| property bool | IsReadOnly = /* multi line expression */Gets whether this collection is read-only. |
| property ICollection< System::String^> | Keys = /* multi line expression */Gets the collection containing all node names. |
| property System::String | ModelName = /* multi line expression */Get the model name. |
| where | NodeType Gets the INode with the given__name and casts it toNodeType . |
| property System::String | ProductGuid = /* multi line expression */Get the GUID describing the product. |
| property SpinnakerNET::GenApi::Version | SchemaVersion = /* multi line expression */Get the schema SpinnakerNET::GenApi::Version number. |
| property System::String | StandardNameSpace = /* multi line expression */Get the standard name space. |
| property System::String | ToolTip = /* multi line expression */Get tool tip. |
| property ICollection< SpinnakerNET::GenApi::INode^> | Values = /* multi line expression */Gets the collection containing all nodes. |
| property System::String | VendorName = /* multi line expression */Get the vendor name. |
| property System::String | VersionGuid = /* multi line expression */Get the GUID describing the product SpinnakerNET::GenApi::Version . |
| property SpinnakerNET::GenApi::INode | default = /* multi line expression */Gets the node with the name given in key . Set is not supported and results in an exception. |
Public Attributes inherited from SpinnakerNET::GenApi::INodeMap¶
See SpinnakerNET::GenApi::INodeMap
| Type | Name |
|---|---|
| where | NodeType Gets the INode with the given__name and casts it toNodeType . |
Public Attributes inherited from SpinnakerNET::GenApi::IDeviceInfo¶
See SpinnakerNET::GenApi::IDeviceInfo
| Type | Name |
|---|---|
| property SpinnakerNET::GenApi::Version | DeviceVersion = /* multi line expression */Get the SpinnakerNET::GenApi::Version of the device description file. |
| property __int16 | GenApiBuild = /* multi line expression */Gets the build number of the DLL's GenApi implementation. |
| property SpinnakerNET::GenApi::Version | GenApiVersion = /* multi line expression */Get the SpinnakerNET::GenApi::Version of the DLL'sGenApi implementation. |
| property::System::String | ModelName = /* multi line expression */Get the model name. |
| property::System::String | ProductGuid = /* multi line expression */Get the GUID describing the product. |
| property SpinnakerNET::GenApi::Version | SchemaVersion = /* multi line expression */Get the schema SpinnakerNET::GenApi::Version number. |
| property::System::String | StandardNameSpace = /* multi line expression */Get the standard name space. |
| property::System::String | ToolTip = /* multi line expression */Get tool tip. |
| property::System::String | VendorName = /* multi line expression */Get the vendor name. |
| property::System::String | VersionGuid = /* multi line expression */Get the GUID describing the product SpinnakerNET::GenApi::Version . |
Public Functions¶
| Type | Name |
|---|---|
| virtual void | Add (System::String ^ key, SpinnakerNET::GenApi::INode ^ value) Not supported. |
| virtual void | Add (KeyValuePair< System::String^, SpinnakerNET::GenApi::INode^> item) Not supported. |
| virtual void | Clear (void) Not supported. |
| virtual void __clrcall | Connect (Port ^ port) Connects the given port to the node with the name 'Device'. |
| virtual void __clrcall | Connect (Port ^ port, System::String ^ name) Connects the given port to the node with the given__name . |
| virtual bool | Contains (KeyValuePair< System::String^, SpinnakerNET::GenApi::INode^> item) Determines whether the node map contains a specific node name/node pair. |
| virtual bool | ContainsKey (System::String ^ key) Determines whether the node map contains the given node name. |
| virtual void | CopyTo (array< KeyValuePair< System::String^, SpinnakerNET::GenApi::INode^> > ^ target, int arrayIndex) Copies the elements of the node map to an array in target , starting at a particular__arrayIndex . |
| virtual void __clrcall | InvalidateNodes (void) Invalidate all nodes. |
| virtual void __clrcall | LoadXMLFromString (System::String ^ xml) Creates a NodeMap from an XML document in the__xml __System.System::String . |
| __clrcall | NodeMap (void) Default constructor creating an empty NodeMap . |
| virtual void __clrcall | Poll (__int64 elapsedTime) Invalidates all due pollable nodes. |
| virtual bool | Remove (System::String ^ key) Not supported. |
| virtual bool | Remove (KeyValuePair< System::String^, SpinnakerNET::GenApi::INode^> item) Not supported. |
| virtual bool | TryGetValue (System::String ^ key, SpinnakerNET::GenApi::INode ^% value) Gets the INode with the given node name. |
| void | set (System::String ^ key, SpinnakerNET::GenApi::INode ^ value) |
| virtual __clrcall | ~NodeMap (void) Clean up any resources being used deterministically. |
Public Functions inherited from SpinnakerNET::GenApi::INodeMap¶
See SpinnakerNET::GenApi::INodeMap
| Type | Name |
|---|---|
| void __clrcall | Connect (Port ^ port) Connects the given port to the node with the name 'Device'. |
| void __clrcall | Connect (Port ^ port, System::String ^ name) Connects the given port to the node with the given__name . |
| void __clrcall | InvalidateNodes (void) Invalidate all nodes. |
| void __clrcall | Poll (__int64 elapsedTime) Invalidates all due pollable nodes. |
Protected Functions¶
| Type | Name |
|---|---|
| virtual System::Collections::Generic::IEnumerator< KeyValuePair< System::String^, SpinnakerNET::GenApi::INode^> > | DoGetEnumerator () override |
Public Attributes Documentation¶
variable Count¶
Gets the number of nodes in the node map.
Number of elements in the node map
variable DeviceVersion¶
Get the SpinnakerNET::GenApi::Version of the device description file.
variable Disposed¶
Gets or sets whether this object has been disposed or not.
true if this object has been disposed; false otherwise.
variable GenApiBuild¶
Gets the build number of the DLL's GenApi implementation.
variable GenApiVersion¶
Get the SpinnakerNET::GenApi::Version of the DLL'sGenApi implementation.
variable IsReadOnly¶
Gets whether this collection is read-only.
Always true
variable Keys¶
Gets the collection containing all node names.
Collection containing all fully qualified names known to the NodeMap.
variable ModelName¶
Get the model name.
variable NodeType¶
Gets the INode with the given__name and casts it toNodeType .
Parameters:
nameName of theINodeto be retrieved.
variable ProductGuid¶
Get the GUID describing the product.
variable SchemaVersion¶
Get the schema SpinnakerNET::GenApi::Version number.
variable StandardNameSpace¶
Get the standard name space.
variable ToolTip¶
Get tool tip.
variable Values¶
Gets the collection containing all nodes.
Collection containing all INode objects known to the NodeMap.
variable VendorName¶
Get the vendor name.
variable VersionGuid¶
Get the GUID describing the product SpinnakerNET::GenApi::Version .
variable default¶
Gets the node with the name given in key . Set is not supported and results in an exception.
virtual property SpinnakerNET::GenApi::INode SpinnakerNET::GenApi::NodeMap::default[System::String^];
INode object associated with the given name.
Public Functions Documentation¶
function Add [1/2]¶
Not supported.
virtual void SpinnakerNET::GenApi::NodeMap::Add (
System::String ^ key,
SpinnakerNET::GenApi::INode ^ value
)
Parameters:
function Add [2/2]¶
Not supported.
virtual void SpinnakerNET::GenApi::NodeMap::Add (
KeyValuePair < System::String^, SpinnakerNET::GenApi::INode ^> item
)
Parameters:
itemNode name and object pair.
function Clear¶
Not supported.
function Connect [1/2]¶
Connects the given port to the node with the name 'Device'.
Parameters:
portPortobject to be connected to device node.
Implements SpinnakerNET::GenApi::INodeMap::Connect
function Connect [2/2]¶
Connects the given port to the node with the given__name .
virtual void __clrcall SpinnakerNET::GenApi::NodeMap::Connect (
Port ^ port,
System::String ^ name
)
Parameters:
portPortobject to be connected.nameName of the portNodeto be connected.
Implements SpinnakerNET::GenApi::INodeMap::Connect
function Contains¶
Determines whether the node map contains a specific node name/node pair.
virtual bool SpinnakerNET::GenApi::NodeMap::Contains (
KeyValuePair < System::String^, SpinnakerNET::GenApi::INode ^> item
)
Parameters:
itemNode name and object pair.
Returns:
true if the node map contains a name/INode pair; false otherwise.
function ContainsKey¶
Determines whether the node map contains the given node name.
Parameters:
keyNode name.
Returns:
true if the node map contains an INode with the given name; false otherwise.
function CopyTo¶
Copies the elements of the node map to an array in target , starting at a particular__arrayIndex .
virtual void SpinnakerNET::GenApi::NodeMap::CopyTo (
array < KeyValuePair < System::String^, SpinnakerNET::GenApi::INode ^> > ^ target,
int arrayIndex
)
Parameters:
targetOne-dimensionalArraythat is the destination.Arraymust have zero-based indexing.arrayIndexZero-base index in target at which copying begins.
function InvalidateNodes¶
Invalidate all nodes.
Implements SpinnakerNET::GenApi::INodeMap::InvalidateNodes
function LoadXMLFromString¶
Creates a NodeMap from an XML document in the__xml __System.System::String .
Parameters:
xmlContains the XML document.
function NodeMap¶
Default constructor creating an empty NodeMap .
function Poll¶
Invalidates all due pollable nodes.
Parameters:
elapsedTimeElapsed time since last call in ms.
Implements SpinnakerNET::GenApi::INodeMap::Poll
function Remove [1/2]¶
Not supported.
Parameters:
keyNode name.
Returns:
true if the INode with the given name was successfully removed; false otherwise.
function Remove [2/2]¶
Not supported.
virtual bool SpinnakerNET::GenApi::NodeMap::Remove (
KeyValuePair < System::String^, SpinnakerNET::GenApi::INode ^> item
)
Parameters:
itemNode name and object pair.
Returns:
true if the name/INode pair could be successfully removed; false otherwise.
function TryGetValue¶
Gets the INode with the given node name.
virtual bool SpinnakerNET::GenApi::NodeMap::TryGetValue (
System::String ^ key,
SpinnakerNET::GenApi::INode ^% value
)
Parameters:
keyNode name.valueIf the key was found, the value contains the associatedINodeobject;nullotherwise.
Returns:
true if the node map contains an INode with the given name; false otherwise.
function set¶
void SpinnakerNET::GenApi::NodeMap::set (
System::String ^ key,
SpinnakerNET::GenApi::INode ^ value
)
function ~NodeMap¶
Clean up any resources being used deterministically.
Protected Functions Documentation¶
function DoGetEnumerator¶
virtual System::Collections::Generic::IEnumerator< KeyValuePair < System::String^, SpinnakerNET::GenApi::INode ^> > SpinnakerNET::GenApi::NodeMap::DoGetEnumerator () override
The documentation for this class was generated from the following file /workspace/src/SpinnakerNET/GenApiNet/NodeMap.h