![]() |
RMVL
2.5.0
Robotic Manipulation and Vision Library
|
OPC UA 对象类型 更多...
#include <rmvl/opcua/object.hpp>
Public 成员函数 | |
| ObjectType ()=default | |
| 构造 ObjectType 对象类型 | |
| void | add (const Variable &variable) |
| 添加变量节点至 ObjectType 对象类型中 | |
| void | add (const DataSourceVariable &dsv) |
| 添加数据源变量节点至 rm::Object 对象中 | |
| void | add (const Method &method) |
| 添加方法节点至 ObjectType 对象类型中 | |
| bool | empty () const |
| 判断对象类型是否为空 | |
| void | setBase (ObjectType &otype) |
| 设置基类 ObjectType 对象类型 | |
| const ObjectType * | base () const |
| 获取基类 ObjectType 对象类型 | |
| const std::unordered_map< std::string, Variable > & | getVariables () const |
| 获取 Variable 表示的变量节点的列表 | |
| const std::unordered_map< std::string, DataSourceVariable > & | getDataSourceVariables () const |
| 获取 DataSourceVariable 表示的数据源变量节点的列表 | |
| const std::unordered_map< std::string, Method > & | getMethods () const |
| 获取 Method 表示的方法节点的列表 | |
Public 属性 | |
| uint16_t | ns {1U} |
| 命名空间索引,默认为 1 | |
| std::string | browse_name {} |
| 浏览名称 BrowseName | |
| std::string | display_name {} |
| 展示名称 DisplayName | |
| std::string | description {} |
| 对象类型的描述 - zh-CN | |
OPC UA 对象类型
|
default |
构造 ObjectType 对象类型
|
inline |
添加数据源变量节点至 rm::Object 对象中
| [in] | dsv | 数据源变量节点 |
|
inline |
添加方法节点至 ObjectType 对象类型中
| [in] | method | 方法节点 |
|
inline |
添加变量节点至 ObjectType 对象类型中
| [in] | variable | 变量节点 |
|
inline |
|
inline |
判断对象类型是否为空
|
inline |
获取 DataSourceVariable 表示的数据源变量节点的列表
|
inline |
获取 Method 表示的方法节点的列表
|
inline |
获取 Variable 表示的变量节点的列表
|
inline |
| std::string rm::ua::ObjectType::browse_name {} |
浏览名称 BrowseName
| std::string rm::ua::ObjectType::description {} |
对象类型的描述 - zh-CN
| std::string rm::ua::ObjectType::display_name {} |
展示名称 DisplayName
| uint16_t rm::ua::ObjectType::ns {1U} |
命名空间索引,默认为 1