AuboStudio SDK  0.6.3
program_node.h
浏览该文件的文档.
1#ifndef AUBO_SCOPE_PROGRAM_NODE_H
2#define AUBO_SCOPE_PROGRAM_NODE_H
3
6
7namespace arcs {
8namespace aubo_scope {
10
11/**
12 * \chinese
13 * 程序节点
14 * 此接口表示 AuboScope 中的程序节点。
15 *
16 * 程序节点可以通过 {@link ProgramNodeFactory} 创建。
17 * \endchinese
18 * \english
19 * ProgramNode
20 * This interface represents AuboScope program nodes.
21 *
22 * The program nodes can be created using {@link ProgramNodeFactory}.
23 * \endenglish
24 */
26{
27public:
30 virtual ~ProgramNode();
31
32 /**
33 * \chinese
34 * 获取程序节点贡献。不推荐用户直接调用 ProgramNodeContribution::generateScript,
35 * 应使用 ScriptWritter::writeChildren。
36 * @return 程序节点贡献
37 * \endchinese
38 * \english
39 * Get the program node contribution. Not recommended to call
40 * ProgramNodeContribution::generateScript directly, use
41 * ScriptWritter::writeChildren instead.
42 * @return the ProgramNodeContribution
43 * \endenglish
44 */
45 [[deprecated]] ProgramNodeContributionPtr getProgramNodeContribution();
46
47protected:
49
50private:
51 friend class DataSwitch;
52 void *d_{ nullptr };
53};
54
55} // namespace aubo_scope
56} // namespace arcs
57
58#endif // AUBO_SCOPE_PROGRAM_NODE_H
#define ARCS_ABI_EXPORT
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
\chinese 程序节点 此接口表示 AuboScope 中的程序节点。
ProgramNode(ProgramNode &&f)
ProgramNodeContributionPtr getProgramNodeContribution()
\chinese 获取程序节点贡献。不推荐用户直接调用 ProgramNodeContribution::generateScript, 应使用 ScriptWritter::writeChildren...