10#include "open62541pp/config.hpp"
56template <
typename CompletionToken>
59 connection, request, std::forward<CompletionToken>(token)
80 std::string_view browseName,
82 const NodeId& typeDefinition,
83 const NodeId& referenceType
91template <
typename CompletionToken>
97 std::string_view browseName,
99 const NodeId& typeDefinition,
100 const NodeId& referenceType,
101 CompletionToken&& token
104 parentId, referenceType,
id, browseName, nodeClass, nodeAttributes, typeDefinition
114 std::forward<CompletionToken>(token)
141template <
typename CompletionToken>
146 connection, request, std::forward<CompletionToken>(token)
163 const NodeId& referenceType,
172template <
typename CompletionToken>
177 const NodeId& referenceType,
179 CompletionToken&& token
212template <
typename CompletionToken>
217 connection, request, std::forward<CompletionToken>(token)
235template <
typename CompletionToken>
272template <
typename CompletionToken>
277 connection, request, std::forward<CompletionToken>(token)
295 const NodeId& referenceType,
297 bool deleteBidirectional
305template <
typename CompletionToken>
310 const NodeId& referenceType,
312 bool deleteBidirectional,
313 CompletionToken&& token
316 sourceId, referenceType, isForward, targetId, deleteBidirectional
355 std::string_view browseName,
358 const NodeId& referenceType
377template <
typename CompletionToken>
382 std::string_view browseName,
385 const NodeId& referenceType,
386 CompletionToken&& token
397 std::forward<CompletionToken>(token)
416 std::string_view browseName,
418 const NodeId& referenceType
430template <
typename CompletionToken>
435 std::string_view browseName,
437 const NodeId& referenceType,
438 CompletionToken&& token
448 std::forward<CompletionToken>(token)
468 std::string_view browseName,
470 const NodeId& variableType,
471 const NodeId& referenceType
490template <
typename CompletionToken>
495 std::string_view browseName,
497 const NodeId& variableType,
498 const NodeId& referenceType,
499 CompletionToken&& token
510 std::forward<CompletionToken>(token)
527 std::string_view browseName,
546template <
typename CompletionToken>
551 std::string_view browseName,
553 CompletionToken&& token
563 std::forward<CompletionToken>(token)
567#ifdef UA_ENABLE_METHODCALLS
594 std::string_view browseName,
599 const NodeId& referenceType
607template <
typename CompletionToken>
612 std::string_view browseName,
617 const NodeId& referenceType,
618 CompletionToken&& token
629 std::forward<CompletionToken>(token)
649 std::string_view browseName,
651 const NodeId& referenceType
670template <
typename CompletionToken>
675 std::string_view browseName,
677 const NodeId& referenceType,
678 CompletionToken&& token
689 std::forward<CompletionToken>(token)
709 std::string_view browseName,
711 const NodeId& variableType,
712 const NodeId& referenceType
731template <
typename CompletionToken>
736 std::string_view browseName,
738 const NodeId& variableType,
739 const NodeId& referenceType,
740 CompletionToken&& token
751 std::forward<CompletionToken>(token)
770 std::string_view browseName,
772 const NodeId& referenceType
791template <
typename CompletionToken>
796 std::string_view browseName,
798 const NodeId& referenceType,
799 CompletionToken&& token
810 std::forward<CompletionToken>(token)
829 std::string_view browseName,
831 const NodeId& referenceType
850template <
typename CompletionToken>
855 std::string_view browseName,
857 const NodeId& referenceType,
858 CompletionToken&& token
869 std::forward<CompletionToken>(token)
888 std::string_view browseName,
890 const NodeId& referenceType
909template <
typename CompletionToken>
914 std::string_view browseName,
916 const NodeId& referenceType,
917 CompletionToken&& token
928 std::forward<CompletionToken>(token)
957template <
typename CompletionToken>
964 {0,
static_cast<uint32_t
>(rule)},
967 std::forward<CompletionToken>(token)
UA_AddNodesRequest wrapper class.
UA_AddNodesResponse wrapper class.
UA_AddReferencesRequest wrapper class.
UA_AddReferencesResponse wrapper class.
UA_DataTypeAttributes wrapper class.
UA_DeleteNodesRequest wrapper class.
UA_DeleteNodesResponse wrapper class.
UA_DeleteReferencesRequest wrapper class.
UA_DeleteReferencesResponse wrapper class.
UA_ExtensionObject wrapper class.
UA_MethodAttributes wrapper class.
UA_ObjectAttributes wrapper class.
UA_ObjectTypeAttributes wrapper class.
UA_ReferenceTypeAttributes wrapper class.
The template class Result encapsulates a StatusCode and optionally a value.
View to a contiguous sequence of objects, similar to std::span in C++20.
UA_StatusCode wrapper class.
UA_VariableAttributes wrapper class.
UA_VariableAttributes wrapper class.
UA_ViewAttributes wrapper class.
Result< NodeId > addNode(T &connection, NodeClass nodeClass, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ExtensionObject &nodeAttributes, const NodeId &typeDefinition, const NodeId &referenceType) noexcept
Add a node.
auto addObjectTypeAsync(Client &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ObjectTypeAttributes &attributes, const NodeId &referenceType, CompletionToken &&token)
Add object type.
auto addPropertyAsync(Client &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const VariableAttributes &attributes, CompletionToken &&token)
Add property.
Result< NodeId > addObject(T &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ObjectAttributes &attributes, const NodeId &objectType, const NodeId &referenceType) noexcept
Add object.
auto addMethodAsync(Client &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, MethodCallback callback, Span< const Argument > inputArguments, Span< const Argument > outputArguments, const MethodAttributes &attributes, const NodeId &referenceType, CompletionToken &&token)
Add method.
Result< NodeId > addObjectType(T &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ObjectTypeAttributes &attributes, const NodeId &referenceType) noexcept
Add object type.
Result< NodeId > addMethod(T &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, MethodCallback callback, Span< const Argument > inputArguments, Span< const Argument > outputArguments, const MethodAttributes &attributes, const NodeId &referenceType) noexcept
Add method.
auto addNodesAsync(Client &connection, const AddNodesRequest &request, CompletionToken &&token)
Add one or more nodes (client only).
auto addFolderAsync(Client &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ObjectAttributes &attributes, const NodeId &referenceType, CompletionToken &&token)
Add folder.
std::function< void(Span< const Variant > input, Span< Variant > output)> MethodCallback
Method callback.
Result< NodeId > addFolder(T &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ObjectAttributes &attributes, const NodeId &referenceType) noexcept
Add folder.
Result< NodeId > addDataType(T &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const DataTypeAttributes &attributes, const NodeId &referenceType) noexcept
Add data type.
auto addNodeAsync(Client &connection, NodeClass nodeClass, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ExtensionObject &nodeAttributes, const NodeId &typeDefinition, const NodeId &referenceType, CompletionToken &&token)
Add a node.
auto addReferenceTypeAsync(Client &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ReferenceTypeAttributes &attributes, const NodeId &referenceType, CompletionToken &&token)
Add reference type.
auto addDataTypeAsync(Client &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const DataTypeAttributes &attributes, const NodeId &referenceType, CompletionToken &&token)
Add data type.
auto addVariableTypeAsync(Client &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const VariableTypeAttributes &attributes, const NodeId &variableType, const NodeId &referenceType, CompletionToken &&token)
Add variable type.
Result< NodeId > addVariableType(T &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const VariableTypeAttributes &attributes, const NodeId &variableType, const NodeId &referenceType) noexcept
Add variable type.
auto addVariableAsync(Client &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const VariableAttributes &attributes, const NodeId &variableType, const NodeId &referenceType, CompletionToken &&token)
Add variable.
Result< NodeId > addReferenceType(T &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ReferenceTypeAttributes &attributes, const NodeId &referenceType) noexcept
Add reference type.
Result< NodeId > addProperty(T &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const VariableAttributes &attributes) noexcept
Add property.
Result< NodeId > addView(T &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ViewAttributes &attributes, const NodeId &referenceType) noexcept
Add view.
AddNodesResponse addNodes(Client &connection, const AddNodesRequest &request) noexcept
Add one or more nodes (client only).
auto addObjectAsync(Client &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ObjectAttributes &attributes, const NodeId &objectType, const NodeId &referenceType, CompletionToken &&token)
Add object.
auto addViewAsync(Client &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const ViewAttributes &attributes, const NodeId &referenceType, CompletionToken &&token)
Add view.
Result< NodeId > addVariable(T &connection, const NodeId &parentId, const NodeId &id, std::string_view browseName, const VariableAttributes &attributes, const NodeId &variableType, const NodeId &referenceType) noexcept
Add variable.
StatusCode addModellingRule(T &connection, const NodeId &id, ModellingRule rule) noexcept
Add modelling rule.
AddReferencesResponse addReferences(Client &connection, const AddReferencesRequest &request) noexcept
Add one or more references (client only).
auto addReferencesAsync(Client &connection, const AddReferencesRequest &request, CompletionToken &&token)
Add one or more references (client only).
auto addModellingRuleAsync(Client &connection, const NodeId &id, ModellingRule rule, CompletionToken &&token)
Add modelling rule.
auto addReferenceAsync(Client &connection, const NodeId &sourceId, const NodeId &targetId, const NodeId &referenceType, bool forward, CompletionToken &&token)
Add reference.
StatusCode addReference(T &connection, const NodeId &sourceId, const NodeId &targetId, const NodeId &referenceType, bool forward) noexcept
Add reference.
DeleteNodesResponse deleteNodes(Client &connection, const DeleteNodesRequest &request) noexcept
Delete one or more nodes (client only).
auto deleteNodeAsync(Client &connection, const NodeId &id, bool deleteReferences, CompletionToken &&token)
Delete node.
StatusCode deleteNode(T &connection, const NodeId &id, bool deleteReferences) noexcept
Delete node.
auto deleteNodesAsync(Client &connection, const DeleteNodesRequest &request, CompletionToken &&token)
Delete one or more nodes (client only).
auto deleteReferencesAsync(Client &connection, const DeleteReferencesRequest &request, CompletionToken &&token)
Delete one or more references (client only).
DeleteReferencesResponse deleteReferences(Client &connection, const DeleteReferencesRequest &request) noexcept
Delete one or more references (client only).
auto deleteReferenceAsync(Client &connection, const NodeId &sourceId, const NodeId &targetId, const NodeId &referenceType, bool isForward, bool deleteBidirectional, CompletionToken &&token)
Delete reference.
StatusCode deleteReference(T &connection, const NodeId &sourceId, const NodeId &targetId, const NodeId &referenceType, bool isForward, bool deleteBidirectional) noexcept
Delete reference.
UA_AddReferencesItem createAddReferencesItem(const NodeId &sourceId, const NodeId &referenceType, bool forward, const NodeId &targetId) noexcept
UA_DeleteReferencesItem createDeleteReferencesItem(const NodeId &sourceId, const NodeId &referenceType, bool isForward, const NodeId &targetId, bool deleteBidirectional) noexcept
Result< NodeId > getAddedNodeId(UA_AddNodesResult &result) noexcept
UA_AddReferencesRequest createAddReferencesRequest(UA_AddReferencesItem &item) noexcept
UA_AddNodesItem createAddNodesItem(const NodeId &parentId, const NodeId &referenceType, const NodeId &id, std::string_view browseName, NodeClass nodeClass, const ExtensionObject &nodeAttributes, const NodeId &typeDefinition) noexcept
StatusCode getSingleStatus(const Response &response) noexcept
UA_DeleteNodesItem createDeleteNodesItem(const NodeId &id, bool deleteReferences) noexcept
UA_AddNodesRequest createAddNodesRequest(UA_AddNodesItem &item) noexcept
auto sendRequestAsync(Client &client, const Request &request, CompletionToken &&token)
Async client service requests.
UA_DeleteNodesRequest createDeleteNodesRequest(UA_DeleteNodesItem &item) noexcept
UA_DeleteReferencesRequest createDeleteReferencesRequest(UA_DeleteReferencesItem &item) noexcept
ExtensionObject wrapNodeAttributes(const T &attributes) noexcept
auto getSingleResultRef(Response &response) noexcept
OPC UA services as free functions.
Client * asWrapper(UA_Client *client) noexcept
Convert native UA_Client pointer to its wrapper instance.
ModellingRule
Modelling rules.