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 QOPCUABROWSEPATHTARGET_H |
5 | #define QOPCUABROWSEPATHTARGET_H |
6 | |
7 | #include <QtOpcUa/qopcuaglobal.h> |
8 | #include <QtOpcUa/qopcuaexpandednodeid.h> |
9 | |
10 | #include <QtCore/qshareddata.h> |
11 | |
12 | QT_BEGIN_NAMESPACE |
13 | |
14 | class QOpcUaBrowsePathTargetData; |
15 | class Q_OPCUA_EXPORT QOpcUaBrowsePathTarget |
16 | { |
17 | public: |
18 | QOpcUaBrowsePathTarget(); |
19 | QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &); |
20 | QOpcUaBrowsePathTarget &operator=(const QOpcUaBrowsePathTarget &); |
21 | bool operator==(const QOpcUaBrowsePathTarget &rhs) const; |
22 | ~QOpcUaBrowsePathTarget(); |
23 | |
24 | QOpcUaExpandedNodeId targetId() const; |
25 | QOpcUaExpandedNodeId &targetIdRef(); |
26 | void setTargetId(const QOpcUaExpandedNodeId &targetId); |
27 | |
28 | quint32 remainingPathIndex() const; |
29 | void setRemainingPathIndex(quint32 remainingPathIndex); |
30 | |
31 | bool isFullyResolved() const; |
32 | |
33 | private: |
34 | QSharedDataPointer<QOpcUaBrowsePathTargetData> data; |
35 | }; |
36 | |
37 | QT_END_NAMESPACE |
38 | |
39 | Q_DECLARE_METATYPE(QOpcUaBrowsePathTarget) |
40 | |
41 | #endif // QOPCUABROWSEPATHTARGET_H |
42 |