QOpcUaNodeCreationAttributes Class
Esta clase gestiona los valores de los atributos para la creación de nodos. Más...
| Cabecera: | #include <QOpcUaNodeCreationAttributes> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Funciones públicas
| 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) |
Descripción detallada
Esta clase contiene valores para los atributos de nodo que se pasan al servidor cuando se crea un nuevo nodo en el espacio de direcciones OPC UA.
Las diferentes clases de nodo admiten los siguientes atributos de nodo:
| Atributo | Objeto | Variable | Método | Tipo de objeto | TipoVariable | TipoReferencia | TipoDatos | Vista |
|---|---|---|---|---|---|---|---|---|
| Nivel de acceso | X | |||||||
| ArrayDimensions | X | X | ||||||
| ContainsNoLoops | X | |||||||
| TipoDatos | X | X | ||||||
| Descripción | X | X | X | X | X | X | X | X |
| Nombre para mostrar | X | X | X | X | X | X | X | X |
| EventNotifier | X | |||||||
| Ejecutable | X | |||||||
| Historización | X | |||||||
| Nombre inverso | X | |||||||
| IsAbstract | X | X | X | X | ||||
| MinimumSamplingInterval | X | |||||||
| Simétrico | X | |||||||
| UserAccessLevel | X | |||||||
| UserExecutable | X | |||||||
| UserWriteMask | X | X | X | X | X | X | X | X |
| Valor | X | X | ||||||
| ValorRango | X | X | ||||||
| WriteMask | X | X | X | X | X | X | X | X |
Véase también QOpcUaClient::addNode().
Documentación de las funciones miembro
QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes()
Por defecto construye un objeto de atributos de creación de nodo sin parámetros establecidos.
QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes(const QOpcUaNodeCreationAttributes &other)
Construye un objeto de atributos de creación de nodo con los valores de other.
QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::accessLevel() const
Devuelve el valor del atributo AccessLevel.
Véase también setAccessLevel().
QList<quint32> QOpcUaNodeCreationAttributes::arrayDimensions() const
Devuelve el valor del atributo ArrayDimensions.
Véase también setArrayDimensions().
bool QOpcUaNodeCreationAttributes::containsNoLoops() const
Devuelve el valor del atributo ContainsNoLoops.
Véase también setContainsNoLoops().
QString QOpcUaNodeCreationAttributes::dataTypeId() const
Devuelve el valor del atributo DataType.
Véase también setDataTypeId().
QOpcUaLocalizedText QOpcUaNodeCreationAttributes::description() const
Devuelve el valor del atributo Descripción.
Véase también setDescription().
QOpcUaLocalizedText QOpcUaNodeCreationAttributes::displayName() const
Devuelve el valor del atributo DisplayName.
Véase también setDisplayName().
QOpcUa::EventNotifier QOpcUaNodeCreationAttributes::eventNotifier() const
Devuelve el valor del atributo EventNotifier.
Véase también setEventNotifier().
bool QOpcUaNodeCreationAttributes::executable() const
Devuelve el valor del atributo Executable.
Véase también setExecutable().
bool QOpcUaNodeCreationAttributes::hasAccessLevel() const
Devuelve true si se ha establecido un valor para el atributo AccessLevel.
bool QOpcUaNodeCreationAttributes::hasArrayDimensions() const
Devuelve true si se establece un valor para el atributo ArrayDimensions.
bool QOpcUaNodeCreationAttributes::hasContainsNoLoops() const
Devuelve true si se establece un valor para el atributo ContainsNoLoops.
bool QOpcUaNodeCreationAttributes::hasDataTypeId() const
Devuelve true si se establece un valor para el atributo DataType.
bool QOpcUaNodeCreationAttributes::hasDescription() const
Devuelve true si se ha establecido un valor para el atributo Description.
bool QOpcUaNodeCreationAttributes::hasDisplayName() const
Devuelve true si se ha establecido un valor para el atributo DisplayName.
bool QOpcUaNodeCreationAttributes::hasEventNotifier() const
Devuelve true si se establece un valor para el atributo EventNotifier.
bool QOpcUaNodeCreationAttributes::hasExecutable() const
Devuelve true si se establece un valor para el atributo Executable.
bool QOpcUaNodeCreationAttributes::hasHistorizing() const
Devuelve true si se ha establecido un valor para el atributo Historizing.
bool QOpcUaNodeCreationAttributes::hasInverseName() const
Devuelve true si se ha establecido un valor para el atributo InverseName.
bool QOpcUaNodeCreationAttributes::hasIsAbstract() const
Devuelve true si se establece un valor para el atributo IsAbstract.
bool QOpcUaNodeCreationAttributes::hasMinimumSamplingInterval() const
Devuelve true si se ha establecido un valor para el atributo MinimumSamplingInterval.
bool QOpcUaNodeCreationAttributes::hasSymmetric() const
Devuelve true si se ha establecido un valor para el atributo Symmetric.
bool QOpcUaNodeCreationAttributes::hasUserAccessLevel() const
Devuelve true si se ha establecido un valor para el atributo UserAccessLevel.
bool QOpcUaNodeCreationAttributes::hasUserExecutable() const
Devuelve true si se establece un valor para el atributo UserExecutable.
bool QOpcUaNodeCreationAttributes::hasUserWriteMask() const
Devuelve true si se ha establecido un valor para el atributo UserWriteMask.
bool QOpcUaNodeCreationAttributes::hasValue() const
Devuelve true si se establece un valor para el atributo Valor.
bool QOpcUaNodeCreationAttributes::hasValueRank() const
Devuelve true si se establece un valor para el atributo ValueRank.
bool QOpcUaNodeCreationAttributes::hasWriteMask() const
Devuelve true si se ha establecido un valor para el atributo WriteMask.
bool QOpcUaNodeCreationAttributes::historizing() const
Devuelve el valor del atributo Historización.
Véase también setHistorizing().
QOpcUaLocalizedText QOpcUaNodeCreationAttributes::inverseName() const
Devuelve el valor del atributo InverseName.
Véase también setInverseName().
bool QOpcUaNodeCreationAttributes::isAbstract() const
Devuelve el valor del atributo IsAbstract.
Véase también setIsAbstract().
double QOpcUaNodeCreationAttributes::minimumSamplingInterval() const
Devuelve el valor del atributo MinimumSamplingInterval.
Véase también setMinimumSamplingInterval().
void QOpcUaNodeCreationAttributes::setAccessLevel(QOpcUa::AccessLevel accessLevel)
Establece el valor del atributo AccessLevel en accessLevel.
Véase también accessLevel().
void QOpcUaNodeCreationAttributes::setArrayDimensions(const QList<quint32> &arrayDimensions)
Establece el valor del atributo ArrayDimensions en arrayDimensions.
Véase también arrayDimensions().
void QOpcUaNodeCreationAttributes::setContainsNoLoops(bool containsNoLoops)
Establece el valor del atributo ContainsNoLoops en containsNoLoops.
Véase también containsNoLoops().
void QOpcUaNodeCreationAttributes::setDataTypeId(const QString &dataTypeId)
Establece el valor del atributo DataType en dataTypeId.
Véase también dataTypeId().
void QOpcUaNodeCreationAttributes::setDescription(const QOpcUaLocalizedText &description)
Establece el valor del atributo Description en description.
Véase también description().
void QOpcUaNodeCreationAttributes::setDisplayName(const QOpcUaLocalizedText &displayName)
Establece el valor del atributo DisplayName en displayName.
Véase también displayName().
void QOpcUaNodeCreationAttributes::setEventNotifier(QOpcUa::EventNotifier eventNotifier)
Establece el valor del atributo EventNotifier en eventNotifier.
Véase también eventNotifier().
void QOpcUaNodeCreationAttributes::setExecutable(bool executable)
Establece el valor del atributo Executable en executable.
Véase también executable().
void QOpcUaNodeCreationAttributes::setHistorizing(bool historizing)
Establece el valor del atributo Historizing en historizing.
Véase también historizing().
void QOpcUaNodeCreationAttributes::setInverseName(const QOpcUaLocalizedText &inverseName)
Establece el valor del atributo InverseName en inverseName.
Véase también inverseName().
void QOpcUaNodeCreationAttributes::setIsAbstract(bool isAbstract)
Establece el valor del atributo IsAbstract en isAbstract.
Véase también isAbstract().
void QOpcUaNodeCreationAttributes::setMinimumSamplingInterval(double minimumSamplingInterval)
Establece el valor del atributo MinimumSamplingInterval en minimumSamplingInterval.
Véase también minimumSamplingInterval().
void QOpcUaNodeCreationAttributes::setSymmetric(bool symmetric)
Establece el valor del atributo Symmetric en symmetric.
Véase también symmetric().
void QOpcUaNodeCreationAttributes::setUserAccessLevel(QOpcUa::AccessLevel userAccessLevel)
Establece el valor del atributo UserAccessLevel en userAccessLevel.
Véase también userAccessLevel().
void QOpcUaNodeCreationAttributes::setUserExecutable(bool userExecutable)
Establece el valor del atributo UserExecutable en userExecutable.
Véase también userExecutable().
void QOpcUaNodeCreationAttributes::setUserWriteMask(QOpcUa::WriteMask userWriteMask)
Establece el valor del atributo UserWriteMask en userWriteMask.
Véase también userWriteMask().
void QOpcUaNodeCreationAttributes::setValue(const QVariant &value, QOpcUa::Types type = QOpcUa::Types::Undefined)
Establece el valor del atributo Value en value de tipo type.
Véase también value().
void QOpcUaNodeCreationAttributes::setValueRank(qint32 valueRank)
Establece el valor del atributo ValueRank en valueRank.
Véase también valueRank().
void QOpcUaNodeCreationAttributes::setWriteMask(QOpcUa::WriteMask writeMask)
Establece el valor del atributo WriteMask en writeMask.
Véase también writeMask().
bool QOpcUaNodeCreationAttributes::symmetric() const
Devuelve el valor del atributo Symmetric.
Véase también setSymmetric().
QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::userAccessLevel() const
Devuelve el valor del atributo UserAccessLevel.
Véase también setUserAccessLevel().
bool QOpcUaNodeCreationAttributes::userExecutable() const
Devuelve el valor del atributo UserExecutable.
Véase también setUserExecutable().
QOpcUa::WriteMask QOpcUaNodeCreationAttributes::userWriteMask() const
Devuelve el valor del atributo UserWriteMask.
Véase también setUserWriteMask().
QVariant QOpcUaNodeCreationAttributes::value() const
Devuelve el valor del atributo Valor.
Véase también setValue().
qint32 QOpcUaNodeCreationAttributes::valueRank() const
Devuelve el valor del atributo ValueRank.
Véase también setValueRank().
QOpcUa::Types QOpcUaNodeCreationAttributes::valueType() const
Devuelve el tipo del atributo value.
QOpcUa::WriteMask QOpcUaNodeCreationAttributes::writeMask() const
Devuelve el valor del atributo WriteMask.
Véase también setWriteMask().
QOpcUaNodeCreationAttributes &QOpcUaNodeCreationAttributes::operator=(const QOpcUaNodeCreationAttributes &rhs)
Asigna el valor de rhs a este objeto de atributos de creación de nodos.
© 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.