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 * <p>
13 * Base interface for device managers.
14 * </p>
15 *
16 * A device manager provides functionality for a specific type of device
17 * supported by AuboScope. The device manager can provide functionality for,
18 * e.g. accessing all registered devices (of that type) and using a specific
19 * device in a program.
20 */
21 class ARCS_ABI_EXPORT DeviceManager
22 {
23 public:
24 virtual ~DeviceManager() = default;
25
26 /**
27 * @return The list of grippers (gripper devices) available in AuboScope
28 */
29 virtual std::vector<GripperDevicePtr> getGrippers() = 0;
30
31 /**
32 * @return The list of grippers (gripper devices) available in AuboScope
33 */
34 virtual std::vector<DevicePtr> getScrewDrivers() = 0;
35 };
36 } // namespace aubo_scope
37 } // namespace arcs
38
39 #endif
ARCS_ABI_EXPORT
#define ARCS_ABI_EXPORT
Definition: class_forward.h:16
arcs::aubo_scope::DeviceManager
Definition: device_manager.h:22
arcs::aubo_scope::DeviceManager::getScrewDrivers
virtual std::vector< DevicePtr > getScrewDrivers()=0
arcs::aubo_scope::DeviceManager::getGrippers
virtual std::vector< GripperDevicePtr > getGrippers()=0
arcs::aubo_scope::DeviceManager::~DeviceManager
virtual ~DeviceManager()=default
gripper_device.h
arcs::aubo_scope::ARCS_CLASS_FORWARD
ARCS_CLASS_FORWARD(GripForceCapability)
arcs
Definition: contribution_provider.h:7