AuboStudio SDK  0.6.3
arcs::aubo_scope::Device类 参考abstract

\chinese 设备接口 此基础接口表示 AuboScope 支持的设备,例如夹爪设备。 \endchinese \english Device This base interface represents a device supported by AuboScope, e.g. 更多...

#include <device.h>

类 arcs::aubo_scope::Device 继承关系图:

Public 成员函数

virtual ~Device ()=0
virtual AuboCapInfoPtr getContributorInfo ()=0
 \chinese 获取将此夹爪设备添加/贡献到AuboScope的AuboCap信息。
virtual std::string getId ()=0
 \chinese
virtual std::string getDisplayName ()=0
 \chinese
virtual bool isResolvable ()=0
 \chinese 设备无法保证始终存在于AuboScope中。如果添加设备的AuboCap未安装,设备将不可用。 此方法用于判断设备是否可用。

详细描述

\chinese 设备接口 此基础接口表示 AuboScope 支持的设备,例如夹爪设备。 \endchinese \english Device This base interface represents a device supported by AuboScope, e.g.

a gripping device. \endenglish

在文件 device.h18 行定义.

构造及析构函数说明

◆ ~Device()

virtual arcs::aubo_scope::Device::~Device ( )
pure virtual

成员函数说明

◆ getContributorInfo()

virtual AuboCapInfoPtr arcs::aubo_scope::Device::getContributorInfo ( )
pure virtual

\chinese 获取将此夹爪设备添加/贡献到AuboScope的AuboCap信息。

返回
此夹爪设备的AuboCap信息。 \endchinese \english Get information about the AuboCap that added/contributed this gripper device to AuboScope.
AuboCap information for this gripper device. \endenglish

◆ getDisplayName()

virtual std::string arcs::aubo_scope::Device::getDisplayName ( )
pure virtual

\chinese

AuboScope UI中显示的夹爪名称,例如在夹爪工具栏和程序节点中。

注意:此名称不应用于唯一标识特定的单个夹爪,因为名称可能会被翻译 (取决于AuboScope中选择的语言)或在添加夹爪的AuboCap版本之间发生更改。

返回
此夹爪在AuboScope中显示的名称。 \endchinese \english

The name of the gripper displayed in the AuboScope UI, e.g. in the Gripper toolbar and program node.

Note: This name must not be used to uniquely identify a specific individual gripper, since the name might be translated (depending on the selected language in AuboScope) or be changed between versions of the AuboCap that added the gripper.

返回
The name of this gripper displayed in AuboScope. \endenglish

◆ getId()

virtual std::string arcs::aubo_scope::Device::getId ( )
pure virtual

\chinese

获取此夹爪的唯一标识符(id)。可用于在特定多夹爪设备中区分不同的夹爪。

注意此id并非"全局"唯一,仅对属于特定多夹爪设备的各个夹爪唯一。

返回
此夹爪的唯一标识符。 \endchinese \english

Get the unique identifier (id) for this gripper. This can be used to identify this specific gripper among the set of individual grippers available in a specific multi-gripper device.

Note that this id is not "globally" unique, but only unique for the individual grippers belonging to a specific multi-gripper device.

返回
The unique identifier of this gripper. \endenglish

◆ isResolvable()

virtual bool arcs::aubo_scope::Device::isResolvable ( )
pure virtual

\chinese 设备无法保证始终存在于AuboScope中。如果添加设备的AuboCap未安装,设备将不可用。 此方法用于判断设备是否可用。

返回
如果此夹爪设备存在于AuboScope中返回true,否则返回 false。 \endchinese \english A device cannot be guaranteed to be present in AuboScope. A device will not be present if the AuboCap that added the device is not installed. This method can be used to determine, if the device is present.
true if this gripper device is present in AuboScope, otherwise false. \endenglish

该类的文档由以下文件生成:
  • include/aubo_caps/domain/device/device.h