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

Detailed Description

Create and delete triggering links for a triggering item.

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

Functions

SetTriggeringResponse opcua::services::setTriggering (Client &connection, const SetTriggeringRequest &request) noexcept
 
template<typename CompletionToken >
auto opcua::services::setTriggeringAsync (Client &connection, const SetTriggeringRequest &request, CompletionToken &&token)
 

Function Documentation

◆ setTriggering()

SetTriggeringResponse opcua::services::setTriggering ( Client & connection,
const SetTriggeringRequest & request )
noexcept

Add and delete triggering links of monitored items.

The triggering item and the items to report shall belong to the same subscription.

Note
Supported since open62541 v1.2
Parameters
connectionInstance of type Client
requestSet triggering request

◆ setTriggeringAsync()

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

Add and delete triggering links of monitored items.

The triggering item and the items to report shall belong to the same subscription.

Note
Supported since open62541 v1.2
Parameters
connectionInstance of type Client
requestSet triggering 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_SetTriggeringResponse wrapper class.
Returns

Definition at line 588 of file monitoreditem.hpp.