QOpcUaBrowseRequest Class
Contiene i parametri per una chiamata al servizio di navigazione OPC UA. Maggiori informazioni...
| Intestazione: | #include <QOpcUaBrowseRequest> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Tipi pubblici
| enum class | BrowseDirection { Forward, Inverse, Both } |
Funzioni pubbliche
| 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) |
Vedi anche QOpcUaNode::browse().
Documentazione sui tipi di membro
enum class QOpcUaBrowseRequest::BrowseDirection
Questa enumerazione specifica le possibili direzioni di navigazione supportate da una chiamata di navigazione.
| Costante | Valore | Descrizione |
|---|---|---|
QOpcUaBrowseRequest::BrowseDirection::Forward | 0 | Segue i riferimenti in direzione in avanti. |
QOpcUaBrowseRequest::BrowseDirection::Inverse | 1 | Segue i riferimenti nella direzione inversa. |
QOpcUaBrowseRequest::BrowseDirection::Both | 2 | Segue i riferimenti in entrambe le direzioni. |
Documentazione sulle funzioni membro
QOpcUaBrowseRequest::QOpcUaBrowseRequest()
Il valore predefinito crea una richiesta di navigazione senza parametri specificati.
QOpcUaBrowseRequest::QOpcUaBrowseRequest(const QOpcUaBrowseRequest &other)
Crea una richiesta di navigazione da other.
QOpcUaBrowseRequest::BrowseDirection QOpcUaBrowseRequest::browseDirection() const
Restituisce la direzione di navigazione.
Vedi anche setBrowseDirection().
bool QOpcUaBrowseRequest::includeSubtypes() const
Restituisce true se verranno recuperati anche i sottotipi del tipo di riferimento.
Vedi anche setIncludeSubtypes().
QOpcUa::NodeClasses QOpcUaBrowseRequest::nodeClassMask() const
Restituisce la maschera della classe del nodo.
Vedi anche setNodeClassMask().
QString QOpcUaBrowseRequest::referenceTypeId() const
Restituisce l'ID del tipo di riferimento.
Vedi anche setReferenceTypeId().
void QOpcUaBrowseRequest::setBrowseDirection(const QOpcUaBrowseRequest::BrowseDirection &browseDirection)
Imposta la direzione di navigazione su browseDirection.
Vedi anche browseDirection().
void QOpcUaBrowseRequest::setIncludeSubtypes(bool includeSubtypes)
Imposta l'inclusione dei sottotipi del tipo di riferimento su includeSubtypes.
Vedi anche includeSubtypes().
void QOpcUaBrowseRequest::setNodeClassMask(const QOpcUa::NodeClasses &nodeClassMask)
Imposta la maschera delle classi dei nodi su nodeClassMask. L'operazione di navigazione restituirà i nodi di tutte le classi incluse nella maschera delle classi dei nodi.
Vedi anche nodeClassMask().
void QOpcUaBrowseRequest::setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId)
Imposta l'ID del tipo di riferimento su referenceTypeId.
Vedi anche referenceTypeId().
void QOpcUaBrowseRequest::setReferenceTypeId(const QString &referenceTypeId)
Imposta l'ID del tipo di riferimento su referenceTypeId.
QOpcUaBrowseRequest &QOpcUaBrowseRequest::operator=(const QOpcUaBrowseRequest &rhs)
Imposta i valori provenienti da rhs in questa richiesta di navigazione.
© 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.