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>
6
7namespace arcs {
8namespace aubo_scope {
10
11/**
12 * @ingroup ApplicationApi
13 * <p>
14 * Base interface for device managers.
15 * </p>
16 *
17 * A device manager provides functionality for a specific type of device
18 * supported by AuboScope. The device manager can provide functionality for,
19 * e.g. accessing all registered devices (of that type) and using a specific
20 * device in a program.
21 */
23{
24public:
25 virtual ~DeviceManager() = default;
26
27 /**
28 * @return The list of grippers (gripper devices) available in AuboScope
29 */
30 virtual std::vector<GripperDevicePtr> getGrippers() = 0;
31
32 /**
33 * @return The list of grippers (gripper devices) available in AuboScope
34 */
35 virtual std::vector<DevicePtr> getScrewDrivers() = 0;
36};
37} // namespace aubo_scope
38} // namespace arcs
39
40#endif
#define ARCS_ABI_EXPORT
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
virtual std::vector< GripperDevicePtr > getGrippers()=0
virtual std::vector< DevicePtr > getScrewDrivers()=0
virtual ~DeviceManager()=default