DeviceInfo#
-
namespace Itala
Typedefs
-
typedef std::vector<DeviceInfo> DeviceInfoList#
-
class DeviceInfo#
- #include <DeviceInfo.h>
This class stores information about a device and represents its identity. When an enumeration (also known as “discovery”) is performed via the ISystem interface, a list of DeviceInfo is returned as result. To initialize and use a particular connected device, the user must pass the corresponding DeviceInfo instance to the ISystem interface.
Public Functions
-
GenICam::gcstring ID() const#
Get the unique ID of the device. The ID of a discovered device is a GenICam::gcstring assigned and used by the internal transport layer to uniquely identify the device in the current execution context. The ID string isn’t regulated by any standard and its format and content are implementation specific.
- Returns:
Unique ID of the device
-
GenICam::gcstring Vendor() const#
Get a string containing the name of the device vendor.
- Returns:
Name of the device vendor
-
GenICam::gcstring Model() const#
Get a string containing the model of the device.
- Returns:
Model of the device
-
GenICam::gcstring DisplayName() const#
Get a string containing the user readable name of the device.
- Returns:
Name of the device
-
GenICam::gcstring UserDefinedName() const#
Get a string containing the name of the device defined by the user, when available.
- Returns:
User-defined name of the device
-
GenICam::gcstring SerialNumber() const#
Get a string containing the serial number of the device.
- Returns:
Serial number of the device
-
GenICam::gcstring Version() const#
Get a string containing the version of the physical device.
- Returns:
Version of the device
-
DeviceAccessStatus AccessStatus() const#
Get the accessibility status of the device. Depending on its network configuration or internal state (e.g. if already in use by another process) its accessibility may change. It’s responsibility of the user to check if a device is currently available for initialization before using it.
- Returns:
access status of the device.
-
uint32_t IpAddress() const#
Get an unsigned 32 bit integer containing the IP address of the device in host order. For instance, the value 0xC0A8012A represents the IP address 192.168.1.42 in IPv4 dotted-decimal notation.
0xC0 = 192
0xA8 = 168
0x01 = 1
0x2A = 42
- Returns:
IP address of the device as integer in host byte order.
-
uint32_t SubnetMask() const#
Get the subnet mask configured on the device in the same format described in IpAddress().
See also
- Returns:
Subnet mask of the device as raw integer in host byte order.
-
uint32_t DefaultGateway() const#
Get the default gateway configured on the device according with the same format described in IpAddress().
See also
- Returns:
Default gateway of the device as raw integer in host byte order.
-
uint64_t MacAddress() const#
Get an unsigned 64 bit integer containing the mac address of the device in host byte order. A 64 bit integer is required since the MAC address is 6 bytes long. For instance, the value 0x0000885FE8200001 represents the mac address 88:5f:e8:20:00:01 in colon-heaxadecimal notation.
- Returns:
MAC address of the device as integer in host byte order.
-
InterfaceInfo ParentInterfaceInfo() const#
Get the InterfaceInfo instance of the interface under which the device is connected and enumerated.
- Returns:
Info object of the interface which owns the device.
-
DeviceInfo()#
-
DeviceInfo(DeviceInfoData *data)#
-
DeviceInfo(const DeviceInfo &other)#
-
DeviceInfo(DeviceInfo &&other)#
-
DeviceInfo &operator=(const DeviceInfo &other)#
-
DeviceInfo &operator=(DeviceInfo &&other)#
-
~DeviceInfo()#
-
bool operator==(const DeviceInfo &other)#
-
DeviceInfoData &GetOp()#
Private Members
-
DeviceInfoData *op#
-
GenICam::gcstring ID() const#
-
typedef std::vector<DeviceInfo> DeviceInfoList#