Public Member Functions | Private Member Functions | Private Attributes
OpcUa::KeepAliveThread Class Reference

#include <client.h>

List of all members.

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

Detailed Description

Definition at line 38 of file client.h.


Constructor & Destructor Documentation

OpcUa::KeepAliveThread::KeepAliveThread ( bool  debug = false) [inline]

Internal.

Definition at line 43 of file client.h.


Member Function Documentation

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.

Definition at line 78 of file client.cpp.


Member Data Documentation

std::condition_variable OpcUa::KeepAliveThread::Condition [private]

Definition at line 55 of file client.h.

bool OpcUa::KeepAliveThread::Debug = false [private]

Definition at line 57 of file client.h.

std::mutex OpcUa::KeepAliveThread::Mutex [private]

Definition at line 56 of file client.h.

Definition at line 50 of file client.h.

Definition at line 52 of file client.h.

std::atomic<bool> OpcUa::KeepAliveThread::Running [private]

Definition at line 54 of file client.h.

Services::SharedPtr OpcUa::KeepAliveThread::Server [private]

Definition at line 51 of file client.h.

std::atomic<bool> OpcUa::KeepAliveThread::StopRequest [private]

Definition at line 53 of file client.h.

std::thread OpcUa::KeepAliveThread::Thread [mutable, private]

Definition at line 49 of file client.h.


The documentation for this class was generated from the following files:


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:24:59