#include <XLinkConnection.hpp>
|
| std::string | mxid = "" |
| |
| std::string | name = "" |
| |
| XLinkPlatform_t | platform = X_LINK_ANY_PLATFORM |
| |
| XLinkProtocol_t | protocol = X_LINK_ANY_PROTOCOL |
| |
| XLinkDeviceState_t | state = X_LINK_ANY_STATE |
| |
| XLinkError_t | status = X_LINK_SUCCESS |
| |
Describes a connected device
Definition at line 27 of file XLinkConnection.hpp.
◆ DeviceInfo() [1/4]
| dai::DeviceInfo::DeviceInfo |
( |
| ) |
|
|
default |
◆ DeviceInfo() [2/4]
| dai::DeviceInfo::DeviceInfo |
( |
std::string |
name, |
|
|
std::string |
mxid, |
|
|
XLinkDeviceState_t |
state, |
|
|
XLinkProtocol_t |
protocol, |
|
|
XLinkPlatform_t |
platform, |
|
|
XLinkError_t |
status |
|
) |
| |
◆ DeviceInfo() [3/4]
| dai::DeviceInfo::DeviceInfo |
( |
std::string |
mxidOrName | ) |
|
|
explicit |
Creates a DeviceInfo by checking whether supplied parameter is a MXID or IP/USB name
- Parameters
-
| mxidOrName | Either MXID, IP Address or USB port name |
Definition at line 42 of file XLinkConnection.cpp.
◆ DeviceInfo() [4/4]
| dai::DeviceInfo::DeviceInfo |
( |
const deviceDesc_t & |
desc | ) |
|
|
explicit |
◆ getMxId()
| std::string dai::DeviceInfo::getMxId |
( |
| ) |
const |
◆ getXLinkDeviceDesc()
| deviceDesc_t dai::DeviceInfo::getXLinkDeviceDesc |
( |
| ) |
const |
◆ toString()
| std::string dai::DeviceInfo::toString |
( |
| ) |
const |
◆ mxid
| std::string dai::DeviceInfo::mxid = "" |
◆ name
| std::string dai::DeviceInfo::name = "" |
◆ platform
| XLinkPlatform_t dai::DeviceInfo::platform = X_LINK_ANY_PLATFORM |
◆ protocol
| XLinkProtocol_t dai::DeviceInfo::protocol = X_LINK_ANY_PROTOCOL |
◆ state
| XLinkDeviceState_t dai::DeviceInfo::state = X_LINK_ANY_STATE |
◆ status
| XLinkError_t dai::DeviceInfo::status = X_LINK_SUCCESS |
The documentation for this struct was generated from the following files: