AuboStudio SDK 0.6.3

device_registration_manager.h
浏览该文件的文档.
1 #ifndef AUBO_SCOPE_DEVICE_REGISTERATION_MANAGER_H
2 #define AUBO_SCOPE_DEVICE_REGISTERATION_MANAGER_H
3
4 #include <aubo_caps/contribution/driver/gripper/gripper_contribution.h>
5 #include <aubo_caps/contribution/driver/screw_driver/screw_driver_contribution.h>
6
7 namespace arcs {
8 namespace aubo_scope {
9 ARCS_CLASS_FORWARD(DeviceRegistrationManager);
10
11 /**
12 * <p>
13 * Base interface for device registration managers.
14 * </p>
15 *
16 * A device registration manager is used for registering a program/installation
17 * node contribution/service as conformant with a specific device type supported
18 * by AuboScope.
19 */
20 class ARCS_ABI_EXPORT DeviceRegistrationManager
21 {
22 public:
23 virtual ~DeviceRegistrationManager() = default;
24
25 /**
26 * @brief registerGripperContribution
27 * @param contribution
28 */
29 virtual void registerGripperContribution(
30 GripperContributionPtr contribution) = 0;
31
32 /**
33 * @brief registerScrewDriverContribution
34 * @param contribution
35 */
36 virtual void registerScrewDriverContribution(
37 ScrewdriverContributionPtr contribution) = 0;
38 };
39 } // namespace aubo_scope
40 } // namespace arcs
41
42 #endif
ARCS_ABI_EXPORT
#define ARCS_ABI_EXPORT
Definition: class_forward.h:16
arcs::aubo_scope::DeviceRegistrationManager
Definition: device_registration_manager.h:21
arcs::aubo_scope::DeviceRegistrationManager::~DeviceRegistrationManager
virtual ~DeviceRegistrationManager()=default
arcs::aubo_scope::DeviceRegistrationManager::registerGripperContribution
virtual void registerGripperContribution(GripperContributionPtr contribution)=0
registerGripperContribution
arcs::aubo_scope::DeviceRegistrationManager::registerScrewDriverContribution
virtual void registerScrewDriverContribution(ScrewdriverContributionPtr contribution)=0
registerScrewDriverContribution
gripper_contribution.h
arcs::aubo_scope::ARCS_CLASS_FORWARD
ARCS_CLASS_FORWARD(GripForceCapability)
arcs
Definition: contribution_provider.h:7
screw_driver_contribution.h