QOpcUaAddNodeItem Class
このクラスは、サーバー上に新しいノードを作成するために必要な情報を格納します。詳細...
ヘッダ | #include <QOpcUaAddNodeItem> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
パブリック関数
QOpcUaAddNodeItem() | |
QOpcUaAddNodeItem(const QOpcUaAddNodeItem &other) | |
QOpcUaQualifiedName | browseName() const |
QOpcUaNodeCreationAttributes | nodeAttributes() const |
QOpcUaNodeCreationAttributes & | nodeAttributesRef() |
QOpcUa::NodeClass | nodeClass() const |
QOpcUaExpandedNodeId | parentNodeId() const |
QString | referenceTypeId() const |
QOpcUaExpandedNodeId | requestedNewNodeId() const |
void | setBrowseName(const QOpcUaQualifiedName &browseName) |
void | setNodeAttributes(const QOpcUaNodeCreationAttributes &nodeAttributes) |
void | setNodeClass(const QOpcUa::NodeClass &nodeClass) |
void | setParentNodeId(const QOpcUaExpandedNodeId &parentNodeId) |
void | setReferenceTypeId(const QString &referenceTypeId) |
void | setRequestedNewNodeId(const QOpcUaExpandedNodeId &requestedNewNodeId) |
void | setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition) |
QOpcUaExpandedNodeId | typeDefinition() const |
QOpcUaAddNodeItem & | operator=(const QOpcUaAddNodeItem &rhs) |
QOpcUaClient::addNode()も参照 。
メンバ関数のドキュメント
QOpcUaAddNodeItem::QOpcUaAddNodeItem()
デフォルトでは、パラメータが設定されていない追加ノード項目が構築されます。
QOpcUaAddNodeItem::QOpcUaAddNodeItem(const QOpcUaAddNodeItem &other)
other から追加ノード項目を構築します。
QOpcUaQualifiedName QOpcUaAddNodeItem::browseName() const
新しいノードのブラウズ名を返します。
setBrowseName()も参照してください 。
QOpcUaNodeCreationAttributes QOpcUaAddNodeItem::nodeAttributes() const
新しいノードのノード属性の値を返します。
setNodeAttributes()も参照してください 。
QOpcUaNodeCreationAttributes &QOpcUaAddNodeItem::nodeAttributesRef()
新しいノードのノード属性の値への参照を返す。
QOpcUa::NodeClass QOpcUaAddNodeItem::nodeClass() const
新しいノードのノード・クラスを返します。
setNodeClass()も参照してください 。
QOpcUaExpandedNodeId QOpcUaAddNodeItem::parentNodeId() const
親ノードの ID を返します。
setParentNodeId()も参照してください 。
QString QOpcUaAddNodeItem::referenceTypeId() const
参照型 ID を返します。
setReferenceTypeId()も参照してください 。
QOpcUaExpandedNodeId QOpcUaAddNodeItem::requestedNewNodeId() const
要求された新しいノード ID を返します。
setRequestedNewNodeId()も参照してください 。
void QOpcUaAddNodeItem::setBrowseName(const QOpcUaQualifiedName &browseName)
新しいノードのブラウズ名をbrowseName に設定する。
browseName()も参照 。
void QOpcUaAddNodeItem::setNodeAttributes(const QOpcUaNodeCreationAttributes &nodeAttributes)
新しいノードのノード属性の値をnodeAttributes に設定します。新しいノードのノード・クラスでサポートされている属性のみが使用されます。
nodeAttributes()も参照してください 。
void QOpcUaAddNodeItem::setNodeClass(const QOpcUa::NodeClass &nodeClass)
新しいノードのノード・クラスをnodeClass に設定します。
nodeClass()も参照してください 。
void QOpcUaAddNodeItem::setParentNodeId(const QOpcUaExpandedNodeId &parentNodeId)
親ノードの ID をparentNodeId に設定する。このノードから新しく追加されたノードへの、setReferenceTypeId() で設定された型の参照が作成されます。
parentNodeId() およびsetReferenceTypeId()も参照してください 。
void QOpcUaAddNodeItem::setReferenceTypeId(const QString &referenceTypeId)
参照タイプ ID をreferenceTypeId に設定します。このタイプの参照は、ノードを親ノードに接続するために使用されます。
referenceTypeId()も参照してください 。
void QOpcUaAddNodeItem::setRequestedNewNodeId(const QOpcUaExpandedNodeId &requestedNewNodeId)
要求された新しいノード ID をrequestedNewNodeId に設定する。
requestedNewNodeId()も参照 。
void QOpcUaAddNodeItem::setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)
型定義ノードのノード ID をtypeDefinition に設定する。この値は、ノード・クラスが Object でも Variable でもない場合に設定される。
typeDefinition()も参照 。
QOpcUaExpandedNodeId QOpcUaAddNodeItem::typeDefinition() const
型定義ノードのノード ID を返す。
setTypeDefinition()も参照してください 。
QOpcUaAddNodeItem &QOpcUaAddNodeItem::operator=(const QOpcUaAddNodeItem &rhs)
rhs の値をこの追加ノード項目に割り当てます。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.