open62541pp 0.18.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Functions
TranslateBrowsePathsToNodeIds service
Collaboration diagram for TranslateBrowsePathsToNodeIds service:

Detailed Description

Request that the server translates browse paths to node ids.

See also
https://reference.opcfoundation.org/Core/Part4/v105/docs/5.9.4

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)
 

Function Documentation

◆ translateBrowsePathsToNodeIds()

TranslateBrowsePathsToNodeIdsResponse opcua::services::translateBrowsePathsToNodeIds ( Client connection,
const TranslateBrowsePathsToNodeIdsRequest request 
)
noexcept

Translate browse paths to NodeIds (client only).

Parameters
connectionInstance of type Client
requestRequest

◆ translateBrowsePathsToNodeIdsAsync()

template<typename CompletionToken >
auto opcua::services::translateBrowsePathsToNodeIdsAsync ( Client connection,
const TranslateBrowsePathsToNodeIdsRequest request,
CompletionToken &&  token 
)

Translate browse paths to NodeIds (client only).

Parameters
connectionInstance of type Client
requestRequest
tokenThe 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.hpp:1336
Returns

Definition at line 180 of file view.hpp.

Referenced by opcua::services::translateBrowsePathToNodeIdsAsync().

◆ translateBrowsePathToNodeIds()

template<typename T >
BrowsePathResult opcua::services::translateBrowsePathToNodeIds ( T &  connection,
const BrowsePath browsePath 
)
noexcept

Translate a browse path to NodeIds.

Parameters
connectionInstance of type Server or Client
browsePathBrowse path (starting node & relative path)

Referenced by opcua::services::browseSimplifiedBrowsePath().

◆ translateBrowsePathToNodeIdsAsync()

template<typename CompletionToken >
auto opcua::services::translateBrowsePathToNodeIdsAsync ( Client connection,
const BrowsePath browsePath,
CompletionToken &&  token 
)

Translate a browse path to NodeIds.

Parameters
connectionInstance of type Server or Client
browsePathBrowse path (starting node & relative path)
tokenThe 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_BrowsePathResult wrapper class.
Definition types.hpp:1300
Returns

Definition at line 204 of file view.hpp.

Referenced by opcua::services::browseSimplifiedBrowsePathAsync().

◆ browseSimplifiedBrowsePath()

template<typename T >
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.

Parameters
connectionInstance of type Server or Client
originStarting node of the browse path
browsePathBrowse path as a list of browse names

Definition at line 232 of file view.hpp.

Referenced by opcua::Node< Connection >::browseChild().

◆ browseSimplifiedBrowsePathAsync()

template<typename CompletionToken >
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.

Parameters
connectionInstance of type Server or Client
originStarting node of the browse path
browsePathBrowse path as a list of browse names
tokenThe 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:
Returns

Definition at line 244 of file view.hpp.