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

Detailed Description

Set the monitoring mode of a monitored items.

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

Functions

SetMonitoringModeResponse opcua::services::setMonitoringMode (Client &connection, const SetMonitoringModeRequest &request) noexcept
 
template<typename CompletionToken >
auto opcua::services::setMonitoringModeAsync (Client &connection, const SetMonitoringModeRequest &request, CompletionToken &&token)
 
StatusCode opcua::services::setMonitoringMode (Client &connection, uint32_t subscriptionId, uint32_t monitoredItemId, MonitoringMode monitoringMode) noexcept
 
template<typename CompletionToken >
auto opcua::services::setMonitoringModeAsync (Client &connection, uint32_t subscriptionId, uint32_t monitoredItemId, MonitoringMode monitoringMode, CompletionToken &&token)
 

Function Documentation

◆ setMonitoringMode() [1/2]

SetMonitoringModeResponse opcua::services::setMonitoringMode ( Client & connection,
const SetMonitoringModeRequest & request )
noexcept

Set the monitoring mode of monitored items.

Parameters
connectionInstance of type Client
requestSet monitoring mode request

Referenced by opcua::MonitoredItem< Connection >::setMonitoringMode(), and opcua::services::setMonitoringMode().

◆ setMonitoringModeAsync() [1/2]

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

Set the monitoring mode of monitored items.

Parameters
connectionInstance of type Client
requestSet monitoring mode 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_SetMonitoringModeResponse wrapper class.
Returns

Definition at line 506 of file monitoreditem.hpp.

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

◆ setMonitoringMode() [2/2]

StatusCode opcua::services::setMonitoringMode ( Client & connection,
uint32_t subscriptionId,
uint32_t monitoredItemId,
MonitoringMode monitoringMode )
inlinenoexcept

Set the monitoring mode of a monitored item.

Parameters
connectionInstance of type Client
subscriptionIdIdentifier of the subscription returned by createSubscription
monitoredItemIdIdentifier of the monitored item
monitoringModeMonitoring mode

Definition at line 522 of file monitoreditem.hpp.

◆ setMonitoringModeAsync() [2/2]

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

Set the monitoring mode of a monitored item.

Parameters
connectionInstance of type Client
subscriptionIdIdentifier of the subscription returned by createSubscription
monitoredItemIdIdentifier of the monitored item
monitoringModeMonitoring mode
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 542 of file monitoreditem.hpp.