PDF
简体中文
简体中文
English
AuboStudio SDK
0.6.3
program_creation_context.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_PROGRAM_CREATION_CONTEXT_H
2
#define AUBO_SCOPE_PROGRAM_CREATION_CONTEXT_H
3
4
#include <
aubo_caps/class_forward.h
>
5
6
namespace
arcs
{
7
namespace
aubo_scope
{
8
ARCS_CLASS_FORWARD
(
ProgramCreationContext
);
9
10
/**
11
* \chinese
12
* 程序创建上下文
13
* 提供安装节点创建时所在上下文的相关信息。
14
* \endchinese
15
* \english
16
* ProgramCreationContext
17
* Provides information about the context in which an installation node is
18
* created.
19
* \endenglish
20
*/
21
class
ProgramCreationContext
22
{
23
public
:
24
enum
NodeCreationType
25
{
26
NEW
,
27
LOAD
28
};
29
30
ProgramCreationContext
(
ProgramCreationContext
&f);
31
ProgramCreationContext
(
ProgramCreationContext
&&f);
32
~ProgramCreationContext
();
33
34
NodeCreationType
getNodeCreationType
();
35
36
std::string
getCreatedVersion
();
37
std::string
getLastSavedVersion
();
38
39
private
:
40
friend
class
DataSwitch
;
41
ProgramCreationContext
();
42
void
*
d_
{
nullptr
};
43
};
44
45
}
// namespace aubo_scope
46
}
// namespace arcs
47
48
#endif
// AUBO_SCOPE_PROGRAM_CREATION_CONTEXT_H
class_forward.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::ProgramCreationContext
程序创建上下文 提供安装节点创建时所在上下文的相关信息。
定义
program_creation_context.h:22
arcs::aubo_scope::ProgramCreationContext::getNodeCreationType
NodeCreationType getNodeCreationType()
arcs::aubo_scope::ProgramCreationContext::d_
void * d_
定义
program_creation_context.h:42
arcs::aubo_scope::ProgramCreationContext::ProgramCreationContext
ProgramCreationContext(ProgramCreationContext &f)
arcs::aubo_scope::ProgramCreationContext::~ProgramCreationContext
~ProgramCreationContext()
arcs::aubo_scope::ProgramCreationContext::NodeCreationType
NodeCreationType
定义
program_creation_context.h:25
arcs::aubo_scope::ProgramCreationContext::LOAD
@ LOAD
定义
program_creation_context.h:27
arcs::aubo_scope::ProgramCreationContext::NEW
@ NEW
定义
program_creation_context.h:26
arcs::aubo_scope::ProgramCreationContext::getCreatedVersion
std::string getCreatedVersion()
arcs::aubo_scope::ProgramCreationContext::DataSwitch
friend class DataSwitch
定义
program_creation_context.h:40
arcs::aubo_scope::ProgramCreationContext::getLastSavedVersion
std::string getLastSavedVersion()
arcs::aubo_scope::ProgramCreationContext::ProgramCreationContext
ProgramCreationContext(ProgramCreationContext &&f)
arcs::aubo_scope::ProgramCreationContext::ProgramCreationContext
ProgramCreationContext()
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
include
aubo_caps
contribution
program
program_creation_context.h
制作者
1.16.1