|
open62541pp 0.19.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 modelling rule.
Definition at line 977 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 989 of file nodemanagement.hpp.
|
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 175 of file nodemanagement.hpp.
Referenced by opcua::services::addModellingRuleAsync().
|
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&)
|
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 144 of file nodemanagement.hpp.
Referenced by opcua::services::addReferenceAsync().