open62541pp 0.17.0
C++ wrapper of open62541
|
Set the monitoring mode of a monitored items.
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, IntegerId subscriptionId, IntegerId monitoredItemId, MonitoringMode monitoringMode) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::setMonitoringModeAsync (Client &connection, IntegerId subscriptionId, IntegerId monitoredItemId, MonitoringMode monitoringMode, CompletionToken &&token) |
|
noexcept |
Set the monitoring mode of monitored items.
connection | Instance of type Client |
request | Set monitoring mode request |
Referenced by opcua::MonitoredItem< Connection >::setMonitoringMode(), and opcua::services::setMonitoringMode().
auto opcua::services::setMonitoringModeAsync | ( | Client & | connection, |
const SetMonitoringModeRequest & | request, | ||
CompletionToken && | token ) |
Set the monitoring mode of monitored items.
connection | Instance of type Client |
request | Set monitoring mode request |
token | The 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(SetMonitoringModeResponse&)
UA_SetMonitoringModeResponse wrapper class. Definition types.hpp:2207 |
void
if token
is a callback function (object)std::future<SetMonitoringModeResponse>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken Definition at line 505 of file monitoreditem.hpp.
Referenced by opcua::services::setMonitoringModeAsync().
|
inlinenoexcept |
Set the monitoring mode of a monitored item.
connection | Instance of type Client |
subscriptionId | Identifier of the subscription returned by createSubscription |
monitoredItemId | Identifier of the monitored item |
monitoringMode | Monitoring mode |
Definition at line 521 of file monitoreditem.hpp.
auto opcua::services::setMonitoringModeAsync | ( | Client & | connection, |
IntegerId | subscriptionId, | ||
IntegerId | monitoredItemId, | ||
MonitoringMode | monitoringMode, | ||
CompletionToken && | token ) |
Set the monitoring mode of a monitored item.
connection | Instance of type Client |
subscriptionId | Identifier of the subscription returned by createSubscription |
monitoredItemId | Identifier of the monitored item |
monitoringMode | Monitoring mode |
token | The 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)
|
void
if token
is a callback function (object)std::future<StatusCode>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken Definition at line 541 of file monitoreditem.hpp.