open62541pp 0.20.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
callback.hpp File Reference
#include <cstdint>
#include <functional>
#include "open62541pp/types.hpp"
Include dependency graph for callback.hpp:

Go to the source code of this file.

Namespaces

namespace  opcua
 

Typedefs

using opcua::CallbackId = uint64_t
 
using opcua::TimedCallback = std::function< void()>
 
using opcua::RepeatedCallback = std::function< void()>
 

Functions

template<typename T >
CallbackId opcua::addTimedCallback (T &connection, TimedCallback callback, DateTime date)
 
template<typename T >
CallbackId opcua::addRepeatedCallback (T &connection, RepeatedCallback callback, double intervalMilliseconds)
 
template<typename T >
void opcua::changeRepeatedCallbackInterval (T &connection, CallbackId callbackId, double intervalMilliseconds)
 
template<typename T >
void opcua::removeCallback (T &connection, CallbackId callbackId)