28#ifndef CLPROTOCOL_DEVICEID_H
29#define CLPROTOCOL_DEVICEID_H
31#include <Base/GCBase.h>
32#include <Base/GCUtilities.h>
33#include <GenApi/PortImpl.h>
34#include <CLProtocol/ClAllSerial.h>
35#include <CLProtocol/CLProtocol.h>
36#include <CLProtocol/ISerial.h>
37#include <CLProtocol/CVersion.h>
62 bool FromString(
const GENICAM_NAMESPACE::gcstring &DeviceID);
69 GENICAM_NAMESPACE::gcstring
GetDriverDirectory(
const bool ReplaceEnvironmentVariables =
true)
const;
96 GENICAM_NAMESPACE::gcstring
GetDeviceID(
const bool ReplaceEnvironmentVariables =
true)
const;
102 didDriverDirectory = 0,
103 didDriverFileName = 1,
104 didCameraManufacturer = 2,
107 didCameraVersion = 5,
108 didCameraSerialNumber = 6
112 GENICAM_NAMESPACE::gcstring_vector m_DeviceIDTokens;
Helper class which can split DeviceIDs strings into tokens.
Definition DeviceID.h:47
GENICAM_NAMESPACE::gcstring GetDeviceID(const bool ReplaceEnvironmentVariables=true) const
retrieves the DeviceID without the DriverDriectory and the Driver FileName in front
GENICAM_NAMESPACE::gcstring GetCameraSerialNumber() const
retrieves the camera model's serial number in any format (may return empty string in case of a templa...
bool FromString(const GENICAM_NAMESPACE::gcstring &DeviceID)
parse string
GENICAM_NAMESPACE::gcstring GetCameraManufacturer() const
retrieves the manufacturer name of the camera
GENICAM_NAMESPACE::gcstring GetShortDeviceID() const
retrieves the ShortDeviceID/DeviceIDTemplate without the DriverDriectory and the Driver FileName in f...
GENICAM_NAMESPACE::gcstring GetCameraFamily() const
retrieves the camera family (may return empty string in case of a template)
GENICAM_DEPRECATED(static const char *GetTokenSeperator())
returns the token separator string
static const char * GetTokenSeparator()
returns the token separator string
GENICAM_NAMESPACE::gcstring GetDriverFileName() const
retrieves the file name of the CL protocol driver
GENICAM_NAMESPACE::gcstring GetDriverPath() const
retrieves the path of the CL protocol driver is located in
GENICAM_NAMESPACE::gcstring GetDriverDirectory(const bool ReplaceEnvironmentVariables=true) const
retrieves the directory the CL protocol driver is located in
GENICAM_NAMESPACE::gcstring GetCameraVersion() const
retrieves the camera model's version in any format (may return empty string in case of a template)
GENICAM_NAMESPACE::gcstring GetCameraModel() const
retrieves the camera model (may return empty string in case of a template)