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_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::ScrewdriverApiProvider
This interface provides access to functionality and services available from within AuboScope relevant...
定义
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
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
system_api.h
include
aubo_caps
contribution
driver
screw_driver
screw_driver_api_provider.h
制作者
1.16.1