RMVL  2.3.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到
rm::Argument结构体 参考final

OPC UA 方法参数信息 更多...

#include <rmvl/opcua/method.hpp>

rm::Argument 的协作图:

静态 Public 成员函数

static Argument create (const std::string &name, DataType type, uint32_t dims=1, const std::string &desc="")
 创建方法参数信息
 

Public 属性

std::string name
 参数名称
 
DataType type {}
 参数数据类型
 
uint32_t dims {1U}
 参数维数,单数据则是 1,数组则是数组长度
 
std::string description {}
 参数描述
 

详细描述

OPC UA 方法参数信息

注解
不储备任何调用时数据,仅用于描述方法参数

成员函数说明

◆ create()

static Argument rm::Argument::create ( const std::string & name,
DataType type,
uint32_t dims = 1,
const std::string & desc = "" )
inlinestatic

创建方法参数信息

参数
[in]name参数名称
[in]type参数数据类型
参见
rm::DataType
参数
[in]dims参数维数,单数据则是 1,数组则是数组长度
警告
不能为 0
参数
[in]desc参数描述
返回
方法参数信息

类成员变量说明

◆ description

std::string rm::Argument::description {}

参数描述

◆ dims

uint32_t rm::Argument::dims {1U}

参数维数,单数据则是 1,数组则是数组长度

警告
不能为 0

◆ name

std::string rm::Argument::name

参数名称

◆ type

DataType rm::Argument::type {}

参数数据类型

参见
rm::DataType

该结构体的文档由以下文件生成: