![]() |
RMVL
2.5.0-dev
Robotic Manipulation and Vision Library
|
OPC UA 服务器定时器 更多...
#include <rmvl/opcua/server.hpp>
Public 成员函数 | |
| ServerTimer (ServerView sv, double period, std::function< void(ServerView)> callback) | |
| 创建 OPC UA 服务器定时器 | |
| ~ServerTimer () | |
| 释放资源,并取消定时器 | |
| void | cancel () |
| 取消定时器 | |
OPC UA 服务器定时器
| rm::ua::ServerTimer::ServerTimer | ( | ServerView | sv, |
| double | period, | ||
| std::function< void(ServerView)> | callback ) |
创建 OPC UA 服务器定时器
| [in] | sv | 服务器视图 |
| [in] | period | 定时器周期,单位:毫秒 ms |
| [in] | callback | 定时器回调函数 |
|
inline |
释放资源,并取消定时器
| void rm::ua::ServerTimer::cancel | ( | ) |
取消定时器