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

Detailed Description

Delete references from nodes.

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

Functions

DeleteReferencesResponse opcua::services::deleteReferences (Client &connection, const DeleteReferencesRequest &request) noexcept
 
template<typename CompletionToken >
auto opcua::services::deleteReferencesAsync (Client &connection, const DeleteReferencesRequest &request, CompletionToken &&token)
 
template<typename T >
StatusCode opcua::services::deleteReference (T &connection, const NodeId &sourceId, const NodeId &targetId, const NodeId &referenceType, bool isForward, bool deleteBidirectional) noexcept
 
template<typename CompletionToken >
auto opcua::services::deleteReferenceAsync (Client &connection, const NodeId &sourceId, const NodeId &targetId, const NodeId &referenceType, bool isForward, bool deleteBidirectional, CompletionToken &&token)
 

Function Documentation

◆ deleteReferences()

DeleteReferencesResponse opcua::services::deleteReferences ( Client & connection,
const DeleteReferencesRequest & request )
noexcept

Delete one or more references (client only).

Parameters
connectionInstance of type Client
requestDelete references request

Referenced by opcua::services::detail::createDeleteNodesItem(), and opcua::services::deleteNodeAsync().

◆ deleteReferencesAsync()

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

Delete one or more references (client only).

Parameters
connectionInstance of type Client
requestDelete references 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_DeleteReferencesResponse wrapper class.
Returns

Definition at line 273 of file nodemanagement.hpp.

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

◆ deleteReference()

template<typename T >
StatusCode opcua::services::deleteReference ( T & connection,
const NodeId & sourceId,
const NodeId & targetId,
const NodeId & referenceType,
bool isForward,
bool deleteBidirectional )
noexcept

Delete reference.

Parameters
connectionInstance of type Client (or Server)
sourceIdNode that contains the reference to delete
targetIdTarget node of the reference to delete
referenceTypeNodeId of the reference type that defines the reference to delete
isForwardDelete the forward reference if true, delete the inverse reference if false
deleteBidirectionalDelete the specified and opposite reference from the target node

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

◆ deleteReferenceAsync()

template<typename CompletionToken >
auto opcua::services::deleteReferenceAsync ( Client & connection,
const NodeId & sourceId,
const NodeId & targetId,
const NodeId & referenceType,
bool isForward,
bool deleteBidirectional,
CompletionToken && token )

Delete reference.

Parameters
connectionInstance of type Client (or Server)
sourceIdNode that contains the reference to delete
targetIdTarget node of the reference to delete
referenceTypeNodeId of the reference type that defines the reference to delete
isForwardDelete the forward reference if true, delete the inverse reference if false
deleteBidirectionalDelete the specified and opposite reference from the target node
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 306 of file nodemanagement.hpp.

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