open62541pp 0.19.0
C++ wrapper of open62541
|
Discover references of nodes.
Functions | |
BrowseResponse | opcua::services::browse (Client &connection, const BrowseRequest &request) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::browseAsync (Client &connection, const BrowseRequest &request, CompletionToken &&token) |
template<typename T > | |
BrowseResult | opcua::services::browse (T &connection, const BrowseDescription &bd, uint32_t maxReferences) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::browseAsync (Client &connection, const BrowseDescription &bd, uint32_t maxReferences, CompletionToken &&token) |
template<typename T > | |
Result< std::vector< ReferenceDescription > > | opcua::services::browseAll (T &connection, const BrowseDescription &bd) |
|
noexcept |
Discover the references of one or more nodes (client only).
connection | Instance of type Client |
request | Browse request |
Referenced by opcua::services::browseAll(), and opcua::Node< Connection >::browseParent().
|
noexcept |
Result< std::vector< ReferenceDescription > > opcua::services::browseAll | ( | T & | connection, |
const BrowseDescription & | bd | ||
) |
Discover all the references of a specified node (without calling browseNext).
Definition at line 333 of file view.hpp.
Referenced by opcua::Node< Connection >::browseReferencedNodes(), and opcua::Node< Connection >::browseReferences().
auto opcua::services::browseAsync | ( | Client & | connection, |
const BrowseDescription & | bd, | ||
uint32_t | maxReferences, | ||
CompletionToken && | token | ||
) |
Discover the references of a specified node.
connection | Instance of type Server or Client |
bd | Browse description |
maxReferences | The maximum number of references to return (0 if no limit) |
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(BrowseResult&)
|
void
if token
is a callback function (object)std::future<BrowseResult>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken auto opcua::services::browseAsync | ( | Client & | connection, |
const BrowseRequest & | request, | ||
CompletionToken && | token | ||
) |
Discover the references of one or more nodes (client only).
connection | Instance of type Client |
request | Browse 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: void(BrowseResponse&)
|
void
if token
is a callback function (object)std::future<BrowseResponse>
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 55 of file view.hpp.
Referenced by opcua::services::browseAsync().