AuboStudio SDK
0.6.3
view_api_provider.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_VIEW_API_PROVIDER_H
2
#define AUBO_SCOPE_VIEW_API_PROVIDER_H
3
4
#include <
aubo_caps/domain/system_api.h
>
5
#include <
aubo_caps/domain/user_interface/user_interface_api.h
>
6
7
namespace
arcs
{
8
namespace
aubo_scope
{
9
ARCS_CLASS_FORWARD
(
ViewApiProvider
);
10
11
/**
12
* \chinese
13
* 视图 API 提供者
14
* 提供与安装或程序节点贡献的视图(UI)相关的功能访问。
15
*
16
* <b>注意:</b>此接口不适用于具有基于 HTML 用户界面的 AuboCap 程序和安装节点。
17
* \endchinese
18
* \english
19
* ViewApiProvider
20
* Provides access to functionality relevant for the View (UI) of an
21
* installation or a program node contribution.
22
*
23
* <b>NOTE:</b> This interface is not relevant for AuboCap program and
24
* installation nodes with a HTML-based user interface.
25
* \endenglish
26
*/
27
class
ViewApiProvider
28
{
29
public
:
30
ViewApiProvider
();
31
ViewApiProvider
(
ViewApiProvider
&f);
32
ViewApiProvider
(
ViewApiProvider
&&f);
33
virtual
~ViewApiProvider
();
34
35
/**
36
* \chinese
37
* 提供对系统相关功能的访问。
38
*
39
* @return SystemAPI 实例
40
* \endchinese
41
* \english
42
* Provides access to system related functionality.
43
*
44
* @return an instance of SystemAPI.
45
* \endenglish
46
*/
47
SystemApiPtr
getSystemApi
();
48
49
/**
50
* \chinese
51
* 提供对用户界面和用户交互相关功能的访问。
52
*
53
* @return UserInterfaceAPI 实例
54
* \endchinese
55
* \english
56
* Provides access to functionality related to user interface and user
57
* interaction.
58
*
59
* @return an instance of UserInterfaceAPI.
60
* \endenglish
61
*/
62
UserInterfaceApiPtr
getUserInterfaceApi
();
63
64
private
:
65
friend
class
DataSwitch
;
66
void
*
d_
{
nullptr
};
67
};
68
69
}
// namespace aubo_scope
70
}
// namespace arcs
71
72
#endif
// AUBO_SCOPE_VIEW_API_PROVIDER_H
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::ViewApiProvider
\chinese 视图 API 提供者 提供与安装或程序节点贡献的视图(UI)相关的功能访问。
定义
view_api_provider.h:28
arcs::aubo_scope::ViewApiProvider::getUserInterfaceApi
UserInterfaceApiPtr getUserInterfaceApi()
\chinese 提供对用户界面和用户交互相关功能的访问。
arcs::aubo_scope::ViewApiProvider::ViewApiProvider
ViewApiProvider(ViewApiProvider &&f)
arcs::aubo_scope::ViewApiProvider::DataSwitch
friend class DataSwitch
定义
view_api_provider.h:65
arcs::aubo_scope::ViewApiProvider::ViewApiProvider
ViewApiProvider(ViewApiProvider &f)
arcs::aubo_scope::ViewApiProvider::getSystemApi
SystemApiPtr getSystemApi()
\chinese 提供对系统相关功能的访问。
arcs::aubo_scope::ViewApiProvider::~ViewApiProvider
virtual ~ViewApiProvider()
arcs::aubo_scope::ViewApiProvider::d_
void * d_
定义
view_api_provider.h:66
arcs::aubo_scope::ViewApiProvider::ViewApiProvider
ViewApiProvider()
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
system_api.h
user_interface_api.h
include
aubo_caps
contribution
view_api_provider.h
制作者
1.16.1