AuboStudio SDK  0.6.3
feature_variable.h
浏览该文件的文档.
1#ifndef AUBO_SCOPE_FEATURE_VARIABLE_H
2#define AUBO_SCOPE_FEATURE_VARIABLE_H
3
5
6namespace arcs {
7namespace aubo_scope {
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 */
22{
23public:
27
28private:
29 friend class DataSwitch;
31 void *d_{ nullptr };
32};
33
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
#define ARCS_ABI_EXPORT
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
\chinese 特征变量 在安装中被标记为变量的特征,即使在机器人关闭和重新启动后也会存在。 \endchinese \english FeatureVariable A Feature marked...
FeatureVariable(FeatureVariable &f)
FeatureVariable(FeatureVariable &&f)
PersistedVariable(PersistedVariable &f)