open62541++ 0.13.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Functions
Collaboration diagram for Write service:

Detailed Description

This service is used to write attributes of nodes.

The following node attributes cannot be changed once a node has been created:

The following attributes cannot be written from the server, as they are specific to the different users and set by the access control callback:

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

Functions

WriteResponse opcua::services::write (Client &connection, const WriteRequest &request) noexcept
 
WriteResponse opcua::services::write (Client &connection, Span< const WriteValue > nodesToWrite) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeAsync (Client &connection, const WriteRequest &request, CompletionToken &&token=DefaultCompletionToken())
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeAsync (Client &connection, Span< const WriteValue > nodesToWrite, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeAttribute (T &connection, const NodeId &id, AttributeId attributeId, const DataValue &value) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeAttributeAsync (Client &connection, const NodeId &id, AttributeId attributeId, const DataValue &value, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeDataValue (T &connection, const NodeId &id, const DataValue &value) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeDataValueAsync (Client &connection, const NodeId &id, const DataValue &value, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeBrowseName (T &connection, const NodeId &id, const QualifiedName &browseName) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeBrowseNameAsync (Client &connection, const NodeId &id, const QualifiedName &browseName, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeDisplayName (T &connection, const NodeId &id, const LocalizedText &displayName) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeDisplayNameAsync (Client &connection, const NodeId &id, const LocalizedText &displayName, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeDescription (T &connection, const NodeId &id, const LocalizedText &description) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeDescriptionAsync (Client &connection, const NodeId &id, const LocalizedText &description, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeWriteMask (T &connection, const NodeId &id, Bitmask< WriteMask > writeMask) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeWriteMaskAsync (Client &connection, const NodeId &id, Bitmask< WriteMask > writeMask, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeUserWriteMask (T &connection, const NodeId &id, Bitmask< WriteMask > userWriteMask) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeUserWriteMaskAsync (Client &connection, const NodeId &id, Bitmask< WriteMask > userWriteMask, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeIsAbstract (T &connection, const NodeId &id, bool isAbstract) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeIsAbstractAsync (Client &connection, const NodeId &id, bool isAbstract, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeSymmetric (T &connection, const NodeId &id, bool symmetric) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeSymmetricAsync (Client &connection, const NodeId &id, bool symmetric, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeInverseName (T &connection, const NodeId &id, const LocalizedText &inverseName) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeInverseNameAsync (Client &connection, const NodeId &id, const LocalizedText &inverseName, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeContainsNoLoops (T &connection, const NodeId &id, const bool &containsNoLoops) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeContainsNoLoopsAsync (Client &connection, const NodeId &id, const bool &containsNoLoops, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeEventNotifier (T &connection, const NodeId &id, Bitmask< EventNotifier > eventNotifier) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeEventNotifierAsync (Client &connection, const NodeId &id, Bitmask< EventNotifier > eventNotifier, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeValue (T &connection, const NodeId &id, const Variant &value) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeValueAsync (Client &connection, const NodeId &id, const Variant &value, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeDataType (T &connection, const NodeId &id, const NodeId &dataType) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeDataTypeAsync (Client &connection, const NodeId &id, const NodeId &dataType, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeValueRank (T &connection, const NodeId &id, ValueRank valueRank) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeValueRankAsync (Client &connection, const NodeId &id, ValueRank valueRank, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeArrayDimensions (T &connection, const NodeId &id, Span< const uint32_t > arrayDimensions) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeArrayDimensionsAsync (Client &connection, const NodeId &id, Span< const uint32_t > arrayDimensions, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeAccessLevel (T &connection, const NodeId &id, Bitmask< AccessLevel > accessLevel) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeAccessLevelAsync (Client &connection, const NodeId &id, Bitmask< AccessLevel > accessLevel, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeUserAccessLevel (T &connection, const NodeId &id, Bitmask< AccessLevel > userAccessLevel) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeUserAccessLevelAsync (Client &connection, const NodeId &id, Bitmask< AccessLevel > userAccessLevel, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeMinimumSamplingInterval (T &connection, const NodeId &id, double minimumSamplingInterval) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeMinimumSamplingIntervalAsync (Client &connection, const NodeId &id, double minimumSamplingInterval, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeHistorizing (T &connection, const NodeId &id, bool historizing) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeHistorizingAsync (Client &connection, const NodeId &id, bool historizing, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeExecutable (T &connection, const NodeId &id, bool executable) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeExecutableAsync (Client &connection, const NodeId &id, bool executable, CompletionToken &&token=DefaultCompletionToken())
 
template<typename T >
Result< void > opcua::services::writeUserExecutable (T &connection, const NodeId &id, bool userExecutable) noexcept
 
template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeUserExecutableAsync (Client &connection, const NodeId &id, bool userExecutable, CompletionToken &&token=DefaultCompletionToken())
 

Function Documentation

◆ write() [1/2]

WriteResponse opcua::services::write ( Client & connection,
const WriteRequest & request )
noexcept

Write one or more attributes of one or more nodes (client only).

Parameters
connectionInstance of type Client
requestWrite request

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

◆ write() [2/2]

WriteResponse opcua::services::write ( Client & connection,
Span< const WriteValue > nodesToWrite )
inlinenoexcept

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 167 of file Attribute.h.

◆ writeAsync() [1/2]

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeAsync ( Client & connection,
const WriteRequest & request,
CompletionToken && token = DefaultCompletionToken() )

Asynchronously write one or more attributes of one or more nodes (client only).

Parameters
connectionInstance of type Client
requestWrite request
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
constexpr UseDetachedToken useDetached
Detached completion token object.
Definition async.h:125
constexpr UseDeferredToken useDeferred
Deferred completion token object.
Definition async.h:90
constexpr UseFutureToken useFuture
Future completion token object.
Definition async.h:60
`void(Result<WriteResponse>&)`

Definition at line 177 of file Attribute.h.

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

◆ writeAsync() [2/2]

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeAsync ( Client & connection,
Span< const WriteValue > nodesToWrite,
CompletionToken && token = DefaultCompletionToken() )
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 191 of file Attribute.h.

◆ writeAttribute()

template<typename T >
Result< void > opcua::services::writeAttribute ( T & connection,
const NodeId & id,
AttributeId attributeId,
const DataValue & value )
noexcept

Write node attribute.

Parameters
connectionInstance of type Client
idNode to write
attributeIdAttribute to write
valueValue to write

Referenced by opcua::services::detail::writeAttributeImpl(), and opcua::services::writeDataValue().

◆ writeAttributeAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeAttributeAsync ( Client & connection,
const NodeId & id,
AttributeId attributeId,
const DataValue & value,
CompletionToken && token = DefaultCompletionToken() )

Asynchronously write node attribute.

Parameters
connectionInstance of type Client
idNode to write
attributeIdAttribute to write
valueValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 219 of file Attribute.h.

Referenced by opcua::services::detail::writeAttributeAsyncImpl(), and opcua::services::writeDataValueAsync().

◆ writeDataValue()

template<typename T >
Result< void > opcua::services::writeDataValue ( T & connection,
const NodeId & id,
const DataValue & value )
inlinenoexcept

Write the AttributeId::Value attribute of a node as a DataValue object.

Parameters
connectionInstance of type Client (or Server)
idNode to write
valueValue to write

Definition at line 325 of file Attribute.h.

Referenced by opcua::Node< Connection >::writeDataValue().

◆ writeDataValueAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeDataValueAsync ( Client & connection,
const NodeId & id,
const DataValue & value,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::Value attribute of a node as a DataValue object.

Parameters
connectionInstance of type Client (or Server)
idNode to write
valueValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 338 of file Attribute.h.

◆ writeBrowseName()

template<typename T >
Result< void > opcua::services::writeBrowseName ( T & connection,
const NodeId & id,
const QualifiedName & browseName )
inlinenoexcept

Write the AttributeId::BrowseName attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
browseNameValue to write

Definition at line 97 of file Attribute_highlevel.h.

◆ writeBrowseNameAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeBrowseNameAsync ( Client & connection,
const NodeId & id,
const QualifiedName & browseName,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::BrowseName attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
browseNameValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 110 of file Attribute_highlevel.h.

◆ writeDisplayName()

template<typename T >
Result< void > opcua::services::writeDisplayName ( T & connection,
const NodeId & id,
const LocalizedText & displayName )
inlinenoexcept

Write the AttributeId::DisplayName attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
displayNameValue to write

Definition at line 155 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeDisplayName().

◆ writeDisplayNameAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeDisplayNameAsync ( Client & connection,
const NodeId & id,
const LocalizedText & displayName,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::DisplayName attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
displayNameValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 168 of file Attribute_highlevel.h.

◆ writeDescription()

template<typename T >
Result< void > opcua::services::writeDescription ( T & connection,
const NodeId & id,
const LocalizedText & description )
inlinenoexcept

Write the AttributeId::Description attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
descriptionValue to write

Definition at line 213 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeDescription().

◆ writeDescriptionAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeDescriptionAsync ( Client & connection,
const NodeId & id,
const LocalizedText & description,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::Description attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
descriptionValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 226 of file Attribute_highlevel.h.

◆ writeWriteMask()

template<typename T >
Result< void > opcua::services::writeWriteMask ( T & connection,
const NodeId & id,
Bitmask< WriteMask > writeMask )
inlinenoexcept

Write the AttributeId::WriteMask attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
writeMaskValue to write

Definition at line 271 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeWriteMask().

◆ writeWriteMaskAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeWriteMaskAsync ( Client & connection,
const NodeId & id,
Bitmask< WriteMask > writeMask,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::WriteMask attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
writeMaskValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 284 of file Attribute_highlevel.h.

◆ writeUserWriteMask()

template<typename T >
Result< void > opcua::services::writeUserWriteMask ( T & connection,
const NodeId & id,
Bitmask< WriteMask > userWriteMask )
inlinenoexcept

Write the AttributeId::UserWriteMask attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
userWriteMaskValue to write

Definition at line 329 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeUserWriteMask().

◆ writeUserWriteMaskAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeUserWriteMaskAsync ( Client & connection,
const NodeId & id,
Bitmask< WriteMask > userWriteMask,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::UserWriteMask attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
userWriteMaskValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 342 of file Attribute_highlevel.h.

◆ writeIsAbstract()

template<typename T >
Result< void > opcua::services::writeIsAbstract ( T & connection,
const NodeId & id,
bool isAbstract )
inlinenoexcept

Write the AttributeId::IsAbstract attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
isAbstractValue to write

Definition at line 387 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeIsAbstract().

◆ writeIsAbstractAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeIsAbstractAsync ( Client & connection,
const NodeId & id,
bool isAbstract,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::IsAbstract attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
isAbstractValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 398 of file Attribute_highlevel.h.

◆ writeSymmetric()

template<typename T >
Result< void > opcua::services::writeSymmetric ( T & connection,
const NodeId & id,
bool symmetric )
inlinenoexcept

Write the AttributeId::Symmetric attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
symmetricValue to write

Definition at line 443 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeSymmetric().

◆ writeSymmetricAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeSymmetricAsync ( Client & connection,
const NodeId & id,
bool symmetric,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::Symmetric attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
symmetricValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 454 of file Attribute_highlevel.h.

◆ writeInverseName()

template<typename T >
Result< void > opcua::services::writeInverseName ( T & connection,
const NodeId & id,
const LocalizedText & inverseName )
inlinenoexcept

Write the AttributeId::InverseName attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
inverseNameValue to write

Definition at line 499 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeInverseName().

◆ writeInverseNameAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeInverseNameAsync ( Client & connection,
const NodeId & id,
const LocalizedText & inverseName,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::InverseName attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
inverseNameValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 512 of file Attribute_highlevel.h.

◆ writeContainsNoLoops()

template<typename T >
Result< void > opcua::services::writeContainsNoLoops ( T & connection,
const NodeId & id,
const bool & containsNoLoops )
inlinenoexcept

Write the AttributeId::ContainsNoLoops attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
containsNoLoopsValue to write

Definition at line 557 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeContainsNoLoops().

◆ writeContainsNoLoopsAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeContainsNoLoopsAsync ( Client & connection,
const NodeId & id,
const bool & containsNoLoops,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::ContainsNoLoops attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
containsNoLoopsValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 572 of file Attribute_highlevel.h.

◆ writeEventNotifier()

template<typename T >
Result< void > opcua::services::writeEventNotifier ( T & connection,
const NodeId & id,
Bitmask< EventNotifier > eventNotifier )
inlinenoexcept

Write the AttributeId::EventNotifier attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
eventNotifierValue to write

Definition at line 617 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeEventNotifier().

◆ writeEventNotifierAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeEventNotifierAsync ( Client & connection,
const NodeId & id,
Bitmask< EventNotifier > eventNotifier,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::EventNotifier attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
eventNotifierValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 630 of file Attribute_highlevel.h.

◆ writeValue()

template<typename T >
Result< void > opcua::services::writeValue ( T & connection,
const NodeId & id,
const Variant & value )
inlinenoexcept

Write the AttributeId::Value attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
valueValue to write

Definition at line 675 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeValue().

◆ writeValueAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeValueAsync ( Client & connection,
const NodeId & id,
const Variant & value,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::Value attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
valueValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 686 of file Attribute_highlevel.h.

◆ writeDataType()

template<typename T >
Result< void > opcua::services::writeDataType ( T & connection,
const NodeId & id,
const NodeId & dataType )
inlinenoexcept

Write the AttributeId::DataType attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
dataTypeValue to write

Definition at line 731 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeDataType().

◆ writeDataTypeAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeDataTypeAsync ( Client & connection,
const NodeId & id,
const NodeId & dataType,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::DataType attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
dataTypeValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 744 of file Attribute_highlevel.h.

◆ writeValueRank()

template<typename T >
Result< void > opcua::services::writeValueRank ( T & connection,
const NodeId & id,
ValueRank valueRank )
inlinenoexcept

Write the AttributeId::ValueRank attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
valueRankValue to write

Definition at line 789 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeValueRank().

◆ writeValueRankAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeValueRankAsync ( Client & connection,
const NodeId & id,
ValueRank valueRank,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::ValueRank attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
valueRankValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 800 of file Attribute_highlevel.h.

◆ writeArrayDimensions()

template<typename T >
Result< void > opcua::services::writeArrayDimensions ( T & connection,
const NodeId & id,
Span< const uint32_t > arrayDimensions )
inlinenoexcept

Write the AttributeId::ArrayDimensions attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
arrayDimensionsValue to write

Definition at line 845 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeArrayDimensions().

◆ writeArrayDimensionsAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeArrayDimensionsAsync ( Client & connection,
const NodeId & id,
Span< const uint32_t > arrayDimensions,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::ArrayDimensions attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
arrayDimensionsValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 860 of file Attribute_highlevel.h.

◆ writeAccessLevel()

template<typename T >
Result< void > opcua::services::writeAccessLevel ( T & connection,
const NodeId & id,
Bitmask< AccessLevel > accessLevel )
inlinenoexcept

Write the AttributeId::AccessLevel attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
accessLevelValue to write

Definition at line 905 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeAccessLevel().

◆ writeAccessLevelAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeAccessLevelAsync ( Client & connection,
const NodeId & id,
Bitmask< AccessLevel > accessLevel,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::AccessLevel attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
accessLevelValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 918 of file Attribute_highlevel.h.

◆ writeUserAccessLevel()

template<typename T >
Result< void > opcua::services::writeUserAccessLevel ( T & connection,
const NodeId & id,
Bitmask< AccessLevel > userAccessLevel )
inlinenoexcept

Write the AttributeId::UserAccessLevel attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
userAccessLevelValue to write

Definition at line 963 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeUserAccessLevel().

◆ writeUserAccessLevelAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeUserAccessLevelAsync ( Client & connection,
const NodeId & id,
Bitmask< AccessLevel > userAccessLevel,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::UserAccessLevel attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
userAccessLevelValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 978 of file Attribute_highlevel.h.

◆ writeMinimumSamplingInterval()

template<typename T >
Result< void > opcua::services::writeMinimumSamplingInterval ( T & connection,
const NodeId & id,
double minimumSamplingInterval )
inlinenoexcept

Write the AttributeId::MinimumSamplingInterval attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
minimumSamplingIntervalValue to write

Definition at line 1023 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeMinimumSamplingInterval().

◆ writeMinimumSamplingIntervalAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeMinimumSamplingIntervalAsync ( Client & connection,
const NodeId & id,
double minimumSamplingInterval,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::MinimumSamplingInterval attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
minimumSamplingIntervalValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 1038 of file Attribute_highlevel.h.

◆ writeHistorizing()

template<typename T >
Result< void > opcua::services::writeHistorizing ( T & connection,
const NodeId & id,
bool historizing )
inlinenoexcept

Write the AttributeId::Historizing attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
historizingValue to write

Definition at line 1083 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeHistorizing().

◆ writeHistorizingAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeHistorizingAsync ( Client & connection,
const NodeId & id,
bool historizing,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::Historizing attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
historizingValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 1094 of file Attribute_highlevel.h.

◆ writeExecutable()

template<typename T >
Result< void > opcua::services::writeExecutable ( T & connection,
const NodeId & id,
bool executable )
inlinenoexcept

Write the AttributeId::Executable attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
executableValue to write

Definition at line 1139 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeExecutable().

◆ writeExecutableAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeExecutableAsync ( Client & connection,
const NodeId & id,
bool executable,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::Executable attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
executableValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 1150 of file Attribute_highlevel.h.

◆ writeUserExecutable()

template<typename T >
Result< void > opcua::services::writeUserExecutable ( T & connection,
const NodeId & id,
bool userExecutable )
inlinenoexcept

Write the AttributeId::UserExecutable attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
userExecutableValue to write

Definition at line 1195 of file Attribute_highlevel.h.

Referenced by opcua::Node< Connection >::writeUserExecutable().

◆ writeUserExecutableAsync()

template<typename CompletionToken = DefaultCompletionToken>
auto opcua::services::writeUserExecutableAsync ( Client & connection,
const NodeId & id,
bool userExecutable,
CompletionToken && token = DefaultCompletionToken() )
inline

Asynchronously write the AttributeId::UserExecutable attribute of a node.

Parameters
connectionInstance of type Client (or Server)
idNode to write
userExecutableValue to write
token
The @ref async_model "completion token" that will be used to produce a completion handler, which will be called when the operation completes.
Potential completion tokens include @ref useFuture (default), @ref useDeferred, @ref useDetached, or a function (object) with the correct completion signature.
The function signature of the completion handler must be:
`void(Result<void>)`

Definition at line 1208 of file Attribute_highlevel.h.