Stores information on a discovered device/node.
More...
#include <cvb/driver/discovery_information.hpp>
Stores information on a discovered device/node.
- Online Manual
- Device Configuration
◆ AccessToken()
The access token for opening the device/node.
- Returns
- Access token string.
- Exceptions
-
◆ DiscoveryLayer()
Gets the highest module layer in this discovery information.
- Returns
- The module layer.
- Exceptions
-
Does | not throw any exception. |
◆ Index()
Gets the index of this element in the list.
- Returns
- The index.
- Exceptions
-
Does | not throw any exception. |
◆ operator=()
move assignment operator.
- Parameters
-
[in] | other | Object holding the old data. |
- Returns
- Reference to data's new object.
- Exceptions
-
Does | not throw any exception. |
◆ operator[]()
Gets the value of the information property with the given id.
- Parameters
-
[in] | id | Information to get. |
- Returns
- Text containing the information.
- Exceptions
-
◆ SetGenApiFeature()
void SetGenApiFeature |
( |
const String & | nodeMapId, |
|
|
const String & | featureName, |
|
|
const String & | featureValue ) |
|
inline |
Sets a GenICam GenApi feature to be set with a new discover run or while opening a device via this information.
- Parameters
-
[in] | nodeMapId | ID of the node map to get. |
[in] | featureName | Name of the GenApi feature to set. |
[in] | featureValue | Value of the GenApi feature to set. |
- Exceptions
-
◆ SetParameter()
void SetParameter |
( |
const String & | name, |
|
|
const String & | value ) |
|
inline |
Sets a custom GenTL Producer dependent parameter.
Parameter descriptions can be found in the Device Configuration section of the CVB online documentation.
Contact the support of the GenTL Producer to get a list of available parameters to set.
- Parameters
-
[in] | name | Name of the parameter to set. |
[in] | value | Value of the parameter to set. |
- Exceptions
-
◆ TryGetProperty()
Tries to get the value of the information property with the given id.
- Parameters
-
[in] | id | Information to get. |
[out] | property | String containing the information if successful. |
- Returns
- bool True if successful; false otherwise.
- Exceptions
-
Does | not throw any exception. |