open62541pp 0.17.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
server_utils.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace opcua {
6class Server;
7
8namespace detail {
9class ExceptionCatcher;
10struct ServerContext;
11} // namespace detail
12} // namespace opcua
13
14namespace opcua::detail {
15
16UA_ServerConfig* getConfig(UA_Server* server) noexcept;
17UA_Logger* getLogger(UA_ServerConfig* config) noexcept;
18ServerContext* getContext(UA_Server* server) noexcept;
19ServerContext& getContext(Server& server) noexcept;
20ExceptionCatcher* getExceptionCatcher(UA_Server* server) noexcept;
21ExceptionCatcher& getExceptionCatcher(Server& server) noexcept;
22UA_Server* getHandle(Server& server) noexcept;
23
24} // namespace opcua::detail