open62541pp 0.16.0
C++ wrapper of open62541
|
Add references to nodes.
Functions | |
AddReferencesResponse | opcua::services::addReferences (Client &connection, const AddReferencesRequest &request) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::addReferencesAsync (Client &connection, const AddReferencesRequest &request, CompletionToken &&token) |
template<typename T > | |
StatusCode | opcua::services::addReference (T &connection, const NodeId &sourceId, const NodeId &targetId, const NodeId &referenceType, bool forward) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::addReferenceAsync (Client &connection, const NodeId &sourceId, const NodeId &targetId, const NodeId &referenceType, bool forward, CompletionToken &&token) |
template<typename T > | |
StatusCode | opcua::services::addModellingRule (T &connection, const NodeId &id, ModellingRule rule) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::addModellingRuleAsync (Client &connection, const NodeId &id, ModellingRule rule, CompletionToken &&token) |
|
noexcept |
Add one or more references (client only).
connection | Instance of type Client |
request | Add references request |
auto opcua::services::addReferencesAsync | ( | Client & | connection, |
const AddReferencesRequest & | request, | ||
CompletionToken && | token ) |
Add one or more references (client only).
connection | Instance of type Client |
request | Add references 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(AddReferencesResponse&)
UA_AddReferencesResponse wrapper class. Definition types_composed.hpp:803 |
void
if token
is a callback function (object)std::future<AddReferencesReponse>
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 142 of file nodemanagement.hpp.
Referenced by opcua::services::addReferenceAsync().
|
noexcept |
Add reference.
connection | Instance of type Client (or Server) |
sourceId | Node to which the reference is to be added |
targetId | Target node |
referenceType | NodeId of the reference type that defines the reference |
forward | Create a forward reference if true or a inverse reference if false |
Referenced by opcua::services::addModellingRule(), and opcua::Node< Connection >::addReference().
auto opcua::services::addReferenceAsync | ( | Client & | connection, |
const NodeId & | sourceId, | ||
const NodeId & | targetId, | ||
const NodeId & | referenceType, | ||
bool | forward, | ||
CompletionToken && | token ) |
Add reference.
connection | Instance of type Client (or Server) |
sourceId | Node to which the reference is to be added |
targetId | Target node |
referenceType | NodeId of the reference type that defines the reference |
forward | Create a forward reference if true or a inverse reference if false |
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 173 of file nodemanagement.hpp.
Referenced by opcua::services::addModellingRuleAsync(), and opcua::Node< Connection >::addReferenceAsync().
|
noexcept |
Add modelling rule.
Definition at line 946 of file nodemanagement.hpp.
Referenced by opcua::Node< Connection >::addModellingRule().
auto opcua::services::addModellingRuleAsync | ( | Client & | connection, |
const NodeId & | id, | ||
ModellingRule | rule, | ||
CompletionToken && | token ) |
Add modelling rule.
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 958 of file nodemanagement.hpp.
Referenced by opcua::Node< Connection >::addModellingRuleAsync().