1 | // Copyright (C) 2018 basysKom GmbH, opensource@basyskom.com |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #ifndef QOPCUADDNODEITEM_H |
5 | #define QOPCUADDNODEITEM_H |
6 | |
7 | #include <QtOpcUa/qopcuanodecreationattributes.h> |
8 | #include <QtOpcUa/qopcuatype.h> |
9 | #include <QtOpcUa/qopcuaexpandednodeid.h> |
10 | #include <QtOpcUa/qopcuaqualifiedname.h> |
11 | |
12 | QT_BEGIN_NAMESPACE |
13 | |
14 | class QOpcUaAddNodeItemData; |
15 | class Q_OPCUA_EXPORT QOpcUaAddNodeItem |
16 | { |
17 | public: |
18 | QOpcUaAddNodeItem(); |
19 | QOpcUaAddNodeItem(const QOpcUaAddNodeItem &); |
20 | QOpcUaAddNodeItem &operator=(const QOpcUaAddNodeItem &); |
21 | ~QOpcUaAddNodeItem(); |
22 | |
23 | QOpcUaExpandedNodeId parentNodeId() const; |
24 | void setParentNodeId(const QOpcUaExpandedNodeId &parentNodeId); |
25 | |
26 | QString referenceTypeId() const; |
27 | void setReferenceTypeId(const QString &referenceTypeId); |
28 | |
29 | QOpcUaExpandedNodeId requestedNewNodeId() const; |
30 | void setRequestedNewNodeId(const QOpcUaExpandedNodeId &requestedNewNodeId); |
31 | |
32 | QOpcUaQualifiedName browseName() const; |
33 | void setBrowseName(const QOpcUaQualifiedName &browseName); |
34 | |
35 | QOpcUa::NodeClass nodeClass() const; |
36 | void setNodeClass(const QOpcUa::NodeClass &nodeClass); |
37 | |
38 | QOpcUaNodeCreationAttributes nodeAttributes() const; |
39 | QOpcUaNodeCreationAttributes &nodeAttributesRef(); |
40 | void setNodeAttributes(const QOpcUaNodeCreationAttributes &nodeAttributes); |
41 | |
42 | QOpcUaExpandedNodeId typeDefinition() const; |
43 | void setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition); |
44 | |
45 | private: |
46 | QSharedDataPointer<QOpcUaAddNodeItemData> data; |
47 | }; |
48 | |
49 | QT_END_NAMESPACE |
50 | |
51 | Q_DECLARE_METATYPE(QOpcUaAddNodeItem) |
52 | |
53 | #endif // QOPCUADDNODEITEM_H |
54 |