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)

Detaillierte Beschreibung

Diese Klasse enthält Werte für Knotenattribute, die an den Server übergeben werden, wenn ein neuer Knoten im OPC UA Adressraum erstellt wird.

Die folgenden Knotenattribute werden von den verschiedenen Knotenklassen unterstützt:

AttributObjektVariableMethodeObjektTypVariablenTypReferenzTypDatenTypAnsicht
AccessLevelX
ArrayDimensionsXX
EnthältkeineSchleifenX
DatenTypXX
BeschreibungXXXXXXXX
AnzeigenameXXXXXXXX
EreignisBenachrichtigerX
AusführbarX
HistorisierendX
Umgekehrter NameX
IsAbstractXXXX
MinimumSamplingIntervallX
SymmetrischX
UserAccessLevelX
BenutzerAusführbarX
UserWriteMaskXXXXXXXX
WertXX
WertRangXX
SchreibMaskeXXXXXXXX

Siehe auch QOpcUaClient::addNode().

Dokumentation der Mitgliedsfunktionen

QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes()

Standard konstruiert ein Knotenerstellungsattribut-Objekt ohne gesetzte Parameter.

QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes(const QOpcUaNodeCreationAttributes &other)

Konstruiert ein Knotenerstellungsattribut-Objekt mit den Werten von other.

QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::accessLevel() const

Gibt den Wert für das Attribut AccessLevel zurück.

Siehe auch setAccessLevel().

QList<quint32> QOpcUaNodeCreationAttributes::arrayDimensions() const

Gibt den Wert für das Attribut ArrayDimensions zurück.

Siehe auch setArrayDimensions().

bool QOpcUaNodeCreationAttributes::containsNoLoops() const

Gibt den Wert für das Attribut ContainsNoLoops zurück.

Siehe auch setContainsNoLoops().

QString QOpcUaNodeCreationAttributes::dataTypeId() const

Gibt den Wert für das Attribut DataType zurück.

Siehe auch setDataTypeId().

QOpcUaLocalizedText QOpcUaNodeCreationAttributes::description() const

Gibt den Wert für das Attribut Beschreibung zurück.

Siehe auch setDescription().

QOpcUaLocalizedText QOpcUaNodeCreationAttributes::displayName() const

Gibt den Wert für das Attribut DisplayName zurück.

Siehe auch setDisplayName().

QOpcUa::EventNotifier QOpcUaNodeCreationAttributes::eventNotifier() const

Gibt den Wert für das Attribut EventNotifier zurück.

Siehe auch setEventNotifier().

bool QOpcUaNodeCreationAttributes::executable() const

Gibt den Wert für das Attribut Ausführbar zurück.

Siehe auch setExecutable().

bool QOpcUaNodeCreationAttributes::hasAccessLevel() const

Gibt true zurück, wenn ein Wert für das AccessLevel-Attribut gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasArrayDimensions() const

Gibt true zurück, wenn ein Wert für das Attribut ArrayDimensions gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasContainsNoLoops() const

Gibt true zurück, wenn ein Wert für das Attribut ContainsNoLoops gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasDataTypeId() const

Gibt true zurück, wenn ein Wert für das Attribut DataType gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasDescription() const

Gibt true zurück, wenn ein Wert für das Attribut Beschreibung gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasDisplayName() const

Gibt true zurück, wenn ein Wert für das Attribut DisplayName gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasEventNotifier() const

Gibt true zurück, wenn ein Wert für das Attribut EventNotifier gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasExecutable() const

Gibt true zurück, wenn ein Wert für das Attribut Ausführbar gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasHistorizing() const

Gibt true zurück, wenn ein Wert für das Attribut Historizing gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasInverseName() const

Gibt true zurück, wenn ein Wert für das Attribut InverseName gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasIsAbstract() const

Gibt true zurück, wenn ein Wert für das Attribut IsAbstract gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasMinimumSamplingInterval() const

Gibt true zurück, wenn ein Wert für das Attribut MinimumSamplingInterval gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasSymmetric() const

Gibt true zurück, wenn ein Wert für das Attribut Symmetric gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasUserAccessLevel() const

Gibt true zurück, wenn ein Wert für das UserAccessLevel-Attribut gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasUserExecutable() const

Gibt true zurück, wenn ein Wert für das Attribut UserExecutable gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasUserWriteMask() const

Gibt true zurück, wenn ein Wert für das Attribut UserWriteMask gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasValue() const

Gibt true zurück, wenn ein Wert für das Attribut Value gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasValueRank() const

Gibt true zurück, wenn ein Wert für das Attribut ValueRank gesetzt ist.

bool QOpcUaNodeCreationAttributes::hasWriteMask() const

Gibt true zurück, wenn ein Wert für das Attribut WriteMask gesetzt 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 für das Attribut InverseName zurück.

Siehe auch setInverseName().

bool QOpcUaNodeCreationAttributes::isAbstract() const

Gibt den Wert für das Attribut IsAbstract zurück.

Siehe auch setIsAbstract().

double QOpcUaNodeCreationAttributes::minimumSamplingInterval() const

Gibt den Wert für das Attribut MinimumSamplingInterval zurück.

Siehe auch setMinimumSamplingInterval().

void QOpcUaNodeCreationAttributes::setAccessLevel(QOpcUa::AccessLevel accessLevel)

Setzt den Wert für das Attribut AccessLevel auf accessLevel.

Siehe auch accessLevel().

void QOpcUaNodeCreationAttributes::setArrayDimensions(const QList<quint32> &arrayDimensions)

Setzt den Wert für das Attribut ArrayDimensions auf arrayDimensions.

Siehe auch arrayDimensions().

void QOpcUaNodeCreationAttributes::setContainsNoLoops(bool containsNoLoops)

Setzt den Wert für das Attribut ContainsNoLoops auf containsNoLoops.

Siehe auch containsNoLoops().

void QOpcUaNodeCreationAttributes::setDataTypeId(const QString &dataTypeId)

Setzt den Wert für das Attribut DataType auf dataTypeId.

Siehe auch dataTypeId().

void QOpcUaNodeCreationAttributes::setDescription(const QOpcUaLocalizedText &description)

Setzt den Wert für das Attribut Beschreibung auf description.

Siehe auch description().

void QOpcUaNodeCreationAttributes::setDisplayName(const QOpcUaLocalizedText &displayName)

Setzt den Wert für das Attribut DisplayName auf displayName.

Siehe auch displayName().

void QOpcUaNodeCreationAttributes::setEventNotifier(QOpcUa::EventNotifier eventNotifier)

Setzt den Wert für das Attribut EventNotifier auf eventNotifier.

Siehe auch eventNotifier().

void QOpcUaNodeCreationAttributes::setExecutable(bool executable)

Setzt den Wert für das Attribut Ausführbar auf executable.

Siehe auch executable().

void QOpcUaNodeCreationAttributes::setHistorizing(bool historizing)

Setzt den Wert für das Attribut Historisierung auf historizing.

Siehe auch historizing().

void QOpcUaNodeCreationAttributes::setInverseName(const QOpcUaLocalizedText &inverseName)

Setzt den Wert für das Attribut InverseName auf inverseName.

Siehe auch inverseName().

void QOpcUaNodeCreationAttributes::setIsAbstract(bool isAbstract)

Setzt den Wert für das Attribut IsAbstract auf isAbstract.

Siehe auch isAbstract().

void QOpcUaNodeCreationAttributes::setMinimumSamplingInterval(double minimumSamplingInterval)

Setzt den Wert für das Attribut MinimumSamplingInterval auf minimumSamplingInterval.

Siehe auch minimumSamplingInterval().

void QOpcUaNodeCreationAttributes::setSymmetric(bool symmetric)

Setzt den Wert für das Attribut Symmetric auf symmetric.

Siehe auch symmetric().

void QOpcUaNodeCreationAttributes::setUserAccessLevel(QOpcUa::AccessLevel userAccessLevel)

Setzt den Wert für das Attribut UserAccessLevel auf userAccessLevel.

Siehe auch userAccessLevel().

void QOpcUaNodeCreationAttributes::setUserExecutable(bool userExecutable)

Setzt den Wert für das Attribut UserExecutable auf userExecutable.

Siehe auch userExecutable().

void QOpcUaNodeCreationAttributes::setUserWriteMask(QOpcUa::WriteMask userWriteMask)

Setzt den Wert für das Attribut UserWriteMask auf userWriteMask.

Siehe auch userWriteMask().

void QOpcUaNodeCreationAttributes::setValue(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined)

Setzt den Wert für das Attribut Value auf value vom Typ type.

Siehe auch value().

void QOpcUaNodeCreationAttributes::setValueRank(qint32 valueRank)

Setzt den Wert für das Attribut ValueRank auf valueRank.

Siehe auch valueRank().

void QOpcUaNodeCreationAttributes::setWriteMask(QOpcUa::WriteMask writeMask)

Setzt den Wert für das Attribut 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 für das Attribut UserAccessLevel zurück.

Siehe auch setUserAccessLevel().

bool QOpcUaNodeCreationAttributes::userExecutable() const

Gibt den Wert für das Attribut UserExecutable zurück.

Siehe auch setUserExecutable().

QOpcUa::WriteMask QOpcUaNodeCreationAttributes::userWriteMask() const

Gibt den Wert für das Attribut 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 für das Attribut WriteMask zurück.

Siehe auch setWriteMask().

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

Weist diesem Knotenerstellungsattributobjekt den Wert 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.