Pylon::CTlInfo#
Class used for storing the result of the transport layer enumeration process. More…
#include <pylon/TlInfo.h>
Inherits from Pylon::CInfoBase, Pylon::IProperties
Public Functions#
| Name | |
|---|---|
| String_t | GetFileName() const |
| CTlInfo & | SetFileName(const String_t & value) Sets the above property. |
| bool | IsFileNameAvailable() const Returns true if the above property is available. |
| String_t | GetInfoID() const |
| CTlInfo & | SetInfoID(const String_t & value) Sets the above property. |
| bool | IsInfoIDAvailable() const Returns true if the above property is available. |
| String_t | GetModelName() const |
| CTlInfo & | SetModelName(const String_t & value) Sets the above property. |
| bool | IsModelNameAvailable() const Returns true if the above property is available. |
| String_t | GetVersion() const |
| CTlInfo & | SetVersion(const String_t & value) Sets the above property. |
| bool | IsVersionAvailable() const Returns true if the above property is available. |
| 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 |
| CInfoBase & | SetFriendlyName(const String_t & FriendlyNameValue) Sets the above property. |
| bool | IsFriendlyNameAvailable() const Returns true if the above property is available. |
| String_t | GetFullName() const |
| CInfoBase & | SetFullName(const String_t & FullNameValue) Sets the above property. |
| bool | IsFullNameAvailable() const Returns true if the above property is available. |
| String_t | GetVendorName() const |
| CInfoBase & | SetVendorName(const String_t & VendorNameValue) Sets the above property. |
| bool | IsVendorNameAvailable() const Returns true if the above property is available. |
| String_t | GetDeviceClass() const |
| CInfoBase & | SetDeviceClass(const String_t & DeviceClassValue) Sets the above property. |
| 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. |
| virtual IProperties & | SetPropertyValue(const String_t & Name, const String_t & Value) Modifies a property value. |
| virtual bool | IsSubset(const IProperties & Subset) const |
Detailed Description#
class Pylon::CTlInfo;
Class used for storing the result of the transport layer enumeration process.
Enumerating the available Transport Layer objects returns a list of CTlInfo objects (Pylon::TlInfoList_t). A CTlInfo object holds information about the enumerated transport layer.
Public Functions Documentation#
function GetFileName#
String_t GetFileName() const
Retrieves the filename of the GenTL producer [GenTL consumer only]. This property is identified by Key::FileNameKey.
function SetFileName#
CTlInfo & SetFileName(
const String_t & value
)
Sets the above property.
function IsFileNameAvailable#
bool IsFileNameAvailable() const
Returns true if the above property is available.
function GetInfoID#
String_t GetInfoID() const
Retrieves the InfoID of the GenTL producer [GenTL consumer only]. This property is identified by Key::VendorNameKey.
function SetInfoID#
CTlInfo & SetInfoID(
const String_t & value
)
Sets the above property.
function IsInfoIDAvailable#
bool IsInfoIDAvailable() const
Returns true if the above property is available.
function GetModelName#
String_t GetModelName() const
Retrieves the model name of the data producer This property is identified by Key::ModelNameKey.
function SetModelName#
CTlInfo & SetModelName(
const String_t & value
)
Sets the above property.
function IsModelNameAvailable#
bool IsModelNameAvailable() const
Returns true if the above property is available.
function GetVersion#
String_t GetVersion() const
Retrieves the version of the transport layer. This property is identified by Key::VersionKey.
function SetVersion#
CTlInfo & SetVersion(
const String_t & value
)
Sets the above property.
function IsVersionAvailable#
bool IsVersionAvailable() const
Returns true if the above property is available.
function operator==#
bool operator==(
const CInfoBase & rhs
) const
compare two info objects
function operator<#
bool operator<(
const CInfoBase & rhs
) const
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 < 1394 < GenTL (incl. CXP) < unknown device classes < CamEmu.
Error Safety:
Does not throw C++ exceptions.
function GetFriendlyName#
String_t GetFriendlyName() const
Retrieves the human readable name of the device. This property is identified by Key::FriendlyNameKey.
function SetFriendlyName#
CInfoBase & SetFriendlyName(
const String_t & FriendlyNameValue
)
Sets the above property.
function IsFriendlyNameAvailable#
bool IsFriendlyNameAvailable() const
Returns true if the above property is available.
function GetFullName#
String_t GetFullName() const
Retrieves the full name identifying the device. This property is identified by Key::FullNameKey.
function SetFullName#
CInfoBase & SetFullName(
const String_t & FullNameValue
)
Sets the above property.
function IsFullNameAvailable#
bool IsFullNameAvailable() const
Returns true if the above property is available.
function GetVendorName#
String_t GetVendorName() const
Retrieves the vendor name of the device. This property is identified by Key::VendorNameKey.
function SetVendorName#
CInfoBase & SetVendorName(
const String_t & VendorNameValue
)
Sets the above property.
function IsVendorNameAvailable#
bool IsVendorNameAvailable() const
Returns true if the above property is available.
function GetDeviceClass#
String_t GetDeviceClass() const
Retrieves the device class device, e.g. Basler1394. This property is identified by Key::DeviceClassKey.
function SetDeviceClass#
CInfoBase & SetDeviceClass(
const String_t & DeviceClassValue
)
Sets the above property.
function IsDeviceClassAvailable#
bool IsDeviceClassAvailable() const
Returns true if the above property is available.
function GetTLType#
String_t GetTLType() const
Retrieves the transport layer type. This property is identified by Key::TLTypeKey.
function SetTLType#
CInfoBase & SetTLType(
const String_t & value
)
Sets the above property.
function IsTLTypeAvailable#
bool IsTLTypeAvailable() const
Returns true if the above property is available.
function GetPropertyNames#
virtual int GetPropertyNames(
StringList_t &
) const
Retrieves a list of property names.
Reimplements: Pylon::IProperties::GetPropertyNames
function GetPropertyAvailable#
virtual bool GetPropertyAvailable(
const String_t & Name
) const
Returns true if a property with the provided name is available.
Reimplements: Pylon::IProperties::GetPropertyAvailable
function GetPropertyValue#
virtual bool GetPropertyValue(
const String_t & Name,
String_t & Value
) const
Retrieves a property value.
Reimplements: Pylon::IProperties::GetPropertyValue
function SetPropertyValue#
virtual IProperties & SetPropertyValue(
const String_t & Name,
const String_t & Value
)
Modifies a property value.
Reimplements: Pylon::IProperties::SetPropertyValue
Reimplemented by: Pylon::CDeviceInfo::SetPropertyValue
function IsSubset#
virtual bool IsSubset(
const IProperties & Subset
) const
Reimplements: Pylon::IProperties::IsSubset
Reimplemented by: Pylon::CDeviceInfo::IsSubset
Returns true if all properties of the subset can be found and the values are equal The implementing container may use special knowledge on how to compare the values For instance for IP adresses, 192.2.3.45 == 192.2.3.0x2D
Updated on 23 September 2022 at 03:12:52