RMVL  2.5.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到
rm::ua 命名空间参考

命名空间

namespace  helper

class  ClientView
 OPC UA 客户端视图 更多...
class  Client
 OPC UA 客户端 更多...
class  ClientTimer
 OPC UA 客户端定时器 更多...
class  EventType
 OPC UA 事件类型 更多...
class  Event
 OPC UA 事件 更多...
struct  Argument
 OPC UA 方法参数信息 更多...
class  Method
 OPC UA 方法 更多...
class  ObjectType
 OPC UA 对象类型 更多...
class  Object
 OPC UA 对象 更多...
struct  PublishedDataSet
 待发布的数据集 (PDS) 更多...
class  Publisher
 OPC UA 发布者 更多...
class  ServerView
 OPC UA 服务器视图 更多...
class  Server
 OPC UA 服务器 更多...
class  ServerTimer
 OPC UA 服务器定时器 更多...
 数据集字段元数据 更多...
class  Subscriber
 OPC UA 订阅者 更多...
class  NodeId
 OPC UA 节点 ID 更多...
class  DataType
 OPC UA 数据类型 更多...
struct  UserConfig
 用户信息 更多...
class  VariableType
 OPC UA 变量类型 更多...
class  Variable
 OPC UA 变量 更多...
struct  DataSourceVariable
 OPC UA 数据源变量 更多...
class  View
 OPC UA 视图 更多...

类型定义

using DataChangeNotificationCallback = std::function<void(ClientView, const Variable &)>
 数据变更通知回调函数
using EventNotificationCallback = std::function<void(ClientView, const std::vector<Variable> &)>
 事件通知回调函数
using MethodCallback = std::function<std::pair<bool, std::vector<Variable>>(const NodeId &, const std::vector<Variable> &)>
 OPC UA 方法回调函数
using ValueCallbackBeforeRead = std::function<void(ServerView, const NodeId &, const Variable &)>
 值回调函数,Read 可调用对象定义
using ValueCallbackAfterWrite = std::function<void(ServerView, const NodeId &, const Variable &)>
 值回调函数,Write 可调用对象定义
typedef std::tuple< UA_Server *, std::string_view, uint16_t > FindNodeInServer
 目标节点信息(服务端指针、浏览名、命名空间索引)
typedef std::tuple< UA_Client *, std::string_view, uint16_t > FindNodeInClient
 目标节点信息(客户端指针、浏览名、命名空间索引)
using Variables = std::vector<Variable>
 变量列表别名
using DataSourceRead = std::function<Variable(const NodeId &)>
 数据源回调函数,Read 函数指针定义
using DataSourceWrite = std::function<void(const NodeId &, const Variable &)>
 数据源回调函数,Write 函数指针定义

枚举

enum  AccessLevel : uint8_t { VARIABLE_READ = 1U , VARIABLE_WRITE = 2U }

函数

NodeId operator| (NodeId origin, FindNodeInServer &&fnis)
 服务端路径搜索
NodeId operator| (NodeId origin, FindNodeInClient &&fnic)
 客户端路径搜索

变量

constexpr DataType tpBoolean {UA_TYPES_BOOLEAN}
 数据类型:Boolean
constexpr DataType tpSbyte {UA_TYPES_SBYTE}
 数据类型:Sbyte
constexpr DataType tpByte {UA_TYPES_BYTE}
 数据类型:Byte
constexpr DataType tpInt16 {UA_TYPES_INT16}
 数据类型:Int16
constexpr DataType tpUInt16 {UA_TYPES_UINT16}
 数据类型:UInt16
constexpr DataType tpInt32 {UA_TYPES_INT32}
 数据类型:Int32
constexpr DataType tpUInt32 {UA_TYPES_UINT32}
 数据类型:UInt32
constexpr DataType tpInt64 {UA_TYPES_INT64}
 数据类型:Int64
constexpr DataType tpUInt64 {UA_TYPES_UINT64}
 数据类型:UInt64
constexpr DataType tpFloat {UA_TYPES_FLOAT}
 数据类型:Float
constexpr DataType tpDouble {UA_TYPES_DOUBLE}
 数据类型:Double
constexpr DataType tpString {UA_TYPES_STRING}
 数据类型:String
constexpr NodeId nodeBoolean {0, UA_NS0ID_BOOLEAN}
 数据类型节点:Boolean 节点 ID
constexpr NodeId nodeSbyte {0, UA_NS0ID_SBYTE}
 数据类型节点:Sbyte 节点 ID
constexpr NodeId nodeByte {0, UA_NS0ID_BYTE}
 数据类型节点:Byte 节点 ID
constexpr NodeId nodeInt16 {0, UA_NS0ID_INT16}
 数据类型节点:Int16 节点 ID
constexpr NodeId nodeUInt16 {0, UA_NS0ID_UINT16}
 数据类型节点:UInt16 节点 ID
constexpr NodeId nodeInt32 {0, UA_NS0ID_INT32}
 数据类型节点:Int32 节点 ID
constexpr NodeId nodeUInt32 {0, UA_NS0ID_UINT32}
 数据类型节点:UInt32 节点 ID
constexpr NodeId nodeInt64 {0, UA_NS0ID_INT64}
 数据类型节点:Int64 节点 ID
constexpr NodeId nodeUInt64 {0, UA_NS0ID_UINT64}
 数据类型节点:UInt64 节点 ID
constexpr NodeId nodeFloat {0, UA_NS0ID_FLOAT}
 数据类型节点:Float 节点 ID
constexpr NodeId nodeDouble {0, UA_NS0ID_DOUBLE}
 数据类型节点:Double 节点 ID
constexpr NodeId nodeString {0, UA_NS0ID_STRING}
 数据类型节点:String 节点 ID
constexpr NodeId nodeDatetime {0, UA_NS0ID_DATETIME}
 数据类型节点:Datetime 节点 ID
constexpr NodeId nodeObjectsFolder {0, UA_NS0ID_OBJECTSFOLDER}
 对象节点:ObjectsFolder 节点 ID
constexpr NodeId nodeTypesFolder {0, UA_NS0ID_TYPESFOLDER}
 对象节点:TypesFolder 节点 ID
constexpr NodeId nodeViewsFolder {0, UA_NS0ID_VIEWSFOLDER}
 对象节点:ViewsFolder 节点 ID
constexpr NodeId nodeObjectTypesFolder {0, UA_NS0ID_OBJECTTYPESFOLDER}
 对象节点:ObjectTypesFolder 节点 ID
constexpr NodeId nodeVariableTypesFolder {0, UA_NS0ID_VARIABLETYPESFOLDER}
 对象节点:VariableTypesFolder 节点 ID
constexpr NodeId nodeServer {0, UA_NS0ID_SERVER}
 对象节点:Server 节点 ID
constexpr NodeId nodeFolderType {0, UA_NS0ID_FOLDERTYPE}
 对象类型节点:FolderType 节点 ID
constexpr NodeId nodeBaseObjectType {0, UA_NS0ID_BASEOBJECTTYPE}
 对象类型节点:BaseObjectType 节点 ID
constexpr NodeId nodeBaseEventType {0, UA_NS0ID_BASEEVENTTYPE}
 对象类型节点:BaseEventType 节点 ID
constexpr NodeId nodeBaseDataVariableType {0, UA_NS0ID_BASEDATAVARIABLETYPE}
 变量类型节点:BaseDataVariableType 节点 ID
constexpr NodeId nodePropertyType {0, UA_NS0ID_PROPERTYTYPE}
 变量类型节点:PropertyType 节点 ID
constexpr NodeId nodeOrganizes {0, UA_NS0ID_ORGANIZES}
 引用类型节点:Organizes 节点 ID
constexpr NodeId nodeHasTypeDefinition {0, UA_NS0ID_HASTYPEDEFINITION}
 引用类型节点:HasTypeDefinition 节点 ID
constexpr NodeId nodeHasComponent {0, UA_NS0ID_HASCOMPONENT}
 引用类型节点:HasComponent 节点 ID
constexpr NodeId nodeHasProperty {0, UA_NS0ID_HASPROPERTY}
 引用类型节点:HasProperty 节点 ID
constexpr NodeId nodeHasSubtype {0, UA_NS0ID_HASSUBTYPE}
 引用类型节点:HasSubtype 节点 ID
constexpr NodeId nodeHasModellingRule {0, UA_NS0ID_HASMODELLINGRULE}
 引用类型节点:HasModellingRule 节点 ID