open62541pp 0.15.0
C++ wrapper of open62541
|
#include <callbackadapter.hpp>
Helper class to map open62541 / C-style callbacks to std::function
objects.
The the concrete adapter should:
std::function
objectsDefinition at line 16 of file callbackadapter.hpp.
Public Member Functions | |
template<typename F , typename... Args> | |
void | invoke (F &&callback, Args &&... args) const noexcept |
Public Attributes | |
opcua::detail::ExceptionCatcher * | catcher = nullptr |
|
inlinenoexcept |
Definition at line 21 of file callbackadapter.hpp.
Referenced by opcua::services::detail::MonitoredItemContext::dataChangeCallbackNativeClient(), opcua::services::detail::MonitoredItemContext::dataChangeCallbackNativeServer(), opcua::services::detail::MonitoredItemContext::deleteCallbackNative(), opcua::services::detail::SubscriptionContext::deleteCallbackNative(), opcua::services::detail::MonitoredItemContext::eventCallbackNative(), and opcua::services::detail::SubscriptionContext::statusChangeCallbackNative().
opcua::detail::ExceptionCatcher* opcua::services::detail::CallbackAdapter::catcher = nullptr |
Definition at line 18 of file callbackadapter.hpp.
Referenced by invoke().