open62541pp 0.16.0
C++ wrapper of open62541
|
Delete nodes from the address space.
Functions | |
DeleteNodesResponse | opcua::services::deleteNodes (Client &connection, const DeleteNodesRequest &request) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::deleteNodesAsync (Client &connection, const DeleteNodesRequest &request, CompletionToken &&token) |
template<typename T > | |
StatusCode | opcua::services::deleteNode (T &connection, const NodeId &id, bool deleteReferences) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::deleteNodeAsync (Client &connection, const NodeId &id, bool deleteReferences, CompletionToken &&token) |
|
noexcept |
Delete one or more nodes (client only).
connection | Instance of type Client |
request | Delete nodes request |
auto opcua::services::deleteNodesAsync | ( | Client & | connection, |
const DeleteNodesRequest & | request, | ||
CompletionToken && | token ) |
Delete one or more nodes (client only).
connection | Instance of type Client |
request | Delete nodes 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(DeleteNodesResponse&)
|
void
if token
is a callback function (object)std::future<DeleteNodesResponse>
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 213 of file nodemanagement.hpp.
Referenced by opcua::services::deleteNodeAsync().
|
noexcept |
Delete node.
connection | Instance of type Client (or Server) |
id | Node to delete |
deleteReferences | Delete references in target nodes that reference the node to delete |
Referenced by opcua::Node< Connection >::deleteNode().
auto opcua::services::deleteNodeAsync | ( | Client & | connection, |
const NodeId & | id, | ||
bool | deleteReferences, | ||
CompletionToken && | token ) |
Delete node.
connection | Instance of type Client (or Server) |
id | Node to delete |
deleteReferences | Delete references in target nodes that reference the node to delete |
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(StatusCode)
|
void
if token
is a callback function (object)std::future<StatusCode>
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 236 of file nodemanagement.hpp.
Referenced by opcua::Node< Connection >::deleteNodeAsync().