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 QOPCUANODECREATIONATTRIBUTES_H |
5 | #define QOPCUANODECREATIONATTRIBUTES_H |
6 | |
7 | #include <QtOpcUa/qopcuatype.h> |
8 | #include <QtOpcUa/qopcualocalizedtext.h> |
9 | #include <QtCore/qshareddata.h> |
10 | |
11 | QT_BEGIN_NAMESPACE |
12 | |
13 | class QOpcUaNodeCreationAttributesPrivate; |
14 | |
15 | class Q_OPCUA_EXPORT QOpcUaNodeCreationAttributes |
16 | { |
17 | public: |
18 | QOpcUaNodeCreationAttributes(); |
19 | QOpcUaNodeCreationAttributes(const QOpcUaNodeCreationAttributes &other); |
20 | QOpcUaNodeCreationAttributes &operator=(const QOpcUaNodeCreationAttributes &rhs); |
21 | |
22 | ~QOpcUaNodeCreationAttributes(); |
23 | |
24 | QOpcUa::AccessLevel accessLevel() const; |
25 | void setAccessLevel(QOpcUa::AccessLevel accessLevel); |
26 | bool hasAccessLevel() const; |
27 | |
28 | QList<quint32> arrayDimensions() const; |
29 | void setArrayDimensions(const QList<quint32> &arrayDimensions); |
30 | bool hasArrayDimensions() const; |
31 | |
32 | bool containsNoLoops() const; |
33 | void setContainsNoLoops(bool containsNoLoops); |
34 | bool hasContainsNoLoops() const; |
35 | |
36 | QString dataTypeId() const; |
37 | void setDataTypeId(const QString &dataTypeId); |
38 | bool hasDataTypeId() const; |
39 | |
40 | QOpcUaLocalizedText description() const; |
41 | void setDescription(const QOpcUaLocalizedText &description); |
42 | bool hasDescription() const; |
43 | |
44 | QOpcUaLocalizedText displayName() const; |
45 | void setDisplayName(const QOpcUaLocalizedText &displayName); |
46 | bool hasDisplayName() const; |
47 | |
48 | QOpcUa::EventNotifier eventNotifier() const; |
49 | void setEventNotifier(QOpcUa::EventNotifier eventNotifier); |
50 | bool hasEventNotifier() const; |
51 | |
52 | bool executable() const; |
53 | void setExecutable(bool executable); |
54 | bool hasExecutable() const; |
55 | |
56 | bool historizing() const; |
57 | void setHistorizing(bool historizing); |
58 | bool hasHistorizing() const; |
59 | |
60 | QOpcUaLocalizedText inverseName() const; |
61 | void setInverseName(const QOpcUaLocalizedText &inverseName); |
62 | bool hasInverseName() const; |
63 | |
64 | bool isAbstract() const; |
65 | void setIsAbstract(bool isAbstract); |
66 | bool hasIsAbstract() const; |
67 | |
68 | double minimumSamplingInterval() const; |
69 | void setMinimumSamplingInterval(double minimumSamplingInterval); |
70 | bool hasMinimumSamplingInterval() const; |
71 | |
72 | bool symmetric() const; |
73 | void setSymmetric(bool symmetric); |
74 | bool hasSymmetric() const; |
75 | |
76 | QOpcUa::AccessLevel userAccessLevel() const; |
77 | void setUserAccessLevel(QOpcUa::AccessLevel userAccessLevel); |
78 | bool hasUserAccessLevel() const; |
79 | |
80 | bool userExecutable() const; |
81 | void setUserExecutable(bool userExecutable); |
82 | bool hasUserExecutable() const; |
83 | |
84 | QOpcUa::WriteMask userWriteMask() const; |
85 | void setUserWriteMask(QOpcUa::WriteMask userWriteMask); |
86 | bool hasUserWriteMask() const; |
87 | |
88 | qint32 valueRank() const; |
89 | void setValueRank(qint32 valueRank); |
90 | bool hasValueRank() const; |
91 | |
92 | QOpcUa::WriteMask writeMask() const; |
93 | void setWriteMask(QOpcUa::WriteMask writeMask); |
94 | bool hasWriteMask() const; |
95 | |
96 | QVariant value() const; |
97 | void setValue(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined); |
98 | bool hasValue() const; |
99 | |
100 | QOpcUa::Types valueType() const; |
101 | |
102 | private: |
103 | QSharedDataPointer<QOpcUaNodeCreationAttributesPrivate> data; |
104 | }; |
105 | |
106 | QT_END_NAMESPACE |
107 | |
108 | Q_DECLARE_METATYPE(QOpcUaNodeCreationAttributes) |
109 | |
110 | #endif // QOPCUANODECREATIONATTRIBUTES_H |
111 | |