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

Detailed Description

Modify a monitored items of a subscription.

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

Functions

ModifyMonitoredItemsResponse opcua::services::modifyMonitoredItems (Client &connection, const ModifyMonitoredItemsRequest &request) noexcept
 
Result< void > opcua::services::modifyMonitoredItem (Client &connection, uint32_t subscriptionId, uint32_t monitoredItemId, MonitoringParametersEx &parameters) noexcept
 

Function Documentation

◆ modifyMonitoredItems()

ModifyMonitoredItemsResponse opcua::services::modifyMonitoredItems ( Client & connection,
const ModifyMonitoredItemsRequest & request )
noexcept

Modify monitored items of a subscription.

Parameters
connectionInstance of type Client
requestModify monitored items request

◆ modifyMonitoredItem()

Result< void > opcua::services::modifyMonitoredItem ( Client & connection,
uint32_t subscriptionId,
uint32_t monitoredItemId,
MonitoringParametersEx & parameters )
noexcept

Modify a monitored item of a subscription.

This is an extended version of UA_MonitoringParameters with the timestamps parameter. Parameters are passed by reference because illegal parameters can be revised by the server. The updated parameters reflect the actual values that the server will use.

See also
https://reference.opcfoundation.org/Core/Part4/v105/docs/7.21
Parameters
connectionInstance of type Client
subscriptionIdIdentifier of the subscription returned by createSubscription
monitoredItemIdIdentifier of the monitored item
parametersMonitoring parameters, may be revised by server

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