open62541pp 0.16.0
C++ wrapper of open62541
|
Request that the server translates browse paths to node ids.
Functions | |
TranslateBrowsePathsToNodeIdsResponse | opcua::services::translateBrowsePathsToNodeIds (Client &connection, const TranslateBrowsePathsToNodeIdsRequest &request) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::translateBrowsePathsToNodeIdsAsync (Client &connection, const TranslateBrowsePathsToNodeIdsRequest &request, CompletionToken &&token) |
template<typename T > | |
BrowsePathResult | opcua::services::translateBrowsePathToNodeIds (T &connection, const BrowsePath &browsePath) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::translateBrowsePathToNodeIdsAsync (Client &connection, const BrowsePath &browsePath, CompletionToken &&token) |
template<typename T > | |
BrowsePathResult | opcua::services::browseSimplifiedBrowsePath (T &connection, const NodeId &origin, Span< const QualifiedName > browsePath) |
template<typename CompletionToken > | |
auto | opcua::services::browseSimplifiedBrowsePathAsync (Client &connection, const NodeId &origin, Span< const QualifiedName > browsePath, CompletionToken &&token) |
|
noexcept |
Translate browse paths to NodeIds (client only).
connection | Instance of type Client |
request | Request |
auto opcua::services::translateBrowsePathsToNodeIdsAsync | ( | Client & | connection, |
const TranslateBrowsePathsToNodeIdsRequest & | request, | ||
CompletionToken && | token ) |
Translate browse paths to NodeIds (client only).
connection | Instance of type Client |
request | Request |
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: UA_TranslateBrowsePathsToNodeIdsResponse wrapper class. Definition types_composed.hpp:1230 |
void
if token
is a callback function (object)std::future<TranslateBrowsePathsToNodeIdsResponse>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken Definition at line 183 of file view.hpp.
Referenced by opcua::services::translateBrowsePathToNodeIdsAsync().
|
noexcept |
Translate a browse path to NodeIds.
connection | Instance of type Server or Client |
browsePath | Browse path (starting node & relative path) |
Referenced by opcua::services::browseSimplifiedBrowsePath().
auto opcua::services::translateBrowsePathToNodeIdsAsync | ( | Client & | connection, |
const BrowsePath & | browsePath, | ||
CompletionToken && | token ) |
Translate a browse path to NodeIds.
connection | Instance of type Server or Client |
browsePath | Browse path (starting node & relative path) |
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(BrowsePathResult&)
|
void
if token
is a callback function (object)std::future<BrowsePathResult>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken Definition at line 208 of file view.hpp.
Referenced by opcua::services::browseSimplifiedBrowsePathAsync().
BrowsePathResult opcua::services::browseSimplifiedBrowsePath | ( | T & | connection, |
const NodeId & | origin, | ||
Span< const QualifiedName > | browsePath ) |
A simplified version of translateBrowsePathToNodeIds.
The relative path is specified using browse names instead of the RelativePath structure. The list of browse names is equivalent to a RelativePath that specifies forward references which are subtypes of the HierarchicalReferences ReferenceTypeId.
connection | Instance of type Server or Client |
origin | Starting node of the browse path |
browsePath | Browse path as a list of browse names |
Definition at line 236 of file view.hpp.
Referenced by opcua::Node< Connection >::browseChild().
auto opcua::services::browseSimplifiedBrowsePathAsync | ( | Client & | connection, |
const NodeId & | origin, | ||
Span< const QualifiedName > | browsePath, | ||
CompletionToken && | token ) |
A simplified version of translateBrowsePathToNodeIds.
The relative path is specified using browse names instead of the RelativePath structure. The list of browse names is equivalent to a RelativePath that specifies forward references which are subtypes of the HierarchicalReferences ReferenceTypeId.
connection | Instance of type Server or Client |
origin | Starting node of the browse path |
browsePath | Browse path as a list of browse names |
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(BrowsePathResult&)
|
void
if token
is a callback function (object)std::future<BrowsePathResult>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken