In questa pagina

QOpcUaNodeCreationAttributes Class

Questa classe gestisce i valori degli attributi per la creazione dei nodi. Per saperne di più...

Intestazione: #include <QOpcUaNodeCreationAttributes>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

Funzioni pubbliche

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)

Descrizione dettagliata

Questa classe contiene i valori degli attributi dei nodi che vengono trasmessi al server durante la creazione di un nuovo nodo nello spazio degli indirizzi OPC UA.

Le diverse classi di nodi supportano i seguenti attributi dei nodi:

AttributoOggettoVariabileMetodoTipo di oggettoTipo di variabileTipo di riferimentoTipo di datiVista
Livello di accessoX
Dimensioni dell'arrayXX
Non contiene cicliX
Tipo di datiXX
DescrizioneXXXXXXXX
Nome visualizzatoXXXXXXXX
EventNotifierX
EseguibileX
ArchiviazioneX
Nome inversoX
È astrattoXXXX
IntervalloMinimoDiCampionamentoX
SimmetricoX
Livello di accesso utenteX
Eseguibile dall'utenteX
Maschera di scrittura utenteXXXXXXXX
ValoreXX
ValoreRankXX
WriteMaskXXXXXXXX

Vedi anche QOpcUaClient::addNode().

Documentazione sulle funzioni membro

QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes()

Default crea un oggetto contenente gli attributi di creazione del nodo senza impostare alcun parametro.

QOpcUaNodeCreationAttributes::QOpcUaNodeCreationAttributes(const QOpcUaNodeCreationAttributes &other)

Crea un oggetto contenente gli attributi di creazione del nodo con i valori di other.

QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::accessLevel() const

Restituisce il valore dell'attributo AccessLevel.

Vedi anche setAccessLevel().

QList<quint32> QOpcUaNodeCreationAttributes::arrayDimensions() const

Restituisce il valore dell'attributo ArrayDimensions.

Vedi anche setArrayDimensions().

bool QOpcUaNodeCreationAttributes::containsNoLoops() const

Restituisce il valore dell'attributo ContainsNoLoops.

Vedi anche setContainsNoLoops().

QString QOpcUaNodeCreationAttributes::dataTypeId() const

Restituisce il valore dell'attributo DataType.

Vedi anche setDataTypeId().

QOpcUaLocalizedText QOpcUaNodeCreationAttributes::description() const

Restituisce il valore dell'attributo "Description".

Vedi anche setDescription().

QOpcUaLocalizedText QOpcUaNodeCreationAttributes::displayName() const

Restituisce il valore dell'attributo DisplayName.

Vedi anche setDisplayName().

QOpcUa::EventNotifier QOpcUaNodeCreationAttributes::eventNotifier() const

Restituisce il valore dell'attributo EventNotifier.

Vedi anche setEventNotifier().

bool QOpcUaNodeCreationAttributes::executable() const

Restituisce il valore dell'attributo "Executable".

Vedi anche setExecutable().

bool QOpcUaNodeCreationAttributes::hasAccessLevel() const

Restituisce " true " se è stato impostato un valore per l'attributo "AccessLevel".

bool QOpcUaNodeCreationAttributes::hasArrayDimensions() const

Restituisce " true " se è stato impostato un valore per l'attributo ArrayDimensions.

bool QOpcUaNodeCreationAttributes::hasContainsNoLoops() const

Restituisce " true " se è stato impostato un valore per l'attributo "ContainsNoLoops".

bool QOpcUaNodeCreationAttributes::hasDataTypeId() const

Restituisce " true " se è stato impostato un valore per l'attributo DataType.

bool QOpcUaNodeCreationAttributes::hasDescription() const

Restituisce " true " se è stato impostato un valore per l'attributo "Description".

bool QOpcUaNodeCreationAttributes::hasDisplayName() const

Restituisce " true " se è stato impostato un valore per l'attributo DisplayName.

bool QOpcUaNodeCreationAttributes::hasEventNotifier() const

Restituisce " true " se è stato impostato un valore per l'attributo EventNotifier.

bool QOpcUaNodeCreationAttributes::hasExecutable() const

Restituisce " true " se è stato impostato un valore per l'attributo "Executable".

bool QOpcUaNodeCreationAttributes::hasHistorizing() const

Restituisce " true " se è stato impostato un valore per l'attributo "Historizing".

bool QOpcUaNodeCreationAttributes::hasInverseName() const

Restituisce " true " se è stato impostato un valore per l'attributo InverseName.

bool QOpcUaNodeCreationAttributes::hasIsAbstract() const

Restituisce " true " se è stato impostato un valore per l'attributo IsAbstract.

bool QOpcUaNodeCreationAttributes::hasMinimumSamplingInterval() const

Restituisce " true " se è stato impostato un valore per l'attributo MinimumSamplingInterval.

bool QOpcUaNodeCreationAttributes::hasSymmetric() const

Restituisce " true " se è stato impostato un valore per l'attributo "Symmetric".

bool QOpcUaNodeCreationAttributes::hasUserAccessLevel() const

Restituisce " true " se è stato impostato un valore per l'attributo UserAccessLevel.

bool QOpcUaNodeCreationAttributes::hasUserExecutable() const

Restituisce " true " se è stato impostato un valore per l'attributo UserExecutable.

bool QOpcUaNodeCreationAttributes::hasUserWriteMask() const

Restituisce " true " se è stato impostato un valore per l'attributo UserWriteMask.

bool QOpcUaNodeCreationAttributes::hasValue() const

Restituisce " true " se è stato impostato un valore per l'attributo "Value".

bool QOpcUaNodeCreationAttributes::hasValueRank() const

Restituisce “ true ” se è stato impostato un valore per l’attributo ValueRank.

bool QOpcUaNodeCreationAttributes::hasWriteMask() const

Restituisce " true " se è stato impostato un valore per l'attributo WriteMask.

bool QOpcUaNodeCreationAttributes::historizing() const

Restituisce il valore dell'attributo "Historizing".

Vedi anche setHistorizing().

QOpcUaLocalizedText QOpcUaNodeCreationAttributes::inverseName() const

Restituisce il valore dell'attributo InverseName.

Vedi anche setInverseName().

bool QOpcUaNodeCreationAttributes::isAbstract() const

Restituisce il valore dell'attributo IsAbstract.

Vedi anche setIsAbstract().

double QOpcUaNodeCreationAttributes::minimumSamplingInterval() const

Restituisce il valore dell'attributo MinimumSamplingInterval.

Vedi anche setMinimumSamplingInterval().

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

Imposta il valore dell'attributo AccessLevel su " accessLevel".

Vedi anche accessLevel().

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

Imposta il valore dell'attributo ArrayDimensions su arrayDimensions.

Vedi anche arrayDimensions().

void QOpcUaNodeCreationAttributes::setContainsNoLoops(bool containsNoLoops)

Imposta il valore dell'attributo ContainsNoLoops su containsNoLoops.

Vedi anche containsNoLoops().

void QOpcUaNodeCreationAttributes::setDataTypeId(const QString &dataTypeId)

Imposta il valore dell'attributo DataType su dataTypeId.

Vedi anche dataTypeId().

void QOpcUaNodeCreationAttributes::setDescription(const QOpcUaLocalizedText &description)

Imposta il valore dell'attributo "Description" su " description".

Vedi anche description().

void QOpcUaNodeCreationAttributes::setDisplayName(const QOpcUaLocalizedText &displayName)

Imposta il valore dell'attributo DisplayName su displayName.

Vedi anche displayName().

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

Imposta il valore dell'attributo EventNotifier su eventNotifier.

Vedi anche eventNotifier().

void QOpcUaNodeCreationAttributes::setExecutable(bool executable)

Imposta il valore dell'attributo "Executable" su " executable".

Vedi anche executable().

void QOpcUaNodeCreationAttributes::setHistorizing(bool historizing)

Imposta il valore dell'attributo "Historizing" su " historizing".

Vedi anche historizing().

void QOpcUaNodeCreationAttributes::setInverseName(const QOpcUaLocalizedText &inverseName)

Imposta il valore dell'attributo InverseName su inverseName.

Vedi anche inverseName().

void QOpcUaNodeCreationAttributes::setIsAbstract(bool isAbstract)

Imposta il valore dell'attributo IsAbstract su isAbstract.

Vedi anche isAbstract().

void QOpcUaNodeCreationAttributes::setMinimumSamplingInterval(double minimumSamplingInterval)

Imposta il valore dell'attributo MinimumSamplingInterval su minimumSamplingInterval.

Vedi anche minimumSamplingInterval().

void QOpcUaNodeCreationAttributes::setSymmetric(bool symmetric)

Imposta il valore dell'attributo Symmetric su symmetric.

Vedi anche symmetric().

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

Imposta il valore dell'attributo UserAccessLevel su userAccessLevel.

Vedi anche userAccessLevel().

void QOpcUaNodeCreationAttributes::setUserExecutable(bool userExecutable)

Imposta il valore dell'attributo UserExecutable su userExecutable.

Vedi anche userExecutable().

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

Imposta il valore dell'attributo UserWriteMask su userWriteMask.

Vedi anche userWriteMask().

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

Imposta il valore dell'attributo "Value" su " value " di tipo " type".

Vedi anche value().

void QOpcUaNodeCreationAttributes::setValueRank(qint32 valueRank)

Imposta il valore dell'attributo ValueRank su valueRank.

Vedi anche valueRank().

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

Imposta il valore dell'attributo WriteMask su writeMask.

Vedi anche writeMask().

bool QOpcUaNodeCreationAttributes::symmetric() const

Restituisce il valore dell'attributo Symmetric.

Vedi anche setSymmetric().

QOpcUa::AccessLevel QOpcUaNodeCreationAttributes::userAccessLevel() const

Restituisce il valore dell'attributo UserAccessLevel.

Vedi anche setUserAccessLevel().

bool QOpcUaNodeCreationAttributes::userExecutable() const

Restituisce il valore dell'attributo UserExecutable.

Vedi anche setUserExecutable().

QOpcUa::WriteMask QOpcUaNodeCreationAttributes::userWriteMask() const

Restituisce il valore dell'attributo UserWriteMask.

Vedi anche setUserWriteMask().

QVariant QOpcUaNodeCreationAttributes::value() const

Restituisce il valore dell'attributo Value.

Vedi anche setValue().

qint32 QOpcUaNodeCreationAttributes::valueRank() const

Restituisce il valore dell'attributo ValueRank.

Vedi anche setValueRank().

QOpcUa::Types QOpcUaNodeCreationAttributes::valueType() const

Restituisce il tipo dell'attributo "value".

QOpcUa::WriteMask QOpcUaNodeCreationAttributes::writeMask() const

Restituisce il valore dell'attributo WriteMask.

Vedi anche setWriteMask().

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

Assegna il valore di “ rhs ” all’oggetto degli attributi di creazione di questo nodo.

© 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.