Stores information on a discovered device/node. More...
#include <cvb/driver/discovery_information.hpp>
Public Member Functions | |
| int | Index () const noexcept |
| Gets the index of this element in the list. More... | |
| void | SetGenApiFeature (const String &nodeMapId, const String &featureName, const String &featureValue) |
| Sets a GenICam GenApi feature to be set with a new discover run or while opening a device via this information. More... | |
| void | SetParameter (const String &name, const String &value) |
| Sets a custom GenTL Producer dependent parameter. More... | |
| String | AccessToken () const |
| The access token for opening the device/node. More... | |
| ModuleLayer | DiscoveryLayer () const noexcept |
| Gets the highest module layer in this discovery information. More... | |
| bool | TryGetProperty (DiscoveryProperties id, String &property) const noexcept |
| Tries to get the value of the information property with the given id. More... | |
| String | operator[] (DiscoveryProperties id) const |
| Gets the value of the information property with the given id. More... | |
| DiscoveryInformation & | operator= (DiscoveryInformation &&other)=default |
| move assignment operator. More... | |
Stores information on a discovered device/node.
|
inline |
The access token for opening the device/node.
| Any | exception derived from std::exception including CvbException. |
|
inlinenoexcept |
Gets the highest module layer in this discovery information.
| Does | not throw any exception. |
|
inlinenoexcept |
Gets the index of this element in the list.
| Does | not throw any exception. |
|
default |
move assignment operator.
| [in] | other | Object holding the old data. |
| Does | not throw any exception. |
|
inline |
Gets the value of the information property with the given id.
| [in] | id | Information to get. |
| Any | exception derived from std::exception including CvbException. |
|
inline |
Sets a GenICam GenApi feature to be set with a new discover run or while opening a device via this information.
| [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. |
| Any | exception derived from std::exception including CvbException. |
Sets a custom GenTL Producer dependent parameter.
| [in] | name | Name of the parameter to set. |
| [in] | value | Value of the parameter to set. |
| Any | exception derived from std::exception including CvbException. |
Contact the support of the GenTL Producer to get a list of available parameters to set.
|
inlinenoexcept |
Tries to get the value of the information property with the given id.
| [in] | id | Information to get. |
| [out] | property | String containing the information if successful. |
| Does | not throw any exception. |