open62541pp 0.15.0
C++ wrapper of open62541
|
#include <client_services.hpp>
Adapter to initiate open62541 async client operations with completion tokens.
Definition at line 25 of file client_services.hpp.
Classes | |
struct | CallbackAndContext |
Public Types | |
using | ExceptionCatcher = opcua::detail::ExceptionCatcher |
Static Public Member Functions | |
template<typename CompletionHandler , typename TransformResponse > | |
static auto | createCallbackAndContext (ExceptionCatcher &exceptionCatcher, TransformResponse &&transformResponse, CompletionHandler &&completionHandler) |
template<typename Initiation , typename TransformResponse , typename CompletionToken > | |
static auto | initiate (Client &client, Initiation &&initiation, TransformResponse &&transformResponse, CompletionToken &&token) |
using opcua::services::detail::AsyncServiceAdapter< Response >::ExceptionCatcher = opcua::detail::ExceptionCatcher |
Definition at line 26 of file client_services.hpp.
|
inlinestatic |
Definition at line 35 of file client_services.hpp.
Referenced by opcua::services::detail::AsyncServiceAdapter< Response >::initiate().
|
inlinestatic |
Initiate open62541 async client operation with user-defined completion token.
client | Instance of type Client |
initiation | Callable to initiate the async operation. Following signature is expected: void(UA_ClientAsyncServiceCallback callback, void* userdata) |
transformResponse | Callable to transform the Response type to the desired output |
token | Completion token |
Definition at line 78 of file client_services.hpp.
Referenced by opcua::services::detail::sendRequest().