#include <client.h>
Public Member Functions | |
| KeepAliveThread (bool debug=false) | |
| Internal. | |
| void | Start (Services::SharedPtr server, Node node, Duration period) |
| void | Stop () |
Private Member Functions | |
| void | Run () |
Private Attributes | |
| std::condition_variable | Condition |
| bool | Debug = false |
| std::mutex | Mutex |
| Node | NodeToRead |
| Duration | Period = 1200000 |
| std::atomic< bool > | Running |
| Services::SharedPtr | Server |
| std::atomic< bool > | StopRequest |
| std::thread | Thread |
| OpcUa::KeepAliveThread::KeepAliveThread | ( | bool | debug = false | ) | [inline] |
| void OpcUa::KeepAliveThread::Run | ( | ) | [private] |
Definition at line 43 of file client.cpp.
| void OpcUa::KeepAliveThread::Start | ( | Services::SharedPtr | server, |
| Node | node, | ||
| Duration | period | ||
| ) |
Definition at line 32 of file client.cpp.
| void OpcUa::KeepAliveThread::Stop | ( | ) |
Definition at line 78 of file client.cpp.
std::condition_variable OpcUa::KeepAliveThread::Condition [private] |
bool OpcUa::KeepAliveThread::Debug = false [private] |
std::mutex OpcUa::KeepAliveThread::Mutex [private] |
Node OpcUa::KeepAliveThread::NodeToRead [private] |
Duration OpcUa::KeepAliveThread::Period = 1200000 [private] |
std::atomic<bool> OpcUa::KeepAliveThread::Running [private] |
Services::SharedPtr OpcUa::KeepAliveThread::Server [private] |
std::atomic<bool> OpcUa::KeepAliveThread::StopRequest [private] |
std::thread OpcUa::KeepAliveThread::Thread [mutable, private] |