open62541pp 0.16.0
C++ wrapper of open62541
|
This service is used to read attributes of nodes.
Functions | |
ReadResponse | opcua::services::read (Client &connection, const ReadRequest &request) noexcept |
ReadResponse | opcua::services::read (Client &connection, Span< const ReadValueId > nodesToRead, TimestampsToReturn timestamps) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readAsync (Client &connection, const ReadRequest &request, CompletionToken &&token) |
template<typename CompletionToken > | |
auto | opcua::services::readAsync (Client &connection, Span< const ReadValueId > nodesToRead, TimestampsToReturn timestamps, CompletionToken &&token) |
template<typename T > | |
Result< DataValue > | opcua::services::readAttribute (T &connection, const NodeId &id, AttributeId attributeId, TimestampsToReturn timestamps) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readAttributeAsync (Client &connection, const NodeId &id, AttributeId attributeId, TimestampsToReturn timestamps, CompletionToken &&token) |
template<typename T > | |
Result< DataValue > | opcua::services::readDataValue (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readDataValueAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< NodeId > | opcua::services::readNodeId (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readNodeIdAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< NodeClass > | opcua::services::readNodeClass (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readNodeClassAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< QualifiedName > | opcua::services::readBrowseName (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readBrowseNameAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< LocalizedText > | opcua::services::readDisplayName (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readDisplayNameAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< LocalizedText > | opcua::services::readDescription (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readDescriptionAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< Bitmask< WriteMask > > | opcua::services::readWriteMask (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readWriteMaskAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< Bitmask< WriteMask > > | opcua::services::readUserWriteMask (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readUserWriteMaskAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< bool > | opcua::services::readIsAbstract (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readIsAbstractAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< bool > | opcua::services::readSymmetric (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readSymmetricAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< LocalizedText > | opcua::services::readInverseName (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readInverseNameAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< bool > | opcua::services::readContainsNoLoops (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readContainsNoLoopsAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< Bitmask< EventNotifier > > | opcua::services::readEventNotifier (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readEventNotifierAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< Variant > | opcua::services::readValue (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readValueAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< NodeId > | opcua::services::readDataType (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readDataTypeAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< ValueRank > | opcua::services::readValueRank (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readValueRankAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< std::vector< uint32_t > > | opcua::services::readArrayDimensions (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readArrayDimensionsAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< Bitmask< AccessLevel > > | opcua::services::readAccessLevel (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readAccessLevelAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< Bitmask< AccessLevel > > | opcua::services::readUserAccessLevel (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readUserAccessLevelAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< double > | opcua::services::readMinimumSamplingInterval (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readMinimumSamplingIntervalAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< bool > | opcua::services::readHistorizing (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readHistorizingAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< bool > | opcua::services::readExecutable (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readExecutableAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< bool > | opcua::services::readUserExecutable (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readUserExecutableAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
template<typename T > | |
Result< Variant > | opcua::services::readDataTypeDefinition (T &connection, const NodeId &id) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::readDataTypeDefinitionAsync (Client &connection, const NodeId &id, CompletionToken &&token) |
|
noexcept |
Read one or more attributes of one or more nodes (client only).
connection | Instance of type Client |
request | Read request |
Referenced by opcua::services::read().
|
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 49 of file attribute.hpp.
auto opcua::services::readAsync | ( | Client & | connection, |
const ReadRequest & | request, | ||
CompletionToken && | token ) |
Read one or more attributes of one or more nodes (client only).
connection | Instance of type Client |
request | Read 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(ReadResponse&)
|
void
if token
is a callback function (object)std::future<ReadResponse>
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 61 of file attribute.hpp.
Referenced by opcua::services::readAsync(), and opcua::services::readAttributeAsync().
auto opcua::services::readAsync | ( | Client & | connection, |
Span< const ReadValueId > | nodesToRead, | ||
TimestampsToReturn | timestamps, | ||
CompletionToken && | token ) |
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 69 of file attribute.hpp.
|
noexcept |
Read node attribute.
connection | Instance of type Client (or Server) |
id | Node to read |
attributeId | Attribute to read |
timestamps | Timestamps to return, e.g. TimestampsToReturn::Neither |
Referenced by opcua::services::detail::readAttributeImpl(), and opcua::services::readDataValue().
auto opcua::services::readAttributeAsync | ( | Client & | connection, |
const NodeId & | id, | ||
AttributeId | attributeId, | ||
TimestampsToReturn | timestamps, | ||
CompletionToken && | token ) |
Read node attribute.
connection | Instance of type Client (or Server) |
id | Node to read |
attributeId | Attribute to read |
timestamps | Timestamps to return, e.g. TimestampsToReturn::Neither |
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(Result<DataValue>&)
The template class Result encapsulates a StatusCode and optionally a value. Definition result.hpp:53 |
void
if token
is a callback function (object)std::future<Result<DataValue>>
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 100 of file attribute.hpp.
Referenced by opcua::services::detail::readAttributeAsyncImpl(), and opcua::services::readDataValueAsync().
|
noexcept |
Read the AttributeId::Value
attribute of a node as a DataValue object.
Definition at line 267 of file attribute.hpp.
Referenced by opcua::Node< Connection >::readDataValue().
auto opcua::services::readDataValueAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::Value
attribute of a node as a DataValue object.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<DataValue>&)
|
void
if token
is a callback function (object)std::future<Result<DataValue>>
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 278 of file attribute.hpp.
Referenced by opcua::Node< Connection >::readDataValueAsync().
|
noexcept |
Read the AttributeId::NodeId attribute of a node.
Definition at line 18 of file attribute_highlevel.hpp.
auto opcua::services::readNodeIdAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::NodeId attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<NodeId>&)
|
void
if token
is a callback function (object)std::future<Result<NodeId>>
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 29 of file attribute_highlevel.hpp.
|
noexcept |
Read the AttributeId::NodeClass attribute of a node.
Definition at line 42 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readNodeClass().
auto opcua::services::readNodeClassAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::NodeClass attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<NodeClass>)
|
void
if token
is a callback function (object)std::future<Result<NodeClass>>
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 53 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readNodeClassAsync().
|
noexcept |
Read the AttributeId::BrowseName attribute of a node.
Definition at line 66 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readBrowseName().
auto opcua::services::readBrowseNameAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::BrowseName attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<QualifiedName>&)
|
void
if token
is a callback function (object)std::future<Result<QualifiedName>>
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 77 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readBrowseNameAsync().
|
noexcept |
Read the AttributeId::DisplayName attribute of a node.
Definition at line 119 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readDisplayName().
auto opcua::services::readDisplayNameAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::DisplayName attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<LocalizedText>&)
|
void
if token
is a callback function (object)std::future<Result<LocalizedText>>
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 130 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readDisplayNameAsync().
|
noexcept |
Read the AttributeId::Description attribute of a node.
Definition at line 172 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readDescription().
auto opcua::services::readDescriptionAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::Description attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<LocalizedText>&)
|
void
if token
is a callback function (object)std::future<Result<LocalizedText>>
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 183 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readDescriptionAsync().
|
noexcept |
Read the AttributeId::WriteMask attribute of a node.
Definition at line 225 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readWriteMask().
auto opcua::services::readWriteMaskAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::WriteMask attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<Bitmask<WriteMask>>)
|
void
if token
is a callback function (object)std::future<Result<Bitmask<WriteMask>>>
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 236 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readWriteMaskAsync().
|
noexcept |
Read the AttributeId::UserWriteMask attribute of a node.
Definition at line 276 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readUserWriteMask().
auto opcua::services::readUserWriteMaskAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::UserWriteMask attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<Bitmask<WriteMask>>)
|
void
if token
is a callback function (object)std::future<Result<Bitmask<WriteMask>>>
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 287 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readUserWriteMaskAsync().
|
noexcept |
Read the AttributeId::IsAbstract attribute of a node.
Definition at line 329 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readIsAbstract().
auto opcua::services::readIsAbstractAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::IsAbstract attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<bool>)
|
void
if token
is a callback function (object)std::future<Result<bool>>
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 340 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readIsAbstractAsync().
|
noexcept |
Read the AttributeId::Symmetric attribute of a node.
Definition at line 380 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readSymmetric().
auto opcua::services::readSymmetricAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::Symmetric attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<bool>)
|
void
if token
is a callback function (object)std::future<Result<bool>>
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 391 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readSymmetricAsync().
|
noexcept |
Read the AttributeId::InverseName attribute of a node.
Definition at line 431 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readInverseName().
auto opcua::services::readInverseNameAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::InverseName attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<LocalizedText>&)
|
void
if token
is a callback function (object)std::future<Result<LocalizedText>>
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 442 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readInverseNameAsync().
|
noexcept |
Read the AttributeId::ContainsNoLoops attribute of a node.
Definition at line 484 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readContainsNoLoops().
auto opcua::services::readContainsNoLoopsAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::ContainsNoLoops attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<bool>&)
|
void
if token
is a callback function (object)std::future<Result<bool>>
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 495 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readContainsNoLoopsAsync().
|
noexcept |
Read the AttributeId::EventNotifier attribute of a node.
Definition at line 539 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readEventNotifier().
auto opcua::services::readEventNotifierAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::EventNotifier attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<Bitmask<EventNotifier>>)
|
void
if token
is a callback function (object)std::future<Result<Bitmask<EventNotifier>>>
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 550 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readEventNotifierAsync().
|
noexcept |
Read the AttributeId::Value attribute of a node.
Definition at line 595 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readValue().
auto opcua::services::readValueAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::Value attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<Variant>&)
|
void
if token
is a callback function (object)std::future<Result<Variant>>
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 606 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readValueAsync().
|
noexcept |
Read the AttributeId::DataType attribute of a node.
Definition at line 646 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readDataType().
auto opcua::services::readDataTypeAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::DataType attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<NodeId>&)
|
void
if token
is a callback function (object)std::future<Result<NodeId>>
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 657 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readDataTypeAsync().
|
noexcept |
Read the AttributeId::ValueRank attribute of a node.
Definition at line 697 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readValueRank().
auto opcua::services::readValueRankAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::ValueRank attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<ValueRank>)
|
void
if token
is a callback function (object)std::future<Result<ValueRank>>
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 708 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readValueRankAsync().
|
noexcept |
Read the AttributeId::ArrayDimensions attribute of a node.
Definition at line 748 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readArrayDimensions().
auto opcua::services::readArrayDimensionsAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::ArrayDimensions attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<std::vector<uint32_t>>&)
|
void
if token
is a callback function (object)std::future<Result<std::vector<uint32_t>>>
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 759 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readArrayDimensionsAsync().
|
noexcept |
Read the AttributeId::AccessLevel attribute of a node.
Definition at line 806 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readAccessLevel().
auto opcua::services::readAccessLevelAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::AccessLevel attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<Bitmask<AccessLevel>>)
|
void
if token
is a callback function (object)std::future<Result<Bitmask<AccessLevel>>>
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 817 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readAccessLevelAsync().
|
noexcept |
Read the AttributeId::UserAccessLevel attribute of a node.
Definition at line 859 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readUserAccessLevel().
auto opcua::services::readUserAccessLevelAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::UserAccessLevel attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<Bitmask<AccessLevel>>)
|
void
if token
is a callback function (object)std::future<Result<Bitmask<AccessLevel>>>
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 870 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readUserAccessLevelAsync().
|
noexcept |
Read the AttributeId::MinimumSamplingInterval attribute of a node.
Definition at line 917 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readMinimumSamplingInterval().
auto opcua::services::readMinimumSamplingIntervalAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::MinimumSamplingInterval attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<double>)
|
void
if token
is a callback function (object)std::future<Result<double>>
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 928 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readMinimumSamplingIntervalAsync().
|
noexcept |
Read the AttributeId::Historizing attribute of a node.
Definition at line 974 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readHistorizing().
auto opcua::services::readHistorizingAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::Historizing attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<bool>)
|
void
if token
is a callback function (object)std::future<Result<bool>>
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 985 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readHistorizingAsync().
|
noexcept |
Read the AttributeId::Executable attribute of a node.
Definition at line 1025 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readExecutable().
auto opcua::services::readExecutableAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::Executable attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<bool>)
|
void
if token
is a callback function (object)std::future<Result<bool>>
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 1036 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readExecutableAsync().
|
noexcept |
Read the AttributeId::UserExecutable attribute of a node.
Definition at line 1076 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readUserExecutable().
auto opcua::services::readUserExecutableAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::UserExecutable attribute of a node.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<bool>)
|
void
if token
is a callback function (object)std::future<Result<bool>>
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 1087 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readUserExecutableAsync().
|
noexcept |
Read the AttributeId::DataTypeDefinition attribute of a node.
The attribute value can be of type EnumDefinition or StructureDefinition.
Definition at line 1128 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readDataTypeDefinition().
auto opcua::services::readDataTypeDefinitionAsync | ( | Client & | connection, |
const NodeId & | id, | ||
CompletionToken && | token ) |
Read the AttributeId::DataTypeDefinition attribute of a node.
The attribute value can be of type EnumDefinition or StructureDefinition.
connection | Instance of type Client (or Server) |
id | Node to read |
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(Result<Variant>&)
|
void
if token
is a callback function (object)std::future<Result<Variant>>
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 1139 of file attribute_highlevel.hpp.
Referenced by opcua::Node< Connection >::readDataTypeDefinitionAsync().