PDF
简体中文
简体中文
English
AuboStudio SDK
0.6.3
device_manager.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_DEVICE_MANAGER_H
2
#define AUBO_SCOPE_DEVICE_MANAGER_H
3
4
#include <vector>
5
#include <
aubo_caps/domain/device/gripper_device.h
>
6
7
namespace
arcs
{
8
namespace
aubo_scope
{
9
ARCS_CLASS_FORWARD
(
DeviceManager
);
10
11
/**
12
* @ingroup ApplicationApi
13
* \chinese
14
* 设备管理器
15
* 设备管理器的基础接口。
16
*
17
* 设备管理器为 AuboScope 支持的特定类型设备提供功能。例如,设备管理器可以提供访问
18
* 所有已注册设备(该类型)以及在程序中使用特定设备的功能。
19
* \endchinese
20
* \english
21
* DeviceManager
22
* Base interface for device managers.
23
*
24
* A device manager provides functionality for a specific type of device
25
* supported by AuboScope. The device manager can provide functionality for,
26
* e.g. accessing all registered devices (of that type) and using a specific
27
* device in a program.
28
* \endenglish
29
*/
30
class
ARCS_ABI_EXPORT
DeviceManager
31
{
32
public
:
33
virtual
~DeviceManager
() =
default
;
34
35
/**
36
* \chinese
37
* 获取AuboScope中可用的夹爪设备列表
38
* @return 夹爪设备列表。
39
* \endchinese
40
* \english
41
* Returns the list of grippers (gripper devices) available in AuboScope.
42
* @return The list of gripper devices available in AuboScope.
43
* \endenglish
44
*/
45
virtual
std::vector<GripperDevicePtr>
getGrippers
() = 0;
46
47
/**
48
* \chinese
49
* 获取AuboScope中可用的螺丝刀设备列表
50
* @return 螺丝刀设备列表。
51
* \endchinese
52
* \english
53
* Returns the list of screwdrivers available in AuboScope.
54
* @return The list of screwdriver devices available in AuboScope.
55
* \endenglish
56
*/
57
virtual
std::vector<DevicePtr>
getScrewDrivers
() = 0;
58
};
59
}
// namespace aubo_scope
60
}
// namespace arcs
61
62
#endif
ARCS_ABI_EXPORT
#define ARCS_ABI_EXPORT
定义
class_forward.h:16
ARCS_CLASS_FORWARD
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
定义
class_forward.h:68
arcs::aubo_scope::DeviceManager
设备管理器 设备管理器的基础接口。
定义
device_manager.h:31
arcs::aubo_scope::DeviceManager::getGrippers
virtual std::vector< GripperDevicePtr > getGrippers()=0
获取AuboScope中可用的夹爪设备列表
arcs::aubo_scope::DeviceManager::getScrewDrivers
virtual std::vector< DevicePtr > getScrewDrivers()=0
获取AuboScope中可用的螺丝刀设备列表
arcs::aubo_scope::DeviceManager::~DeviceManager
virtual ~DeviceManager()=default
gripper_device.h
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
include
aubo_caps
domain
device
device_manager.h
制作者
1.16.1