AuboStudio SDK 0.6.3

screw_driver_api_provider.h
浏览该文件的文档.
1 #ifndef AUBO_SCOPE_SCREW_DIRVER_API_PROVIDER_H
2 #define AUBO_SCOPE_SCREW_DIRVER_API_PROVIDER_H
3
4 #include <aubo_caps/domain/system_api.h>
5 #include <aubo_caps/domain/io/io_model.h>
6
7 namespace arcs {
8 namespace aubo_scope {
9 ARCS_CLASS_FORWARD(ScrewdriverApiProvider);
10
11 /**
12 * This interface provides access to functionality and services available from
13 * within AuboScope relevant for screwdriver contributions.
14 */
15 class ScrewdriverApiProvider
16 {
17 public:
18 virtual ~ScrewdriverApiProvider() = default;
19
20 /**
21 * @return an interface providing access to system related functionality.
22 */
23 virtual SystemApiPtr getSystemAPI() = 0;
24
25 /**
26 * @return an I/O model interface (e.g. for getting I/Os to display in the
27 * custom user input for setting up the screwdriver)
28 */
29 virtual IoModelPtr getIOModel() = 0;
30 };
31 } // namespace aubo_scope
32 } // namespace arcs
33 #endif
arcs::aubo_scope::ScrewdriverApiProvider
This interface provides access to functionality and services available from within AuboScope relevant...
Definition: screw_driver_api_provider.h:16
arcs::aubo_scope::ScrewdriverApiProvider::getIOModel
virtual IoModelPtr getIOModel()=0
arcs::aubo_scope::ScrewdriverApiProvider::~ScrewdriverApiProvider
virtual ~ScrewdriverApiProvider()=default
arcs::aubo_scope::ScrewdriverApiProvider::getSystemAPI
virtual SystemApiPtr getSystemAPI()=0
io_model.h
arcs::aubo_scope::ARCS_CLASS_FORWARD
ARCS_CLASS_FORWARD(GripForceCapability)
arcs
Definition: contribution_provider.h:7
system_api.h