11#include "open62541pp/config.hpp"
25#ifdef UA_ENABLE_METHODCALLS
48#ifdef UA_ENABLE_SUBSCRIPTIONS
51 using SubMonId = std::pair<uint32_t, uint32_t>;
View to a contiguous sequence of objects, similar to std::span in C++20.
Thread-safe map for context objects.
Catch & store exceptions from user-defined callbacks in an exception-unaware context (open62541).
void(* closeSession)(UA_Server *server, UA_AccessControl *ac, const UA_NodeId *sessionId, void *sessionContext)
UA_StatusCode(* activateSession)(UA_Server *server, UA_AccessControl *ac, const UA_EndpointDescription *endpointDescription, const UA_ByteString *secureChannelRemoteCertificate, const UA_NodeId *sessionId, const UA_ExtensionObject *userIdentityToken, void **sessionContext)
Data source backend for variable nodes.
Value callbacks for variable nodes.
ValueBackendDataSource dataSource
ValueCallback valueCallback
std::function< void(Span< const Variant > input, Span< Variant > output)> methodCallback
Internal storage for Server class.
std::pair< uint32_t, uint32_t > SubMonId
ContextMap< NodeId, NodeContext > nodeContexts
SessionRegistry sessionRegistry
std::atomic< bool > running
ExceptionCatcher exceptionCatcher
ContextMap< SubMonId, services::detail::MonitoredItemContext > monitoredItems
std::vector< DataType > dataTypes
std::unique_ptr< UA_DataTypeArray > dataTypeArray
std::set< NodeId > sessionIds
decltype(UA_AccessControl::activateSession) activateSessionUser
decltype(UA_AccessControl::closeSession) closeSessionUser