| 1 | // Copyright (C) 2016 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 | #include <private/qopcuanodeimpl_p.h> |
| 5 | |
| 6 | QT_BEGIN_NAMESPACE |
| 7 | |
| 8 | QOpcUaNodeImpl::QOpcUaNodeImpl() |
| 9 | : m_handle{0} |
| 10 | , m_registered{false} |
| 11 | { |
| 12 | } |
| 13 | |
| 14 | QOpcUaNodeImpl::~QOpcUaNodeImpl() |
| 15 | { |
| 16 | } |
| 17 | |
| 18 | quint64 QOpcUaNodeImpl::handle() const |
| 19 | { |
| 20 | return m_handle; |
| 21 | } |
| 22 | |
| 23 | void QOpcUaNodeImpl::setHandle(quint64 handle) |
| 24 | { |
| 25 | m_handle = handle; |
| 26 | } |
| 27 | |
| 28 | bool QOpcUaNodeImpl::registered() const |
| 29 | { |
| 30 | return m_registered; |
| 31 | } |
| 32 | |
| 33 | void QOpcUaNodeImpl::setRegistered(bool registered) |
| 34 | { |
| 35 | m_registered = registered; |
| 36 | } |
| 37 | |
| 38 | QT_END_NAMESPACE |
| 39 |
