1 | // Copyright (C) 2015 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 QOPCUAEUINFORMATION_H |
5 | #define QOPCUAEUINFORMATION_H |
6 | |
7 | #include <QtOpcUa/qopcuaglobal.h> |
8 | |
9 | #include <QtCore/qshareddata.h> |
10 | #include <QtCore/qvariant.h> |
11 | |
12 | QT_BEGIN_NAMESPACE |
13 | |
14 | class QOpcUaLocalizedText; |
15 | |
16 | class QOpcUaEUInformationData; |
17 | class Q_OPCUA_EXPORT QOpcUaEUInformation |
18 | { |
19 | public: |
20 | QOpcUaEUInformation(); |
21 | QOpcUaEUInformation(const QOpcUaEUInformation &); |
22 | QOpcUaEUInformation(const QString &namespaceUri, qint32 unitId, |
23 | const QOpcUaLocalizedText &displayName, const QOpcUaLocalizedText &description); |
24 | QOpcUaEUInformation &operator=(const QOpcUaEUInformation &); |
25 | bool operator==(const QOpcUaEUInformation &rhs) const; |
26 | operator QVariant() const; |
27 | ~QOpcUaEUInformation(); |
28 | |
29 | QString namespaceUri() const; |
30 | void setNamespaceUri(const QString &namespaceUri); |
31 | |
32 | qint32 unitId() const; |
33 | void setUnitId(qint32 unitId); |
34 | |
35 | QOpcUaLocalizedText displayName() const; |
36 | void setDisplayName(const QOpcUaLocalizedText &displayName); |
37 | |
38 | QOpcUaLocalizedText description() const; |
39 | void setDescription(const QOpcUaLocalizedText &description); |
40 | |
41 | private: |
42 | QSharedDataPointer<QOpcUaEUInformationData> data; |
43 | }; |
44 | |
45 | QT_END_NAMESPACE |
46 | |
47 | Q_DECLARE_METATYPE(QOpcUaEUInformation) |
48 | |
49 | #endif // QOPCUAEUINFORMATION_H |
50 |