Pylon::CDeviceInfo#
Holds information about an enumerated device. More…
#include <pylon/DeviceInfo.h>
Inherits from Pylon::CInfoBase, Pylon::IProperties
Public Functions#
Name | |
---|---|
bool | operator<(const CDeviceInfo & rhs) const Compares CDeviceInfo objects by device class and serial number. |
String_t | GetSerialNumber() const |
CDeviceInfo & | SetSerialNumber(const String_t & SerialNumberValue) Sets the above property. |
bool | IsSerialNumberAvailable() const Returns true if the above property is available. |
String_t | GetUserDefinedName() const |
CDeviceInfo & | SetUserDefinedName(const String_t & UserDefinedNameValue) Sets the above property. |
bool | IsUserDefinedNameAvailable() const Returns true if the above property is available. |
String_t | GetModelName() const |
CDeviceInfo & | SetModelName(const String_t & ModelNameValue) Sets the above property. |
bool | IsModelNameAvailable() const Returns true if the above property is available. |
String_t | GetDeviceVersion() const |
CDeviceInfo & | SetDeviceVersion(const String_t & DeviceVersionValue) Sets the above property. |
bool | IsDeviceVersionAvailable() const Returns true if the above property is available. |
String_t | GetDeviceFactory() const |
CDeviceInfo & | SetDeviceFactory(const String_t & DeviceFactoryValue) Sets the above property. |
bool | IsDeviceFactoryAvailable() const Returns true if the above property is available. |
String_t | GetXMLSource() const |
CDeviceInfo & | SetXMLSource(const String_t & XMLSource) Sets the above property. |
bool | IsXMLSourceAvailable() const Returns true if the above property is available. |
CDeviceInfo & | SetFriendlyName(const String_t & FriendlyNameValue) |
CDeviceInfo & | SetFullName(const String_t & FullNameValue) |
CDeviceInfo & | SetVendorName(const String_t & VendorNameValue) |
CDeviceInfo & | SetDeviceClass(const String_t & DeviceClassValue) |
String_t | GetInterfaceID() const |
CDeviceInfo & | SetInterfaceID(const String_t & InterfaceIDValue) Sets the above property. |
bool | IsInterfaceIDAvailable() const Returns true if the above property is available. |
String_t | GetAddress() const |
CDeviceInfo & | SetAddress(const String_t & AddressValue) |
bool | IsAddressAvailable() const |
String_t | GetIpAddress() const |
CDeviceInfo & | SetIpAddress(const String_t & IpAddressValue) |
bool | IsIpAddressAvailable() const |
String_t | GetSubnetAddress() const |
CDeviceInfo & | SetSubnetAddress(const String_t & SubnetAddressValue) |
bool | IsSubnetAddressAvailable() const |
String_t | GetDefaultGateway() const |
CDeviceInfo & | SetDefaultGateway(const String_t & DefaultGatewayValue) |
bool | IsDefaultGatewayAvailable() const |
String_t | GetSubnetMask() const |
CDeviceInfo & | SetSubnetMask(const String_t & SubnetMaskValue) |
bool | IsSubnetMaskAvailable() const |
String_t | GetPortNr() const |
CDeviceInfo & | SetPortNr(const String_t & PortNrValue) |
bool | IsPortNrAvailable() const |
String_t | GetMacAddress() const |
CDeviceInfo & | SetMacAddress(const String_t & MacAddressValue) |
bool | IsMacAddressAvailable() const |
String_t | GetInterface() const |
CDeviceInfo & | SetInterface(const String_t & InterfaceValue) |
bool | IsInterfaceAvailable() const |
String_t | GetIpConfigOptions() const |
CDeviceInfo & | SetIpConfigOptions(const String_t & IpConfigOptionsValue) |
bool | IsIpConfigOptionsAvailable() const |
String_t | GetIpConfigCurrent() const |
CDeviceInfo & | SetIpConfigCurrent(const String_t & IpConfigCurrentValue) |
bool | IsIpConfigCurrentAvailable() const |
String_t | GetDeviceGUID() const |
bool | IsDeviceGUIDAvailable() const |
String_t | GetManufacturerInfo() const |
bool | IsManufacturerInfoAvailable() const |
String_t | GetDeviceIdx() const |
bool | IsDeviceIdxAvailable() const |
String_t | GetProductId() const |
bool | IsProductIdAvailable() const |
String_t | GetVendorId() const |
bool | IsVendorIdAvailable() const |
String_t | GetDriverKeyName() const |
bool | IsDriverKeyNameAvailable() const |
String_t | GetUsbDriverType() const |
bool | IsUsbDriverTypeAvailable() const |
String_t | GetTransferMode() const Applies to: Usb. |
bool | IsTransferModeAvailable() const |
String_t | GetPortID() const |
CDeviceInfo & | SetPortID(const String_t & PortIDValue) |
bool | IsPortIDAvailable() const |
String_t | GetDeviceID() const |
CDeviceInfo & | SetDeviceID(const String_t & DeviceIDValue) |
bool | IsDeviceIDAvailable() const |
String_t | GetInitialBaudRate() const |
CDeviceInfo & | SetInitialBaudRate(const String_t & InitialBaudRateValue) |
bool | IsInitialBaudRateAvailable() const |
String_t | GetDeviceXMLFileOverride() const |
CDeviceInfo & | SetDeviceXMLFileOverride(const String_t & DeviceXMLFileOverrideValue) |
bool | IsDeviceXMLFileOverrideAvailable() const |
String_t | GetDeviceSpecificString() const |
CDeviceInfo & | SetDeviceSpecificString(const String_t & DeviceSpecificStringValue) |
bool | IsDeviceSpecificStringAvailable() const |
String_t | GetPortSpecificString() const |
CDeviceInfo & | SetPortSpecificString(const String_t & PortSpecificStringValue) |
bool | IsPortSpecificStringAvailable() const |
virtual CDeviceInfo & | SetPropertyValue(const String_t & Name, const String_t & Value) |
bool | IsPersistentIpActive(void ) const Returns true when the device is configured for a persistent IP address. |
bool | IsDhcpActive(void ) const Returns true when the device is configured for using DHCP. |
bool | IsAutoIpActive(void ) const Returns true when the device is configured for using Auto IP (aka LLA) |
bool | IsPersistentIpSupported(void ) const Returns true when the device supports configuring a persistent IP address. |
bool | IsDhcpSupported(void ) const Returns true when the device supports DHCP. |
bool | IsAutoIpSupported(void ) const Returns true when the device supports Auto IP (aka LLA) |
virtual bool | IsSubset(const IProperties & Subset) const Returns true when subset, applies special knowledge on how to compare GigE specific values. |
bool | operator==(const CInfoBase & rhs) const compare two info objects |
bool | operator<(const CInfoBase & rhs) const Compares CInfoBase objects by device class. |
String_t | GetFriendlyName() const |
bool | IsFriendlyNameAvailable() const Returns true if the above property is available. |
String_t | GetFullName() const |
bool | IsFullNameAvailable() const Returns true if the above property is available. |
String_t | GetVendorName() const |
bool | IsVendorNameAvailable() const Returns true if the above property is available. |
String_t | GetDeviceClass() const |
bool | IsDeviceClassAvailable() const Returns true if the above property is available. |
String_t | GetTLType() const |
CInfoBase & | SetTLType(const String_t & value) Sets the above property. |
bool | IsTLTypeAvailable() const Returns true if the above property is available. |
virtual int | GetPropertyNames(StringList_t & ) const Retrieves a list of property names. |
virtual bool | GetPropertyAvailable(const String_t & Name) const Returns true if a property with the provided name is available. |
virtual bool | GetPropertyValue(const String_t & Name, String_t & Value) const Retrieves a property value. |
Detailed Description#
Holds information about an enumerated device.
The device enumeration process creates a list of CDeviceInfo objects (Pylon::DeviceInfoList_t). Each CDeviceInfo objects stores information about a device. The information is retrieved during the device enumeration process (ITransportLayer::EnumerateDevices resp. CTlFactory::EnumerateDevices)
Public Functions Documentation#
function operator<#
Compares CDeviceInfo objects by device class and serial number.
Parameters:
- rhs The right-hand side object of the comparison.
Return: Returns true according to this rule: USB < GigE < CameraLink < GenTL (incl. CXP) < Less than compare of device class text < CamEmu. CDeviceInfo objects of the same transport layer are compared by serial number. Numeric serial numbers are less than alphanumeric serial numbers. Two alphanumeric serial numbers return the result of a less than text comparison.
Error Safety:
Does not throw C++ exceptions.
function GetSerialNumber#
Retrieves the serial number if it supported by the underlying implementation This property is identified by Key::SerialNumberKey.
function SetSerialNumber#
Sets the above property.
function IsSerialNumberAvailable#
Returns true if the above property is available.
function GetUserDefinedName#
Retrieves the user-defined name if present. This property is identified by Key::UserDefinedNameKey.
function SetUserDefinedName#
Sets the above property.
function IsUserDefinedNameAvailable#
Returns true if the above property is available.
function GetModelName#
Retrieves the model name of the device. This property is identified by Key::ModelNameKey.
function SetModelName#
Sets the above property.
function IsModelNameAvailable#
Returns true if the above property is available.
function GetDeviceVersion#
Retrieves the version string of the device. This property is identified by Key::DeviceVersionKey.
function SetDeviceVersion#
Sets the above property.
function IsDeviceVersionAvailable#
Returns true if the above property is available.
function GetDeviceFactory#
Retrieves the identifier for the transport layer able to create this device. This property is identified by Key::DeviceFactoryKey.
function SetDeviceFactory#
Sets the above property.
function IsDeviceFactoryAvailable#
Returns true if the above property is available.
function GetXMLSource#
Retrieves the location where the XML file was loaded from. This property is identified by Key::XMLSourceKey. You must use the DeviceInfo of an opened IPylonDevice to retrieve this property.
function SetXMLSource#
Sets the above property.
function IsXMLSourceAvailable#
Returns true if the above property is available.
function SetFriendlyName#
Sets the display friendly name of the device. This property is identified by Key::FriendlyNameKey. This method overrides a method of a base class returning a reference to CDeviceInfo
function SetFullName#
Sets the full name identifying the device. This property is identified by Key::FullNameKey. This method overrides a method of a base class returning a reference to CDeviceInfo
function SetVendorName#
Sets the vendor name of the device. This property is identified by Key::VendorNameKey. This method overrides a method of a base class returning a reference to CDeviceInfo
function SetDeviceClass#
Sets the device class device, e.g. BaslerUsb. This property is identified by Key::DeviceClassKey. This method overrides a method of a base class returning a reference to CDeviceInfo
function GetInterfaceID#
Retrieves the ID of the interface that the device is connected to. This property is identified by Key::InterfaceIDKey.
function SetInterfaceID#
Sets the above property.
function IsInterfaceIDAvailable#
Returns true if the above property is available.
function GetAddress#
Retrieves the IP address the device IP address in a human-readable representation including the port number. This property is identified by Key::AddressKey. Applies to: GigE
function SetAddress#
Sets the above property. Applies to: GigE
function IsAddressAvailable#
Returns true if the above property is available. Applies to: GigE
function GetIpAddress#
Retrieves the IP address the device IP address in a human-readable representation. This property is identified by Key::IpAddressKey. Applies to: GigE
function SetIpAddress#
Sets the above property. Applies to: GigE
function IsIpAddressAvailable#
Returns true if the above property is available. Applies to: GigE
function GetSubnetAddress#
Retrieves the IP address of the subnet. This property is identified by Key::SubnetAddressKey Applies to: GigE
function SetSubnetAddress#
Sets the above property. Applies to: GigE
function IsSubnetAddressAvailable#
Returns true if the above property is available. Applies to: GigE
function GetDefaultGateway#
Retrieves the default gateway the device IP address in a human-readable representation. This property is identified by Key::DefaultGatewayKey. Applies to: GigE
function SetDefaultGateway#
Sets the above property. Applies to: GigE
function IsDefaultGatewayAvailable#
Returns true if the above property is available. Applies to: GigE
function GetSubnetMask#
Retrieves the subnet mask the device IP address in a human-readable representation. This property is identified by Key::SubnetMaskKey. Applies to: GigE
function SetSubnetMask#
Sets the above property. Applies to: GigE
function IsSubnetMaskAvailable#
Returns true if the above property is available. Applies to: GigE
function GetPortNr#
Retrieves the port number used. This property is identified by Key::PortNrKey. Applies to: GigE
function SetPortNr#
Sets the above property. Applies to: GigE
function IsPortNrAvailable#
Returns true if the above property is available. Applies to: GigE
function GetMacAddress#
Retrieves the MAC address of the device the device IP address in a human-readable representation. This property is identified by Key::MacAddressKey. Applies to: GigE
function SetMacAddress#
Sets the above property. Applies to: GigE
function IsMacAddressAvailable#
Returns true if the above property is available. Applies to: GigE
function GetInterface#
Retrieves the address of the network interface the device is connected. This property is identified by Key::InterfaceKey. Applies to: GigE
function SetInterface#
Sets the above property. Applies to: GigE
function IsInterfaceAvailable#
Returns true if the above property is available. Applies to: GigE
function GetIpConfigOptions#
Retrieves the persistent IP configuration options. This property is identified by Key::IpConfigOptionsKey. Applies to: GigE
function SetIpConfigOptions#
Sets the above property. Applies to: GigE
function IsIpConfigOptionsAvailable#
Returns true if the above property is available. Applies to: GigE
function GetIpConfigCurrent#
Retrieves the current IP configuration of the device. This property is identified by Key::IpConfigCurrentKey. Applies to: GigE
function SetIpConfigCurrent#
Sets the above property. Applies to: GigE
function IsIpConfigCurrentAvailable#
Returns true if the above property is available. Applies to: GigE
function GetDeviceGUID#
Retrieves the device GUID. This property is identified by Key::DeviceGUIDKey. Applies to: Usb
function IsDeviceGUIDAvailable#
Returns true if the above property is available. Applies to: Usb
function GetManufacturerInfo#
Retrieves the manufacturer info. This property is identified by Key::ManufacturerInfoKey. Applies to: Usb
function IsManufacturerInfoAvailable#
Returns true if the above property is available. Applies to: Usb
function GetDeviceIdx#
Retrieves the device index. For internal use only. This property is identified by Key::DeviceIdxKey. Applies to: Usb
function IsDeviceIdxAvailable#
Returns true if the above property is available. Applies to: Usb
function GetProductId#
Retrieves the product ID. For internal use only. This property is identified by Key::ProductIdKey. Applies to: Usb
function IsProductIdAvailable#
Returns true if the above property is available. Applies to: Usb
function GetVendorId#
Retrieves the vendor ID. For internal use only. This property is identified by Key::VendorIdKey. Applies to: Usb
function IsVendorIdAvailable#
Returns true if the above property is available. Applies to: Usb
function GetDriverKeyName#
Retrieves the driver key name. For internal use only. This property is identified by Key::DriverKeyNameKey. Applies to: Usb
function IsDriverKeyNameAvailable#
Returns true if the above property is available. Applies to: Usb
function GetUsbDriverType#
Retrieves the usb driver type. For internal use only. This property is identified by Key::UsbDriverTypeKey. Applies to: Usb
function IsUsbDriverTypeAvailable#
Returns true if the above property is available. Applies to: Usb
function GetTransferMode#
Applies to: Usb.
Retrieves the transfer mode. For internal use only. This property is identified by Key::TransferModeKey
function IsTransferModeAvailable#
Returns true if the above property is available. Applies to: Usb
function GetPortID#
Retrieves the ID of the serial port the device is connected to. This property is identified by Key::PortIDKey. Applies to: CameraLink
function SetPortID#
Sets the above property. Applies to: CameraLink
function IsPortIDAvailable#
Returns true if the above property is available. Applies to: CameraLink
function GetDeviceID#
Retrieves the device ID. This property is identified by Key::DeviceIDKey. Applies to: CameraLink
function SetDeviceID#
Sets the above property. Applies to: CameraLink
function IsDeviceIDAvailable#
Returns true if the above property is available. Applies to: CameraLink
function GetInitialBaudRate#
Retrieves the initial baud rate of the serial port the device is connected to. This property is identified by Key::InitialBaudRateKey. Applies to: CameraLink
function SetInitialBaudRate#
Sets the above property. Applies to: CameraLink
function IsInitialBaudRateAvailable#
Returns true if the above property is available. Applies to: CameraLink
function GetDeviceXMLFileOverride#
Retrieves the device xml file override used. Internal use only. This property is identified by Key::DeviceXMLFileOverrideKey. Applies to: CameraLink
function SetDeviceXMLFileOverride#
Sets the above property. Applies to: CameraLink
function IsDeviceXMLFileOverrideAvailable#
Returns true if the above property is available. Applies to: CameraLink
function GetDeviceSpecificString#
Retrieves the device specific string. Internal use only. This property is identified by Key::DeviceSpecificStringKey. Applies to: CameraLink
function SetDeviceSpecificString#
Sets the above property. Applies to: CameraLink
function IsDeviceSpecificStringAvailable#
Returns true if the above property is available. Applies to: CameraLink
function GetPortSpecificString#
Retrieves the port specific string of the device. Internal use only. This property is identified by Key::PortSpecificStringKey. Applies to: CameraLink
function SetPortSpecificString#
Sets the above property. Applies to: CameraLink
function IsPortSpecificStringAvailable#
Returns true if the above property is available. Applies to: CameraLink
function SetPropertyValue#
Reimplements: Pylon::CInfoBase::SetPropertyValue
Modifies a property value This method overrides a method of a base class returning a reference to CDeviceInfo
function IsPersistentIpActive#
Returns true when the device is configured for a persistent IP address.
function IsDhcpActive#
Returns true when the device is configured for using DHCP.
function IsAutoIpActive#
Returns true when the device is configured for using Auto IP (aka LLA)
function IsPersistentIpSupported#
Returns true when the device supports configuring a persistent IP address.
function IsDhcpSupported#
Returns true when the device supports DHCP.
function IsAutoIpSupported#
Returns true when the device supports Auto IP (aka LLA)
function IsSubset#
Returns true when subset, applies special knowledge on how to compare GigE specific values.
Reimplements: Pylon::CInfoBase::IsSubset
function operator==#
compare two info objects
function operator<#
Compares CInfoBase objects by device class.
Parameters:
- rhs The right-hand side object of the comparison.
Return: Returns true according to this rule: USB < GigE < CameraLink < GenTL (incl. CXP) < unknown device classes < CamEmu.
Error Safety:
Does not throw C++ exceptions.
function GetFriendlyName#
Retrieves the human readable name of the device. This property is identified by Key::FriendlyNameKey.
function IsFriendlyNameAvailable#
Returns true if the above property is available.
function GetFullName#
Retrieves the full name identifying the device. This property is identified by Key::FullNameKey.
function IsFullNameAvailable#
Returns true if the above property is available.
function GetVendorName#
Retrieves the vendor name of the device. This property is identified by Key::VendorNameKey.
function IsVendorNameAvailable#
Returns true if the above property is available.
function GetDeviceClass#
Retrieves the device class device, e.g. BaslerUsb. This property is identified by Key::DeviceClassKey.
function IsDeviceClassAvailable#
Returns true if the above property is available.
function GetTLType#
Retrieves the transport layer type. This property is identified by Key::TLTypeKey.
function SetTLType#
Sets the above property.
function IsTLTypeAvailable#
Returns true if the above property is available.
function GetPropertyNames#
Retrieves a list of property names.
Reimplements: Pylon::IProperties::GetPropertyNames
function GetPropertyAvailable#
Returns true if a property with the provided name is available.
Reimplements: Pylon::IProperties::GetPropertyAvailable
function GetPropertyValue#
Retrieves a property value.
Reimplements: Pylon::IProperties::GetPropertyValue