| 1 | // Copyright (C) 2018 Unified Automation GmbH |
|---|---|
| 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 QOPCUAAPPLICATIONIDENTITY_H |
| 5 | #define QOPCUAAPPLICATIONIDENTITY_H |
| 6 | |
| 7 | #include <QtOpcUa/qopcuaglobal.h> |
| 8 | |
| 9 | #include <QtCore/qshareddata.h> |
| 10 | #include <QtCore/qmetatype.h> |
| 11 | #include <QtOpcUa/qopcuaapplicationdescription.h> |
| 12 | |
| 13 | QT_BEGIN_NAMESPACE |
| 14 | |
| 15 | class QOpcUaApplicationIdentityData; |
| 16 | |
| 17 | class Q_OPCUA_EXPORT QOpcUaApplicationIdentity |
| 18 | { |
| 19 | public: |
| 20 | QOpcUaApplicationIdentity(); |
| 21 | ~QOpcUaApplicationIdentity(); |
| 22 | QOpcUaApplicationIdentity(const QOpcUaApplicationIdentity &other); |
| 23 | QOpcUaApplicationIdentity &operator=(const QOpcUaApplicationIdentity &rhs); |
| 24 | |
| 25 | QString applicationUri() const; |
| 26 | void setApplicationUri(const QString &value); |
| 27 | |
| 28 | QString applicationName() const; |
| 29 | void setApplicationName(const QString &value); |
| 30 | |
| 31 | QString productUri() const; |
| 32 | void setProductUri(const QString &value); |
| 33 | |
| 34 | QOpcUaApplicationDescription::ApplicationType applicationType() const; |
| 35 | void setApplicationType(QOpcUaApplicationDescription::ApplicationType value); |
| 36 | |
| 37 | bool isValid() const; |
| 38 | |
| 39 | private: |
| 40 | QSharedDataPointer<QOpcUaApplicationIdentityData> data; |
| 41 | }; |
| 42 | |
| 43 | QT_END_NAMESPACE |
| 44 | |
| 45 | Q_DECLARE_METATYPE(QOpcUaApplicationIdentity) |
| 46 | |
| 47 | #endif // QOPCUAAPPLICATIONIDENTITY_H |
| 48 |
