open62541pp 0.16.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, 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) |
|
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_composed.hpp:2089 |
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 506 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 522 of file monitoreditem.hpp.
auto opcua::services::setMonitoringModeAsync | ( | Client & | connection, |
uint32_t | subscriptionId, | ||
uint32_t | 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 542 of file monitoreditem.hpp.