AuboStudio SDK
0.6.3
installation_node_view.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_INSTALLATION_NODE_VIEW_H
2
#define AUBO_SCOPE_INSTALLATION_NODE_VIEW_H
3
4
#include <
aubo_caps/class_forward.h
>
5
#include <
aubo_caps/contribution/installation/installation_node_contribution.h
>
6
7
typedef
long
WidgetHandle
;
8
9
namespace
arcs
{
10
namespace
aubo_scope {
11
ARCS_CLASS_FORWARD
(
InstallationNodeView
);
12
13
/**
14
* \chinese
15
* 安装节点视图
16
* 安装节点视图的 API,定义了对应 {@link InstallationNodeContribution} 的 UI。
17
*
18
* @param <C> 表示此视图实现 UI 的 {@link InstallationNodeContribution} 类型
19
* 的(通用)类型参数
20
* \endchinese
21
* \english
22
* InstallationNodeView
23
* API for an installation node View which defines the UI for the corresponding
24
* {@link InstallationNodeContribution}
25
*
26
* @param <C> the (generic) type parameter for the interface representing the
27
* type of the
28
* {@link InstallationNodeContribution} for which this view
29
* implements the UI
30
* \endenglish
31
*/
32
class
InstallationNodeView
33
{
34
public
:
35
virtual
~InstallationNodeView
() =
default
;
36
37
/**
38
* \chinese
39
* 在提供的面板上为对应的 InstallationNodeContribution 构建 UI。使用贡献进行
40
* 逻辑和数据模型操作。
41
*
42
* @param panel 构建 UI 的面板
43
* @param contribution 对应的安装节点贡献
44
* \endchinese
45
* \english
46
* Build the UI for the corresponding {@link InstallationNodeContribution}
47
* on the provided panel. Use the contribution for your logic and data model
48
* manipulations.
49
*
50
* @param panel the panel to build the UI on
51
* @param contribution the corresponding installation node contribution
52
* \endenglish
53
*/
54
virtual
void
buildUi
(
WidgetHandle
panel,
55
InstallationNodeContributionPtr contribution) = 0;
56
};
57
58
}
// namespace aubo_scope
59
}
// namespace arcs
60
61
#endif
// AUBO_SCOPE_INSTALLATION_NODE_VIEW_H
class_forward.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::InstallationNodeView
\chinese 安装节点视图 安装节点视图的 API,定义了对应 InstallationNodeContribution 的 UI。
定义
installation_node_view.h:33
arcs::aubo_scope::InstallationNodeView::buildUi
virtual void buildUi(WidgetHandle panel, InstallationNodeContributionPtr contribution)=0
\chinese 在提供的面板上为对应的 InstallationNodeContribution 构建 UI。使用贡献进行 逻辑和数据模型操作。
arcs::aubo_scope::InstallationNodeView::~InstallationNodeView
virtual ~InstallationNodeView()=default
installation_node_contribution.h
WidgetHandle
long WidgetHandle
定义
installation_node_view.h:7
arcs::aubo_scope::WidgetHandle
long WidgetHandle
定义
program_node_view.h:9
arcs
定义
contribution_provider.h:7
include
aubo_caps
contribution
installation
installation_node_view.h
制作者
1.16.1