Struct DeviceInfo
Defined in File XLinkConnection.hpp
Struct Documentation
-
struct DeviceInfo
Describes a connected device
Public Functions
-
DeviceInfo() = default
-
DeviceInfo(std::string name, std::string deviceId, XLinkDeviceState_t state, XLinkProtocol_t protocol, XLinkPlatform_t platform, XLinkError_t status)
-
explicit DeviceInfo(std::string deviceIdOrName)
Creates a DeviceInfo by checking whether supplied parameter is a DeviceID or IP/USB name
- Parameters:
deviceIdOrName – Either DeviceId, IP Address or USB port name
-
explicit DeviceInfo(const deviceDesc_t &desc)
-
deviceDesc_t getXLinkDeviceDesc() const
-
std::string getMxId() const
-
std::string getDeviceId() const
-
std::string toString() const
-
DeviceInfo() = default