AuboStudio SDK  0.6.3
installation_api_provider.h
浏览该文件的文档.
1#ifndef AUBO_SCOPE_INSTALLATION_API_PROVIDER_H
2#define AUBO_SCOPE_INSTALLATION_API_PROVIDER_H
3
8
9namespace arcs {
10namespace aubo_scope {
12
13/**
14 * \chinese
15 * 安装 API 提供者
16 * 提供与安装节点相关的功能和服务访问。这包括 AuboScope 内部已有的功能,以及在
17 * AuboScope 中创建要使用的额外模型元素。
18 * \endchinese
19 * \english
20 * InstallationApiProvider
21 * Provides access to functionality and services relevant for installation
22 * nodes. This includes what is available from within AuboScope, as well as
23 * creating additional model elements to be used within AuboScope.
24 * \endenglish
25 */
27{
28public:
32
33 /**
34 * \chinese
35 * 提供对系统相关功能的访问
36 *
37 * @return SystemAPI 实例
38 * \endchinese
39 * \english
40 * Provides access to system related functionality
41 *
42 * @return an instance of SystemAPI
43 * \endenglish
44 */
45 SystemApiPtr getSystemApi();
46
47 /**
48 * \chinese
49 * 提供对用户界面和终端用户交互相关功能的访问
50 *
51 * @return UserInterfaceAPI 实例
52 * \endchinese
53 * \english
54 * Provides access to functionality related to user interface and end user
55 * interaction
56 *
57 * @return an instance of UserInterfaceAPI
58 * \endenglish
59 */
60 UserInterfaceApiPtr getUserInterfaceApi();
61
62 /**
63 * \chinese
64 * 提供对安装相关功能的访问
65 *
66 * @return InstallationAPI 实例
67 * \endchinese
68 * \english
69 * Provides access to functionality relevant related to the installation
70 *
71 * @return an instance of InstallationAPI
72 * \endenglish
73 */
74 InstallationApiPtr getInstallationApi();
75
76private:
77 friend class DataSwitch;
79 void *d_{ nullptr };
80};
81
82} // namespace aubo_scope
83} // namespace arcs
84
85#endif // INSTALLATIONAPIPROVIDER_H
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
\chinese 安装 API 提供者 提供与安装节点相关的功能和服务访问。这包括 AuboScope 内部已有的功能,以及在 AuboScope 中创建要使用的额外模型元素。 \endchinese ...
UserInterfaceApiPtr getUserInterfaceApi()
\chinese 提供对用户界面和终端用户交互相关功能的访问
InstallationApiProvider(InstallationApiProvider &f)
InstallationApiProvider(InstallationApiProvider &&f)
SystemApiPtr getSystemApi()
\chinese 提供对系统相关功能的访问
InstallationApiPtr getInstallationApi()
\chinese 提供对安装相关功能的访问