AuboStudio SDK 0.6.3

Public 成员函数 | Protected 成员函数 | Private 属性 | 友元 | 所有成员列表
arcs::aubo_scope::PersistedVariable类 参考

This interface represents variables stored with the installation. 更多...

`#include <persisted_variable.h>`

类 arcs::aubo_scope::PersistedVariable 继承关系图:
[图例]
arcs::aubo_scope::PersistedVariable 的协作图:
[图例]

## Public 成员函数
| PersistedVariable (PersistedVariable &f)
| PersistedVariable (PersistedVariable &&f)
virtual | ~PersistedVariable ()
bool | isResolvable ()
| A persisted variable can not be guaranteed to be present. 更多...
Public 成员函数 继承自 arcs::aubo_scope::Variable
| 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 成员函数
| PersistedVariable ()
Protected 成员函数 继承自 arcs::aubo_scope::Variable
| Variable ()

## Private 属性
void * | d_ { nullptr }

## 友元
class | DataSwitch

## 额外继承的成员函数
Public 类型 继承自 arcs::aubo_scope::Variable
enum | Type : int { GLOBAL , VALUE_PERSISTED , FEATURE }
| The variable type used to determine which type of variable this instance is. 更多...

## 详细描述

This interface represents variables stored with the installation.

These variables are defined in the installation and will exist even when a robot is turned off and on.

在文件 persisted_variable.h 第 15 行定义.

## 构造及析构函数说明

## ◆ PersistedVariable() [1/3]

arcs::aubo_scope::PersistedVariable::PersistedVariable | ( | PersistedVariable & | f | ) |

## ◆ PersistedVariable() [2/3]

arcs::aubo_scope::PersistedVariable::PersistedVariable | ( | PersistedVariable && | f | ) |

## ◆ ~PersistedVariable()

virtual arcs::aubo_scope::PersistedVariable::~PersistedVariable | ( |  | ) |
| virtual

## ◆ PersistedVariable() [3/3]

arcs::aubo_scope::PersistedVariable::PersistedVariable | ( |  | ) |
| protected

## 成员函数说明

## ◆ isResolvable()

bool arcs::aubo_scope::PersistedVariable::isResolvable | ( |  | ) |

A persisted variable can not be guaranteed to be present.

This method can be used to determine, if the variable is present.

The persisted variable will not be present, if the end user loads a different installation which does not contain the variable, or if the variable is deleted by the end user.

A program node storing a `PersistedVariable` in its Data Model will be undefined if the variable cannot be resolved (i.e. the variable is not present).

返回
  `true`, if this persisted variable is resolvable (i.e. present in the current installation).

## 友元及相关函数文档

## ◆ DataSwitch

friend class DataSwitch
| friend

在文件 persisted_variable.h 第 43 行定义.

## 类成员变量说明

## ◆ d_

void* arcs::aubo_scope::PersistedVariable::d_ { nullptr }
| private

在文件 persisted_variable.h 第 44 行定义.

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

- include/aubo_caps/domain/variable/persisted_variable.h