QOpcUaAddNodeItem Class
Diese Klasse speichert die notwendigen Informationen, um einen neuen Knoten auf dem Server zu erstellen. Mehr...
Kopfzeile: | #include <QOpcUaAddNodeItem> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
Öffentliche Funktionen
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) |
Siehe auch QOpcUaClient::addNode().
Dokumentation der Mitgliederfunktionen
QOpcUaAddNodeItem::QOpcUaAddNodeItem()
Standard konstruiert ein Knotenelement hinzufügen ohne Parameter gesetzt.
QOpcUaAddNodeItem::QOpcUaAddNodeItem(const QOpcUaAddNodeItem &other)
Konstruiert ein add node item aus other.
QOpcUaQualifiedName QOpcUaAddNodeItem::browseName() const
Gibt den Browse-Namen des neuen Knotens zurück.
Siehe auch setBrowseName().
QOpcUaNodeCreationAttributes QOpcUaAddNodeItem::nodeAttributes() const
Gibt die Werte für die Knotenattribute des neuen Knotens zurück.
Siehe auch setNodeAttributes().
QOpcUaNodeCreationAttributes &QOpcUaAddNodeItem::nodeAttributesRef()
Gibt einen Verweis auf die Werte für die Knotenattribute des neuen Knotens zurück.
QOpcUa::NodeClass QOpcUaAddNodeItem::nodeClass() const
Gibt die Knotenklasse des neuen Knotens zurück.
Siehe auch setNodeClass().
QOpcUaExpandedNodeId QOpcUaAddNodeItem::parentNodeId() const
Gibt die ID des übergeordneten Knotens zurück.
Siehe auch setParentNodeId().
QString QOpcUaAddNodeItem::referenceTypeId() const
Gibt die Referenztyp-ID zurück.
Siehe auch setReferenceTypeId().
QOpcUaExpandedNodeId QOpcUaAddNodeItem::requestedNewNodeId() const
Gibt die angeforderte neue Knoten-ID zurück.
Siehe auch setRequestedNewNodeId().
void QOpcUaAddNodeItem::setBrowseName(const QOpcUaQualifiedName &browseName)
Setzt den Suchnamen des neuen Knotens auf browseName.
Siehe auch browseName().
void QOpcUaAddNodeItem::setNodeAttributes(const QOpcUaNodeCreationAttributes &nodeAttributes)
Setzt die Werte für die Knotenattribute des neuen Knotens auf nodeAttributes. Es werden nur die Attribute verwendet, die von der Knotenklasse des neuen Knotens unterstützt werden.
Siehe auch nodeAttributes().
void QOpcUaAddNodeItem::setNodeClass(const QOpcUa::NodeClass &nodeClass)
Setzt die Knotenklasse des neuen Knotens auf nodeClass.
Siehe auch nodeClass().
void QOpcUaAddNodeItem::setParentNodeId(const QOpcUaExpandedNodeId &parentNodeId)
Setzt die übergeordnete Knoten-ID auf parentNodeId. Es wird ein Verweis des in setReferenceTypeId() festgelegten Typs von diesem Knoten auf den neu hinzugefügten Knoten erstellt.
Siehe auch parentNodeId() und setReferenceTypeId().
void QOpcUaAddNodeItem::setReferenceTypeId(const QString &referenceTypeId)
Setzt den Referenztyp id auf referenceTypeId. Eine Referenz dieses Typs wird verwendet, um den Knoten mit dem übergeordneten Knoten zu verbinden.
Siehe auch referenceTypeId().
void QOpcUaAddNodeItem::setRequestedNewNodeId(const QOpcUaExpandedNodeId &requestedNewNodeId)
Setzt die angeforderte neue Knoten-ID auf requestedNewNodeId.
Siehe auch requestedNewNodeId().
void QOpcUaAddNodeItem::setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)
Setzt die node id des Typdefinitionsknotens auf typeDefinition. Dieser Wert ist zu setzen, wenn die Knotenklasse nicht Object oder Variable ist.
Siehe auch typeDefinition().
QOpcUaExpandedNodeId QOpcUaAddNodeItem::typeDefinition() const
Gibt die Knoten-ID des Typdefinitionsknotens zurück.
Siehe auch setTypeDefinition().
QOpcUaAddNodeItem &QOpcUaAddNodeItem::operator=(const QOpcUaAddNodeItem &rhs)
Weist diesem Knotenelement die Werte von rhs zu.
© 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.