AuboStudio SDK
0.6.3
feature_variable.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_FEATURE_VARIABLE_H
2
#define AUBO_SCOPE_FEATURE_VARIABLE_H
3
4
#include <
aubo_caps/domain/variable/persisted_variable.h
>
5
6
namespace
arcs
{
7
namespace
aubo_scope
{
8
ARCS_CLASS_FORWARD
(
FeatureVariable
);
9
10
/**
11
* \chinese
12
* 特征变量
13
* 在安装中被标记为变量的特征,即使在机器人关闭和重新启动后也会存在。
14
* \endchinese
15
* \english
16
* FeatureVariable
17
* A Feature marked as a Variable in the installation will exist even when a
18
* robot is turned off and on.
19
* \endenglish
20
*/
21
class
ARCS_ABI_EXPORT
FeatureVariable
:
public
PersistedVariable
22
{
23
public
:
24
FeatureVariable
(
FeatureVariable
&f);
25
FeatureVariable
(
FeatureVariable
&&f);
26
virtual
~FeatureVariable
();
27
28
private
:
29
friend
class
DataSwitch
;
30
FeatureVariable
();
31
void
*
d_
{
nullptr
};
32
};
33
34
struct
FeatureVariableFilter
35
{
36
bool
operator()
(VariablePtr var)
37
{
38
return
std::dynamic_pointer_cast<FeatureVariable>(var) !=
nullptr
&&
39
var->getType() ==
Variable::FEATURE
;
40
}
41
};
42
43
}
// namespace aubo_scope
44
}
// namespace arcs
45
#endif
// AUBO_SCOPE_FEATURE_VARIABLE_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::FeatureVariable
\chinese 特征变量 在安装中被标记为变量的特征,即使在机器人关闭和重新启动后也会存在。 \endchinese \english FeatureVariable A Feature marked...
定义
feature_variable.h:22
arcs::aubo_scope::FeatureVariable::d_
void * d_
定义
feature_variable.h:31
arcs::aubo_scope::FeatureVariable::~FeatureVariable
virtual ~FeatureVariable()
arcs::aubo_scope::FeatureVariable::DataSwitch
friend class DataSwitch
定义
feature_variable.h:29
arcs::aubo_scope::FeatureVariable::FeatureVariable
FeatureVariable(FeatureVariable &f)
arcs::aubo_scope::FeatureVariable::FeatureVariable
FeatureVariable(FeatureVariable &&f)
arcs::aubo_scope::FeatureVariable::FeatureVariable
FeatureVariable()
arcs::aubo_scope::PersistedVariable::PersistedVariable
PersistedVariable(PersistedVariable &f)
arcs::aubo_scope::Variable::FEATURE
@ FEATURE
定义
variable.h:67
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
persisted_variable.h
arcs::aubo_scope::FeatureVariableFilter
定义
feature_variable.h:35
arcs::aubo_scope::FeatureVariableFilter::operator()
bool operator()(VariablePtr var)
定义
feature_variable.h:36
include
aubo_caps
domain
variable
feature_variable.h
制作者
1.16.1