AuboStudio SDK  0.6.3
program_api.h
浏览该文件的文档.
1#ifndef AUBO_SCOPE_PROGRAM_API_H
2#define AUBO_SCOPE_PROGRAM_API_H
3
8
9namespace arcs {
10namespace aubo_scope {
12
13/**
14 * \chinese
15 * @defgroup ProgramApi ProgramApi(程序)
16 * @ingroup ProgramApi
17 * 程序接口
18 * 提供与程序相关的功能和服务访问。这包括 AuboScope 内部已有的功能,以及在
19 * AuboScope 中创建要使用的额外模型元素。
20 * \endchinese
21 * \english
22 * @defgroup ProgramApi ProgramApi
23 * @ingroup ProgramApi
24 * ProgramApi
25 * Provides access to functionality and services related to programs. This
26 * includes what is available from within AuboScope, as well as creating
27 * additional model elements to be used within AuboScope.
28 * \endenglish
29 */
31{
32public:
35 virtual ~ProgramApi();
36
37 /**
38 * @ingroup ProgramApi
39 * @ref ProgramModel
40 * \chinese
41 * @return 用于操作程序节点子树的接口
42 * \endchinese
43 * \english
44 * @return An interface for working with the sub-trees of a program node
45 * \endenglish
46 */
47 ProgramModelPtr getProgramModel();
48
49 /**
50 * @ingroup ProgramApi
51 * @ref WaypointModel
52 * \chinese
53 * @return 用于操作路点的接口
54 * \endchinese
55 * \english
56 * @return An interface for working with waypoints
57 * \endenglish
58 */
59 WaypointModelPtr getWaypointModel();
60
61 /**
62 * @ingroup ProgramApi
63 * @ref UndoRedoManager
64 * \chinese
65 * @return 用于记录程序节点贡献可撤销更改的接口
66 * \endchinese
67 * \english
68 * @return An interface for recording undoable changes for program node
69 * contributions
70 * \endenglish
71 */
72 UndoRedoManagerPtr getUndoRedoManager();
73
74private:
75 friend class DataSwitch;
77 void *d_{ nullptr };
78};
79
80} // namespace aubo_scope
81} // namespace arcs
82#endif // AUBO_SCOPE_PROGRAM_API_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...
ApplicationApi(ApplicationApi &f)
UndoRedoManagerPtr getUndoRedoManager()
UndoRedoManager \chinese
ProgramModelPtr getProgramModel()
ProgramModel \chinese
WaypointModelPtr getWaypointModel()
WaypointModel \chinese