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

Detailed Description

Delete a monitored items from subscriptions.

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

Functions

DeleteMonitoredItemsResponse opcua::services::deleteMonitoredItems (Client &connection, const DeleteMonitoredItemsRequest &request) noexcept
 
template<typename CompletionToken >
auto opcua::services::deleteMonitoredItemsAsync (Client &connection, const DeleteMonitoredItemsRequest &request, CompletionToken &&token)
 
template<typename T >
StatusCode opcua::services::deleteMonitoredItem (T &connection, uint32_t subscriptionId, uint32_t monitoredItemId)
 
template<typename CompletionToken >
auto opcua::services::deleteMonitoredItemAsync (Client &connection, uint32_t subscriptionId, uint32_t monitoredItemId, CompletionToken &&token)
 

Function Documentation

◆ deleteMonitoredItems()

DeleteMonitoredItemsResponse opcua::services::deleteMonitoredItems ( Client & connection,
const DeleteMonitoredItemsRequest & request )
noexcept

Delete monitored items from a subscription.

Parameters
connectionInstance of type Client
requestDelete monitored items request

◆ deleteMonitoredItemsAsync()

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

Delete monitored items from a subscription.

Parameters
connectionInstance of type Client
requestDelete monitored items 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_DeleteMonitoredItemsResponse wrapper class.
Returns

Definition at line 621 of file monitoreditem.hpp.

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

◆ deleteMonitoredItem()

template<typename T >
StatusCode opcua::services::deleteMonitoredItem ( T & connection,
uint32_t subscriptionId,
uint32_t monitoredItemId )

Delete a monitored item from a subscription.

Parameters
connectionInstance of type Server or Client
subscriptionIdIdentifier of the subscription returned by createSubscription. Use 0U for a local server-side monitored item.
monitoredItemIdIdentifier of the monitored item

Referenced by opcua::MonitoredItem< Connection >::deleteMonitoredItem().

◆ deleteMonitoredItemAsync()

template<typename CompletionToken >
auto opcua::services::deleteMonitoredItemAsync ( Client & connection,
uint32_t subscriptionId,
uint32_t monitoredItemId,
CompletionToken && token )

Delete a monitored item from a subscription.

Parameters
connectionInstance of type Server or Client
subscriptionIdIdentifier of the subscription returned by createSubscription. Use 0U for a local server-side monitored item.
monitoredItemIdIdentifier of the monitored item
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 654 of file monitoreditem.hpp.