AuboStudio SDK
0.6.3
program_api.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_PROGRAM_API_H
2
#define AUBO_SCOPE_PROGRAM_API_H
3
4
#include <
aubo_caps/domain/application_api.h
>
5
#include <
aubo_caps/domain/program/program_model.h
>
6
#include <
aubo_caps/domain/undoredo/undo_redo_manager.h
>
7
#include <
aubo_caps/domain/waypoint/waypoint_model.h
>
8
9
namespace
arcs
{
10
namespace
aubo_scope
{
11
ARCS_CLASS_FORWARD
(
ProgramApi
);
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
*/
30
class
ARCS_ABI_EXPORT
ProgramApi
:
public
ApplicationApi
31
{
32
public
:
33
ProgramApi
(
ProgramApi
&f);
34
ProgramApi
(
ProgramApi
&&f);
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
74
private
:
75
friend
class
DataSwitch
;
76
ProgramApi
();
77
void
*
d_
{
nullptr
};
78
};
79
80
}
// namespace aubo_scope
81
}
// namespace arcs
82
#endif
// AUBO_SCOPE_PROGRAM_API_H
application_api.h
ARCS_ABI_EXPORT
#define ARCS_ABI_EXPORT
定义
class_forward.h:16
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::ApplicationApi::ApplicationApi
ApplicationApi(ApplicationApi &f)
arcs::aubo_scope::ProgramApi
定义
program_api.h:31
arcs::aubo_scope::ProgramApi::ProgramApi
ProgramApi(ProgramApi &&f)
arcs::aubo_scope::ProgramApi::ProgramApi
ProgramApi(ProgramApi &f)
arcs::aubo_scope::ProgramApi::DataSwitch
friend class DataSwitch
定义
program_api.h:75
arcs::aubo_scope::ProgramApi::~ProgramApi
virtual ~ProgramApi()
arcs::aubo_scope::ProgramApi::d_
void * d_
定义
program_api.h:77
arcs::aubo_scope::ProgramApi::ProgramApi
ProgramApi()
arcs::aubo_scope::ProgramApi::getUndoRedoManager
UndoRedoManagerPtr getUndoRedoManager()
UndoRedoManager \chinese
arcs::aubo_scope::ProgramApi::getProgramModel
ProgramModelPtr getProgramModel()
ProgramModel \chinese
arcs::aubo_scope::ProgramApi::getWaypointModel
WaypointModelPtr getWaypointModel()
WaypointModel \chinese
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
program_model.h
undo_redo_manager.h
waypoint_model.h
include
aubo_caps
domain
program
program_api.h
制作者
1.16.1