PDF
简体中文
简体中文
English
AuboStudio SDK
0.6.3
program_api_provider.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_PROGRAM_API_PROVIDER_H
2
#define AUBO_SCOPE_PROGRAM_API_PROVIDER_H
3
4
#include <
aubo_caps/domain/system_api.h
>
5
#include <
aubo_caps/domain/program/program_api.h
>
6
#include <
aubo_caps/domain/user_interface/user_interface_api.h
>
7
8
namespace
arcs
{
9
namespace
aubo_scope
{
10
11
ARCS_CLASS_FORWARD
(
ProgramApiProvider
);
12
13
/**
14
* \chinese
15
* 程序 API 提供者
16
* 提供与程序节点相关的功能和服务访问。这包括 AuboScope 内部已有的功能,以及在
17
* AuboScope 中创建要使用的额外模型元素。
18
* \endchinese
19
* \english
20
* ProgramApiProvider
21
* Provides access to functionality and services relevant for program nodes.
22
* This includes what is available from within AuboScope, as well as creating
23
* additional model elements to be used within AuboScope.
24
* \endenglish
25
*/
26
class
ProgramApiProvider
27
{
28
public
:
29
ProgramApiProvider
(
ProgramApiProvider
&f);
30
ProgramApiProvider
(
ProgramApiProvider
&&f);
31
virtual
~ProgramApiProvider
();
32
33
/**
34
* \chinese
35
* 提供对系统相关功能的访问
36
*
37
* @return SystemAPI 实例
38
* \endchinese
39
* \english
40
* Provides access to system related functionality
41
*
42
* @return an instance of SystemAPI
43
* \endenglish
44
*/
45
SystemApiPtr
getSystemApi
();
46
47
/**
48
* \chinese
49
* 提供对用户界面和终端用户交互相关功能的访问
50
*
51
* @return UserInterfaceAPI 实例
52
* \endchinese
53
* \english
54
* Provides access to functionality related to user interface and end user
55
* interaction
56
*
57
* @return an instance of UserInterfaceAPI
58
* \endenglish
59
*/
60
UserInterfaceApiPtr
getUserInterfaceApi
();
61
62
/**
63
* \chinese
64
* 提供对程序相关功能的访问
65
*
66
* @return ProgramAPI 实例
67
* \endchinese
68
* \english
69
* Provides access to functionality relevant related to programs
70
*
71
* @return an instance of ProgramAPI
72
* \endenglish
73
*/
74
ProgramApiPtr
getProgramApi
();
75
76
private
:
77
ProgramApiProvider
();
78
friend
class
DataSwitch
;
79
void
*
d_
{
nullptr
};
80
};
81
82
}
// namespace aubo_scope
83
}
// namespace arcs
84
85
#endif
// AUBO_SCOPE_PROGRAM_API_PROVIDER_H
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::ProgramApiProvider
程序 API 提供者 提供与程序节点相关的功能和服务访问。这包括 AuboScope 内部已有的功能,以及在 AuboScope 中创建要使用的额外模型元素。
定义
program_api_provider.h:27
arcs::aubo_scope::ProgramApiProvider::getSystemApi
SystemApiPtr getSystemApi()
提供对系统相关功能的访问
arcs::aubo_scope::ProgramApiProvider::ProgramApiProvider
ProgramApiProvider(ProgramApiProvider &f)
arcs::aubo_scope::ProgramApiProvider::DataSwitch
friend class DataSwitch
定义
program_api_provider.h:78
arcs::aubo_scope::ProgramApiProvider::getProgramApi
ProgramApiPtr getProgramApi()
提供对程序相关功能的访问
arcs::aubo_scope::ProgramApiProvider::ProgramApiProvider
ProgramApiProvider(ProgramApiProvider &&f)
arcs::aubo_scope::ProgramApiProvider::d_
void * d_
定义
program_api_provider.h:79
arcs::aubo_scope::ProgramApiProvider::getUserInterfaceApi
UserInterfaceApiPtr getUserInterfaceApi()
提供对用户界面和终端用户交互相关功能的访问
arcs::aubo_scope::ProgramApiProvider::ProgramApiProvider
ProgramApiProvider()
arcs::aubo_scope::ProgramApiProvider::~ProgramApiProvider
virtual ~ProgramApiProvider()
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
program_api.h
system_api.h
user_interface_api.h
include
aubo_caps
contribution
program
program_api_provider.h
制作者
1.16.1