Auf dieser Seite

QOpcUaAddNodeItem Class

Diese Klasse speichert die erforderlichen Informationen zum Anlegen eines neuen Knotens auf dem Server. Mehr...

Header: #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)

Ausführliche Beschreibung

Siehe auch „ QOpcUaClient::addNode()“.

Dokumentation zu den Mitgliedsfunktionen

QOpcUaAddNodeItem::QOpcUaAddNodeItem()

„Default“ erstellt ein Element vom Typ „Add Node“, bei dem keine Parameter festgelegt sind.

QOpcUaAddNodeItem::QOpcUaAddNodeItem(const QOpcUaAddNodeItem &other)

Erstellt ein Element vom Typ „Add Node“ 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 eine Referenz auf die Werte der 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 ID des Referenztyps zurück.

Siehe auch setReferenceTypeId().

QOpcUaExpandedNodeId QOpcUaAddNodeItem::requestedNewNodeId() const

Gibt die angeforderte ID des neuen Knotens zurück.

Siehe auch ` setRequestedNewNodeId()`.

void QOpcUaAddNodeItem::setBrowseName(const QOpcUaQualifiedName &browseName)

Legt den Anzeigenamen des neuen Knotens auf „ browseName “ fest.

Siehe auch browseName().

void QOpcUaAddNodeItem::setNodeAttributes(const QOpcUaNodeCreationAttributes &nodeAttributes)

Legt die Werte für die Knotenattribute des neuen Knotens auf „ nodeAttributes “ fest. 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)

Legt die Knotenklasse des neuen Knotens auf „ nodeClass “ fest.

Siehe auch „ nodeClass()“.

void QOpcUaAddNodeItem::setParentNodeId(const QOpcUaExpandedNodeId &parentNodeId)

Setzt die ID des übergeordneten Knotens auf parentNodeId. Es wird eine Referenz des in setReferenceTypeId() festgelegten Typs von diesem Knoten zum neu hinzugefügten Knoten erstellt.

Siehe auch parentNodeId() und setReferenceTypeId().

void QOpcUaAddNodeItem::setReferenceTypeId(const QString &referenceTypeId)

Setzt die 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 Knoten-ID des Typdefinitionsknotens auf „ typeDefinition “. Dieser Wert muss gesetzt werden, wenn die Knotenklasse nicht „Object“ oder „Variable“ ist.

Siehe auch typeDefinition().

QOpcUaExpandedNodeId QOpcUaAddNodeItem::typeDefinition() const

Gibt die Knoten-ID des Knotens „Typdefinition“ zurück.

Siehe auch „ setTypeDefinition()“.

QOpcUaAddNodeItem &QOpcUaAddNodeItem::operator=(const QOpcUaAddNodeItem &rhs)

Weist diesem Element des Knotens „add“ die Werte aus „ rhs “ zu.

© 2026 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.