#include <timer.h>
List of all members.
Public Member Functions |
void | Cancel () |
| PeriodicTimer (boost::asio::io_service &io) |
void | Start (const boost::asio::deadline_timer::duration_type &t, std::function< void()> handler) |
| ~PeriodicTimer () |
Private Member Functions |
void | OnTimer (const boost::system::error_code &error, std::function< void()> handler, boost::asio::deadline_timer::duration_type t) |
Private Attributes |
std::atomic< bool > | IsCanceled |
std::mutex | Mutex |
std::condition_variable | StopEvent |
std::atomic< bool > | Stopped |
boost::asio::deadline_timer | Timer |
Detailed Description
Definition at line 30 of file timer.h.
Constructor & Destructor Documentation
Member Function Documentation
void OpcUa::PeriodicTimer::OnTimer |
( |
const boost::system::error_code & |
error, |
|
|
std::function< void()> |
handler, |
|
|
boost::asio::deadline_timer::duration_type |
t |
|
) |
| [inline, private] |
Member Data Documentation
The documentation for this class was generated from the following file: