QOpcUaNodeCreationAttributes Class
Diese Klasse verwaltet Attributwerte für die Erstellung von Knoten. Mehr...
| Kopfzeile: | #include <QOpcUaNodeCreationAttributes> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Öffentliche Funktionen
| QOpcUaNodeCreationAttributes() | |
| QOpcUaNodeCreationAttributes(const QOpcUaNodeCreationAttributes &other) | |
| QOpcUa::AccessLevel | accessLevel() const |
| QList<quint32> | arrayDimensions() const |
| bool | containsNoLoops() const |
| QString | dataTypeId() const |
| QOpcUaLocalizedText | description() const |
| QOpcUaLocalizedText | displayName() const |
| QOpcUa::EventNotifier | eventNotifier() const |
| bool | executable() const |
| bool | hasAccessLevel() const |
| bool | hasArrayDimensions() const |
| bool | hasContainsNoLoops() const |
| bool | hasDataTypeId() const |
| bool | hasDescription() const |
| bool | hasDisplayName() const |
| bool | hasEventNotifier() const |
| bool | hasExecutable() const |
| bool | hasHistorizing() const |
| bool | hasInverseName() const |
| bool | hasIsAbstract() const |
| bool | hasMinimumSamplingInterval() const |
| bool | hasSymmetric() const |
| bool | hasUserAccessLevel() const |
| bool | hasUserExecutable() const |
| bool | hasUserWriteMask() const |
| bool | hasValue() const |
| bool | hasValueRank() const |
| bool | hasWriteMask() const |
| bool | historizing() const |
| QOpcUaLocalizedText | inverseName() const |
| bool | isAbstract() const |
| double | minimumSamplingInterval() const |
| void | setAccessLevel(QOpcUa::AccessLevel accessLevel) |
| void | setArrayDimensions(const QList<quint32> &arrayDimensions) |
| void | setContainsNoLoops(bool containsNoLoops) |
| void | setDataTypeId(const QString &dataTypeId) |
| void | setDescription(const QOpcUaLocalizedText &description) |
| void | setDisplayName(const QOpcUaLocalizedText &displayName) |
| void | setEventNotifier(QOpcUa::EventNotifier eventNotifier) |
| void | setExecutable(bool executable) |
| void | setHistorizing(bool historizing) |
| void | setInverseName(const QOpcUaLocalizedText &inverseName) |
| void | setIsAbstract(bool isAbstract) |
| void | setMinimumSamplingInterval(double minimumSamplingInterval) |
| void | setSymmetric(bool symmetric) |
| void | setUserAccessLevel(QOpcUa::AccessLevel userAccessLevel) |
| void | setUserExecutable(bool userExecutable) |
| void | setUserWriteMask(QOpcUa::WriteMask userWriteMask) |
| void | setValue(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined) |
| void | setValueRank(qint32 valueRank) |
| void | setWriteMask(QOpcUa::WriteMask writeMask) |
| bool | symmetric() const |
| QOpcUa::AccessLevel | userAccessLevel() const |
| bool | userExecutable() const |
| QOpcUa::WriteMask | userWriteMask() const |
| QVariant | value() const |
| qint32 | valueRank() const |
| QOpcUa::Types | valueType() const |
| QOpcUa::WriteMask | writeMask() const |
| QOpcUaNodeCreationAttributes & | operator=(const QOpcUaNodeCreationAttributes &rhs) |
Ausführliche Beschreibung
Diese Klasse enthält Werte für Knotenattribute, die beim Anlegen eines neuen Knotens im OPC-UA-Adressraum an den Server übergeben werden.
Die folgenden Knotenattribute werden von den verschiedenen Knotenklassen unterstützt:
| Attribut | Objekt | Variable | Methode | Objekttyp | Variablentyp | Referenztyp | Datentyp | Ansicht |
|---|---|---|---|---|---|---|---|---|
| Zugriffsebene | X | |||||||
| Array-Dimensionen | X | X | ||||||
| Enthält keine Schleifen | X | |||||||
| Datentyp | X | X | ||||||
| Beschreibung | X | X | X | X | X | X | X | X |
| Anzeigename | X | X | X | X | X | X | X | X |
| EventNotifier | X | |||||||
| Ausführbare Datei | X | |||||||
| Historisierung | X | |||||||
| InverseName | X | |||||||
| Ist abstrakt | X | X | X | X | ||||
| Minimales Abtastintervall | X | |||||||
| Symmetrisch | X | |||||||
| Benutzerzugriffsebene | X | |||||||
| Benutzerausführbar | X | |||||||
| Benutzer-Schreibmaske | X | X | X | X | X | X | X | X |
| Wert | X | X | ||||||
| WertRang | X | X | ||||||
| Schreibmaske | X | X | X | X | X | X | X | X |
Siehe auch QOpcUaClient::addNode().
Dokumentation zu Mitgliedsfunktionen
QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes()
„Default“ erstellt ein Objekt mit Attributen zur Knotenerstellung, für das keine Parameter festgelegt sind.
QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes(const QOpcUaNodeCreationAttributes &other)
Erstellt ein Objekt mit den Attributen zur Knotenerstellung, dessen Werte aus „ other “ stammen.
QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::accessLevel() const
Gibt den Wert des Attributs „AccessLevel“ zurück.
Siehe auch setAccessLevel().
QList<quint32> QOpcUaNodeCreationAttributes::arrayDimensions() const
Gibt den Wert des Attributs „ArrayDimensions“ zurück.
Siehe auch „ setArrayDimensions()“.
bool QOpcUaNodeCreationAttributes::containsNoLoops() const
Gibt den Wert des Attributs „ContainsNoLoops“ zurück.
Siehe auch „ setContainsNoLoops()“.
QString QOpcUaNodeCreationAttributes::dataTypeId() const
Gibt den Wert des Attributs „DataType“ zurück.
Siehe auch „ setDataTypeId()“.
QOpcUaLocalizedText QOpcUaNodeCreationAttributes::description() const
Gibt den Wert des Attributs „Description“ zurück.
Siehe auch „ setDescription()“.
QOpcUaLocalizedText QOpcUaNodeCreationAttributes::displayName() const
Gibt den Wert des Attributs „DisplayName“ zurück.
Siehe auch „ setDisplayName()“.
QOpcUa::EventNotifier QOpcUaNodeCreationAttributes::eventNotifier() const
Gibt den Wert des Attributs „EventNotifier“ zurück.
Siehe auch „ setEventNotifier()“.
bool QOpcUaNodeCreationAttributes::executable() const
Gibt den Wert des Attributs „Executable“ zurück.
Siehe auch ` setExecutable()`.
bool QOpcUaNodeCreationAttributes::hasAccessLevel() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „AccessLevel“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasArrayDimensions() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „ArrayDimensions“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasContainsNoLoops() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „ContainsNoLoops“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasDataTypeId() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „DataType“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasDescription() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „Description“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasDisplayName() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „DisplayName“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasEventNotifier() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „EventNotifier“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasExecutable() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „Executable“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasHistorizing() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „Historizing“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasInverseName() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „InverseName“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasIsAbstract() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „IsAbstract“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasMinimumSamplingInterval() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „MinimumSamplingInterval“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasSymmetric() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „Symmetric“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasUserAccessLevel() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „UserAccessLevel“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasUserExecutable() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „UserExecutable“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasUserWriteMask() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „UserWriteMask“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasValue() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „Value“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasValueRank() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „ValueRank“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::hasWriteMask() const
Gibt „ true “ zurück, wenn ein Wert für das Attribut „WriteMask“ festgelegt ist.
bool QOpcUaNodeCreationAttributes::historizing() const
Gibt den Wert für das Attribut „Historizing“ zurück.
Siehe auch „ setHistorizing()“.
QOpcUaLocalizedText QOpcUaNodeCreationAttributes::inverseName() const
Gibt den Wert des Attributs „InverseName“ zurück.
Siehe auch „ setInverseName()“.
bool QOpcUaNodeCreationAttributes::isAbstract() const
Gibt den Wert des Attributs „IsAbstract“ zurück.
Siehe auch „ setIsAbstract()“.
double QOpcUaNodeCreationAttributes::minimumSamplingInterval() const
Gibt den Wert des Attributs „MinimumSamplingInterval“ zurück.
Siehe auch „ setMinimumSamplingInterval()“.
void QOpcUaNodeCreationAttributes::setAccessLevel(QOpcUa::AccessLevel accessLevel)
Setzt den Wert des Attributs „AccessLevel“ auf „ accessLevel “.
Siehe auch ` accessLevel()`.
void QOpcUaNodeCreationAttributes::setArrayDimensions(const QList<quint32> &arrayDimensions)
Setzt den Wert des Attributs „ArrayDimensions“ auf „ arrayDimensions “.
Siehe auch ` arrayDimensions()`.
void QOpcUaNodeCreationAttributes::setContainsNoLoops(bool containsNoLoops)
Setzt den Wert des Attributs „ContainsNoLoops“ auf „ containsNoLoops “.
Siehe auch ` containsNoLoops()`.
void QOpcUaNodeCreationAttributes::setDataTypeId(const QString &dataTypeId)
Legt den Wert für das Attribut „DataType“ auf „ dataTypeId “ fest.
Siehe auch ` dataTypeId()`.
void QOpcUaNodeCreationAttributes::setDescription(const QOpcUaLocalizedText &description)
Setzt den Wert des Attributs „Description“ auf „ description “.
Siehe auch description().
void QOpcUaNodeCreationAttributes::setDisplayName(const QOpcUaLocalizedText &displayName)
Legt den Wert für das Attribut „DisplayName“ auf „ displayName “ fest.
Siehe auch displayName().
void QOpcUaNodeCreationAttributes::setEventNotifier(QOpcUa::EventNotifier eventNotifier)
Setzt den Wert des Attributs „EventNotifier“ auf „ eventNotifier “.
Siehe auch ` eventNotifier()`.
void QOpcUaNodeCreationAttributes::setExecutable(bool executable)
Setzt den Wert des Attributs „Executable“ auf „ executable “.
Siehe auch executable().
void QOpcUaNodeCreationAttributes::setHistorizing(bool historizing)
Setzt den Wert des Attributs „Historizing“ auf „ historizing “.
Siehe auch ` historizing()`.
void QOpcUaNodeCreationAttributes::setInverseName(const QOpcUaLocalizedText &inverseName)
Setzt den Wert des Attributs „InverseName“ auf „ inverseName “.
Siehe auch inverseName().
void QOpcUaNodeCreationAttributes::setIsAbstract(bool isAbstract)
Setzt den Wert des Attributs „IsAbstract“ auf „ isAbstract “.
Siehe auch ` isAbstract()`.
void QOpcUaNodeCreationAttributes::setMinimumSamplingInterval(double minimumSamplingInterval)
Legt den Wert für das Attribut „MinimumSamplingInterval“ auf „ minimumSamplingInterval “ fest.
Siehe auch ` minimumSamplingInterval()`.
void QOpcUaNodeCreationAttributes::setSymmetric(bool symmetric)
Setzt den Wert des Attributs „Symmetric“ auf „ symmetric “.
Siehe auch „ symmetric()“.
void QOpcUaNodeCreationAttributes::setUserAccessLevel(QOpcUa::AccessLevel userAccessLevel)
Setzt den Wert des Attributs „UserAccessLevel“ auf „ userAccessLevel “.
Siehe auch „ userAccessLevel()“.
void QOpcUaNodeCreationAttributes::setUserExecutable(bool userExecutable)
Setzt den Wert des Attributs „UserExecutable“ auf „ userExecutable “.
Siehe auch userExecutable().
void QOpcUaNodeCreationAttributes::setUserWriteMask(QOpcUa::WriteMask userWriteMask)
Setzt den Wert des Attributs „UserWriteMask“ auf „ userWriteMask “.
Siehe auch userWriteMask().
void QOpcUaNodeCreationAttributes::setValue(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined)
Setzt den Wert des Attributs „Value“ auf „ value “ vom Typ „ type “.
Siehe auch „ value()“.
void QOpcUaNodeCreationAttributes::setValueRank(qint32 valueRank)
Setzt den Wert des Attributs „ValueRank“ auf „ valueRank “.
Siehe auch ` valueRank()`.
void QOpcUaNodeCreationAttributes::setWriteMask(QOpcUa::WriteMask writeMask)
Setzt den Wert des Attributs „WriteMask“ auf „ writeMask “.
Siehe auch ` writeMask()`.
bool QOpcUaNodeCreationAttributes::symmetric() const
Gibt den Wert für das Attribut „Symmetric“ zurück.
Siehe auch „ setSymmetric()“.
QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::userAccessLevel() const
Gibt den Wert des Attributs „UserAccessLevel“ zurück.
Siehe auch „ setUserAccessLevel()“.
bool QOpcUaNodeCreationAttributes::userExecutable() const
Gibt den Wert des Attributs „UserExecutable“ zurück.
Siehe auch „ setUserExecutable()“.
QOpcUa::WriteMask QOpcUaNodeCreationAttributes::userWriteMask() const
Gibt den Wert des Attributs „UserWriteMask“ zurück.
Siehe auch „ setUserWriteMask()“.
QVariant QOpcUaNodeCreationAttributes::value() const
Gibt den Wert für das Attribut „Value“ zurück.
Siehe auch „ setValue()“.
qint32 QOpcUaNodeCreationAttributes::valueRank() const
Gibt den Wert für das Attribut „ValueRank“ zurück.
Siehe auch „ setValueRank()“.
QOpcUa::Types QOpcUaNodeCreationAttributes::valueType() const
Gibt den Typ des Attributs „value“ zurück.
QOpcUa::WriteMask QOpcUaNodeCreationAttributes::writeMask() const
Gibt den Wert des Attributs „WriteMask“ zurück.
Siehe auch „ setWriteMask()“.
QOpcUaNodeCreationAttributes &QOpcUaNodeCreationAttributes::operator=(const QOpcUaNodeCreationAttributes &rhs)
Weist diesem Objekt mit den Attributen zur Knotenerstellung den Wert „ 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.