QOpcUaBrowseRequest Class
Enthält Parameter für einen Aufruf des OPC-UA-Browse-Dienstes. Mehr...
| Header: | #include <QOpcUaBrowseRequest> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Öffentliche Typen
| enum class | BrowseDirection { Forward, Inverse, Both } |
Öffentliche Funktionen
| QOpcUaBrowseRequest() | |
| QOpcUaBrowseRequest(const QOpcUaBrowseRequest &other) | |
| QOpcUaBrowseRequest::BrowseDirection | browseDirection() const |
| bool | includeSubtypes() const |
| QOpcUa::NodeClasses | nodeClassMask() const |
| QString | referenceTypeId() const |
| void | setBrowseDirection(const QOpcUaBrowseRequest::BrowseDirection &browseDirection) |
| void | setIncludeSubtypes(bool includeSubtypes) |
| void | setNodeClassMask(const QOpcUa::NodeClasses &nodeClassMask) |
| void | setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId) |
| void | setReferenceTypeId(const QString &referenceTypeId) |
| QOpcUaBrowseRequest & | operator=(const QOpcUaBrowseRequest &rhs) |
Siehe auch „ QOpcUaNode::browse()“.
Dokumentation zum Mitgliedstyp
enum class QOpcUaBrowseRequest::BrowseDirection
Diese Enumeration gibt die möglichen Navigationsrichtungen an, die von einem Navigationsaufruf unterstützt werden.
| Konstante | Wert | Beschreibung |
|---|---|---|
QOpcUaBrowseRequest::BrowseDirection::Forward | 0 | Verfolge Referenzen in Vorwärtsrichtung. |
QOpcUaBrowseRequest::BrowseDirection::Inverse | 1 | Verweise in umgekehrter Richtung verfolgen. |
QOpcUaBrowseRequest::BrowseDirection::Both | 2 | Verweise in beide Richtungen verfolgen. |
Dokumentation der Member-Funktionen
QOpcUaBrowseRequest::QOpcUaBrowseRequest()
„Default“ erstellt eine Browse-Anfrage, bei der keine Parameter festgelegt sind.
QOpcUaBrowseRequest::QOpcUaBrowseRequest(const QOpcUaBrowseRequest &other)
Erstellt eine Abrufanforderung von other.
QOpcUaBrowseRequest::BrowseDirection QOpcUaBrowseRequest::browseDirection() const
Gibt die Blättrichtung zurück.
Siehe auch ` setBrowseDirection()`.
bool QOpcUaBrowseRequest::includeSubtypes() const
Gibt „true“ zurück, wenn auch Untertypen des Referenztyps abgerufen werden.
Siehe auch ` setIncludeSubtypes()`.
QOpcUa::NodeClasses QOpcUaBrowseRequest::nodeClassMask() const
Gibt die Knotenklassenmaske zurück.
Siehe auch ` setNodeClassMask()`.
QString QOpcUaBrowseRequest::referenceTypeId() const
Gibt die ID des Referenztyps zurück.
Siehe auch „ setReferenceTypeId()“.
void QOpcUaBrowseRequest::setBrowseDirection(const QOpcUaBrowseRequest::BrowseDirection &browseDirection)
Legt die Blätterrichtung auf „ browseDirection “ fest.
Siehe auch browseDirection().
void QOpcUaBrowseRequest::setIncludeSubtypes(bool includeSubtypes)
Legt fest, dass Untertypen des Referenztyps in „ includeSubtypes “ einbezogen werden.
Siehe auch ` includeSubtypes()`.
void QOpcUaBrowseRequest::setNodeClassMask(const QOpcUa::NodeClasses &nodeClassMask)
Setzt die Knotenklassenmaske auf „ nodeClassMask “. Knoten aller Klassen, die in der Knotenklassenmaske enthalten sind, werden von der Suchoperation zurückgegeben.
Siehe auch „ nodeClassMask()“.
void QOpcUaBrowseRequest::setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId)
Setzt die Referenztyp-ID auf „ referenceTypeId “.
Siehe auch referenceTypeId().
void QOpcUaBrowseRequest::setReferenceTypeId(const QString &referenceTypeId)
Setzt die ID des Referenztyps auf „ referenceTypeId “.
QOpcUaBrowseRequest &QOpcUaBrowseRequest::operator=(const QOpcUaBrowseRequest &rhs)
Legt die Werte aus „ rhs “ in dieser Browse-Anfrage fest.
© 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.