open62541pp 0.16.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
DeleteNodes service
Collaboration diagram for DeleteNodes service:

Detailed Description

Delete nodes from the address space.

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

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)
 

Function Documentation

◆ deleteNodes()

DeleteNodesResponse opcua::services::deleteNodes ( Client & connection,
const DeleteNodesRequest & request )
noexcept

Delete one or more nodes (client only).

Parameters
connectionInstance of type Client
requestDelete nodes request

◆ deleteNodesAsync()

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

Delete one or more nodes (client only).

Parameters
connectionInstance of type Client
requestDelete nodes request
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_DeleteNodesResponse wrapper class.
Returns

Definition at line 213 of file nodemanagement.hpp.

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

◆ deleteNode()

template<typename T >
StatusCode opcua::services::deleteNode ( T & connection,
const NodeId & id,
bool deleteReferences )
noexcept

Delete node.

Parameters
connectionInstance of type Client (or Server)
idNode to delete
deleteReferencesDelete references in target nodes that reference the node to delete

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

◆ deleteNodeAsync()

template<typename CompletionToken >
auto opcua::services::deleteNodeAsync ( Client & connection,
const NodeId & id,
bool deleteReferences,
CompletionToken && token )

Delete node.

Parameters
connectionInstance of type Client (or Server)
idNode to delete
deleteReferencesDelete references in target nodes that reference the node to delete
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:
void(StatusCode)
UA_StatusCode wrapper class.
Definition types.hpp:44
Returns

Definition at line 236 of file nodemanagement.hpp.

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