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
* @defgroup ProgramApi ProgramApi(程序)
15
* @ingroup ProgramApi
16
* ProgramApi
17
* Provides access to functionality and services related to programs. This
18
* includes what is available from within AuboScope, as well as creating
19
* additional model elements to be used within AuboScope.
20
*/
21
class
ARCS_ABI_EXPORT
ProgramApi
:
public
ApplicationApi
22
{
23
public
:
24
ProgramApi
(
ProgramApi
&f);
25
ProgramApi
(
ProgramApi
&&f);
26
virtual
~ProgramApi
();
27
28
/**
29
* @ingroup ProgramApi
30
* @ref ProgramModel
31
* @return An interface for working with the sub-trees of a program node
32
*/
33
ProgramModelPtr
getProgramModel
();
34
35
/**
36
* @ingroup ProgramApi
37
* @ref WaypointModel
38
* @return An interface for working with waypoints
39
*/
40
WaypointModelPtr
getWaypointModel
();
41
42
/**
43
* @ingroup ProgramApi
44
* @ref UndoRedoManager
45
* @return An interface for recording undoable changes for program node
46
* contributions
47
*/
48
UndoRedoManagerPtr
getUndoRedoManager
();
49
50
private
:
51
friend
class
DataSwitch
;
52
ProgramApi
();
53
void
*
d_
{
nullptr
};
54
};
55
56
}
// namespace aubo_scope
57
}
// namespace arcs
58
#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:22
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:51
arcs::aubo_scope::ProgramApi::~ProgramApi
virtual ~ProgramApi()
arcs::aubo_scope::ProgramApi::d_
void * d_
定义
program_api.h:53
arcs::aubo_scope::ProgramApi::ProgramApi
ProgramApi()
arcs::aubo_scope::ProgramApi::getUndoRedoManager
UndoRedoManagerPtr getUndoRedoManager()
UndoRedoManager
arcs::aubo_scope::ProgramApi::getProgramModel
ProgramModelPtr getProgramModel()
ProgramModel
arcs::aubo_scope::ProgramApi::getWaypointModel
WaypointModelPtr getWaypointModel()
WaypointModel
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