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
13QT_BEGIN_NAMESPACE
14
15class QOpcUaApplicationIdentityData;
16
17class Q_OPCUA_EXPORT QOpcUaApplicationIdentity
18{
19public:
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
39private:
40 QSharedDataPointer<QOpcUaApplicationIdentityData> data;
41};
42
43QT_END_NAMESPACE
44
45Q_DECLARE_METATYPE(QOpcUaApplicationIdentity)
46
47#endif // QOPCUAAPPLICATIONIDENTITY_H
48

source code of qtopcua/src/opcua/client/qopcuaapplicationidentity.h