AuboStudio SDK  0.6.3
installation_node_contribution.h
浏览该文件的文档.
1#ifndef AUBO_SCOPE_INSTALLATION_NODE_CONTRIBUTION_H
2#define AUBO_SCOPE_INSTALLATION_NODE_CONTRIBUTION_H
3
5
6namespace arcs {
7namespace aubo_scope {
9
10/**
11 * \chinese
12 * 安装节点贡献
13 * 安装节点贡献的 API。
14 * \endchinese
15 * \english
16 * InstallationNodeContribution
17 * API for installation node contributions.
18 * \endenglish
19 */
21{
22public:
23 virtual ~InstallationNodeContribution() = default;
24
25 /**
26 * \chinese
27 * 当终端用户每次在安装标签页中打开此 AuboCap 贡献时调用。
28 * \endchinese
29 * \english
30 * Called each time the end user opens this AuboCap contribution in the
31 * Installation Tab.
32 * \endenglish
33 */
34 virtual void openView() = 0;
35
36 /**
37 * \chinese
38 * 当终端用户每次在安装标签页中退出此 AuboCap 贡献时调用。
39 * \endchinese
40 * \english
41 * Called each time the end user exits this AuboCap contribution in the
42 * Installation Tab.
43 * \endenglish
44 */
45 virtual void closeView() = 0;
46
47 /**
48 * \chinese
49 * 定义添加到程序启动时执行的脚本代码开头的脚本代码。
50 *
51 * @param script_writer 用于向程序脚本代码前言添加脚本命令
52 * \endchinese
53 * \english
54 * Defines script code that is added to the beginning of the script code
55 * executed when a program is launched.
56 *
57 * @param script_writer serves to add script commands to program script code
58 * preamble.
59 * \endenglish
60 */
61 virtual void generateScript(ScriptWriterPtr script_writer) = 0;
62};
63
64} // namespace aubo_scope
65} // namespace arcs
66
67#endif // AUBO_SCOPE_INSTALLATIONNODECONTRIBUTION_H
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
\chinese 安装节点贡献 安装节点贡献的 API。 \endchinese \english InstallationNodeContribution API for installation n...
virtual void generateScript(ScriptWriterPtr script_writer)=0
\chinese 定义添加到程序启动时执行的脚本代码开头的脚本代码。
virtual void openView()=0
\chinese 当终端用户每次在安装标签页中打开此 AuboCap 贡献时调用。 \endchinese \english Called each time the end user opens th...
virtual void closeView()=0
\chinese 当终端用户每次在安装标签页中退出此 AuboCap 贡献时调用。 \endchinese \english Called each time the end user exits th...