AuboStudio SDK  0.6.3
arcs::aubo_scope::Variable类 参考

#include <variable.h>

类 arcs::aubo_scope::Variable 继承关系图:

Public 类型

enum  Type : int { GLOBAL , VALUE_PERSISTED , FEATURE }
 The variable type used to determine which type of variable this instance is. 更多...

Public 成员函数

 Variable (Variable &f)
 Variable (Variable &&f)
virtual ~Variable ()
Type getType ()
std::string getDisplayName ()
 Note: The variable can be renamed at any time.
bool equals (VariablePtr object)
size_t hashCode ()
std::string toString ()

Protected 成员函数

 Variable ()

Private 属性

void * d_ { nullptr }

友元

class DataSwitch

详细描述

在文件 variable.h11 行定义.

成员枚举类型说明

◆ Type

The variable type used to determine which type of variable this instance is.

枚举值
GLOBAL 

GLOBAL means that the variable is available everywhere in a program.

This variable instance can be cast to GlobalVariable.

VALUE_PERSISTED 

VALUE_PERSISTED means that the variable is stored with the installation. These variables are defined in the installation and will retain their values even when a robot is turned off and on.

This variable instance can be cast to ValuePersistedVariable.

FEATURE 

FEATURE means that a Feature is marked as a variable. The variable is defined in the installation and will exist even when a robot is turned off and on.

This variable instance can be cast to FeatureVariable.

在文件 variable.h22 行定义.

构造及析构函数说明

◆ Variable() [1/3]

arcs::aubo_scope::Variable::Variable ( Variable & f)

引用了 Variable().

被这些函数引用 Variable() , 以及 Variable().

函数调用图:
这是这个函数的调用关系图:

◆ Variable() [2/3]

arcs::aubo_scope::Variable::Variable ( Variable && f)

引用了 Variable().

函数调用图:

◆ ~Variable()

virtual arcs::aubo_scope::Variable::~Variable ( )
virtual

◆ Variable() [3/3]

arcs::aubo_scope::Variable::Variable ( )
protected

成员函数说明

◆ equals()

bool arcs::aubo_scope::Variable::equals ( VariablePtr object)
返回
true if object references the same internal Variable.

◆ getDisplayName()

std::string arcs::aubo_scope::Variable::getDisplayName ( )

Note: The variable can be renamed at any time.

返回
the display name of the variable.

◆ getType()

Type arcs::aubo_scope::Variable::getType ( )
返回
the type of variable.

◆ hashCode()

size_t arcs::aubo_scope::Variable::hashCode ( )
返回
hashCode for this object.

◆ toString()

std::string arcs::aubo_scope::Variable::toString ( )
返回
a string representation of the variable.

◆ DataSwitch

friend class DataSwitch
friend

在文件 variable.h88 行定义.

引用了 DataSwitch.

被这些函数引用 DataSwitch.

类成员变量说明

◆ d_

void* arcs::aubo_scope::Variable::d_ { nullptr }
private

在文件 variable.h89 行定义.


该类的文档由以下文件生成: