![]() |
RMVL
2.6.0-dev
Robotic Manipulation and Vision Library
|
OPC UA 服务器视图 更多...
#include <rmvl/opcua/server.hpp>
Public 成员函数 | |
| ServerView ()=default | |
| ServerView (UA_Server *server) | |
| 创建不占有生命周期的 OPC UA 服务器视图,在 OPC UA 方法节点中使用特别有效 | |
| ServerView & | operator= (UA_Server *const server) |
| UA_Server * | get () const |
| 获取 OPC UA 服务器指针 | |
| FindNodeInServer | node (std::string_view browse_name, uint16_t ns=1U) const |
| 获取路径搜索必要信息 | |
| NodeId | find (std::string_view browse_path, const NodeId &src_nd=nodeObjectsFolder) const noexcept |
| 通过 BrowseName 的路径搜索命名空间 ns 为 1 的节点 | |
| Variable | read (const NodeId &nd) const |
| 从指定的变量节点读数据 | |
| bool | write (const NodeId &nd, const Variable &val) const |
| 给指定的变量节点写数据 | |
| bool | triggerEvent (const Event &event) const |
| 创建并触发事件 | |
OPC UA 服务器视图
|
default |
|
inline |
创建不占有生命周期的 OPC UA 服务器视图,在 OPC UA 方法节点中使用特别有效
| [in] | server | OPC UA 服务器指针 |
|
noexcept |
通过 BrowseName 的路径搜索命名空间 ns 为 1 的节点
| [in] | browse_path | BrowseName 路径,使用 / 分隔 |
| [in] | src_nd | 源节点 ID,默认为 rm::nodeObjectsFolder |
|
inline |
获取 OPC UA 服务器指针
|
inline |
|
inline |
| bool rm::ua::ServerView::triggerEvent | ( | const Event & | event | ) | const |