Stores information on a discovered device/node. More...
Inherits IEnumerable< KeyValuePair< DiscoveryProperties, string > >.
Public Member Functions | |
IEnumerator< KeyValuePair< DiscoveryProperties, string > > | GetEnumerator () |
Gets the typed enumerator for the available information properties. More... | |
IEnumerator IEnumerable. | GetEnumerator () |
Gets the untyped enumerator for the available information properties. More... | |
override string | ToString () |
Gets the access token as a string representation. More... | |
bool | TryGetProperty (DiscoveryProperties id, out string property) |
Tries to get the value of the information property with the given id . More... | |
void | SetGenApiFeature (string nodeMapId, string featureName, string featureValue) |
Sets a GenICam GenApi feature to be set with a new DeviceFactory.Discover(DiscoveryInformation) run or while opening a Device via this information. More... | |
void | SetParameter (string name, string value) |
Sets a custom GenTL Producer dependent parameter. More... | |
Properties | |
DiscoveryInformationList | Parent [get] |
Gets the parent list. | |
int | Index [get] |
Gets the index of this element in the Parent list. | |
string | AccessToken [get] |
The access token for opening the device/node. More... | |
ModuleLayer | DiscoveryLayer [get] |
Gets the highest ModuleLayer in this discovery information. | |
string | this[DiscoveryProperties id] [get] |
Gets the value of the information property with the given id . More... | |
Stores information on a discovered device/node.
IEnumerator< KeyValuePair< DiscoveryProperties, string > > GetEnumerator | ( | ) |
Gets the typed enumerator for the available information properties.
IEnumerator IEnumerable. GetEnumerator | ( | ) |
Gets the untyped enumerator for the available information properties.
void SetGenApiFeature | ( | string | nodeMapId, |
string | featureName, | ||
string | featureValue | ||
) |
Sets a GenICam GenApi feature to be set with a new DeviceFactory.Discover(DiscoveryInformation) run or while opening a Device via this information.
The feature is set on this DiscoveryLayer module.
nodeMapId | ID of the nodemap to get featureName from. The identifiers are defined on NodeMapDictionary. |
featureName | Name of the GenApi feature to set. |
featureValue | Value of the GenApi feature to set. |
ObjectDisposedException | If Parent has been disposed. |
ArgumentNullException | If one of the string arguments is null . |
void SetParameter | ( | string | name, |
string | value | ||
) |
Sets a custom GenTL Producer dependent parameter.
Contact the support of the GenTL Producer to get a list of available parameters to set.
name | Name of the parameter to set. |
value | Value of the parameter to set. |
ObjectDisposedException | If Parent has been disposed. |
ArgumentNullException | If one of the string arguments is null . |
override string ToString | ( | ) |
Gets the access token as a string representation.
bool TryGetProperty | ( | DiscoveryProperties | id, |
out string | property | ||
) |
Tries to get the value of the information property with the given id .
id | Information to get. |
property | Text containing the information if successful. |
true
if successful; false
otherwise.
|
get |
The access token for opening the device/node.
Also supports additional (parameterized) queries.
|
get |
Gets the value of the information property with the given id .
id | Information to get. |