QOpcUa Namespace
The QOpcUa namespace contains miscellaneous identifiers used throughout the Qt OPC UA library. More...
Header: | #include <QOpcUa> |
Namespaces
namespace | NodeIds |
Types
flags | AccessLevel |
enum class | AccessLevelBit { None, CurrentRead, CurrentWrite, HistoryRead, HistoryWrite, …, TimestampWrite } |
flags | AccessLevelEx |
(since 6.9) enum class | AccessLevelExBit { None, CurrentRead, CurrentWrite, HistoryRead, HistoryWrite, …, Constant } |
enum class | AxisScale { Linear, Log, Ln } |
enum class | ErrorCategory { NoError, NodeError, AttributeError, PermissionError, ArgumentError, …, UnspecifiedError } |
flags | EventNotifier |
enum class | EventNotifierBit { None, SubscribeToEvents, HistoryRead, HistoryWrite } |
enum class | NodeAttribute { None, NodeId, NodeClass, BrowseName, DisplayName, …, AccessLevelEx } |
flags | NodeAttributes |
enum class | NodeClass { Undefined, Object, Variable, Method, ObjectType, …, View } |
flags | NodeClasses |
enum class | ReferenceTypeId { Unspecified, References, NonHierarchicalReferences, HierarchicalReferences, HasChild, …, HasReferenceDescription } |
(since 6.7) enum class | TimestampsToReturn { Source, Server, Both, Neither, Invalid } |
TypedVariant | |
enum | Types { Boolean, Int32, UInt32, Double, Float, …, Undefined } |
enum | UaStatusCode { Good, Uncertain, Bad, BadUnexpectedError, BadInternalError, …, BadDataSetIdInvalid } |
flags | WriteMask |
enum class | WriteMaskBit { None, AccessLevel, ArrayDimensions, BrowseName, ContainsNoLoops, …, AccessLevelEx } |
Functions
QOpcUa::ErrorCategory | errorCategory(QOpcUa::UaStatusCode statusCode) |
(since QtOpcUa 5.14) bool | isSecurePolicy(const QString &securityPolicy) |
bool | isSuccessStatus(QOpcUa::UaStatusCode statusCode) |
QOpcUa::Types | metaTypeToQOpcUaType(QMetaType::Type type) |
QString | namespace0Id(QOpcUa::NodeIds::Namespace0 id) |
QOpcUa::NodeIds::Namespace0 | namespace0IdFromNodeId(const QString &nodeId) |
QString | namespace0IdName(QOpcUa::NodeIds::Namespace0 id) |
bool | nodeIdEquals(const QString &first, const QString &second) |
QString | nodeIdFromByteString(quint16 ns, const QByteArray &identifier) |
QString | nodeIdFromGuid(quint16 ns, const QUuid &identifier) |
QString | nodeIdFromInteger(quint16 ns, quint32 identifier) |
QString | nodeIdFromReferenceType(QOpcUa::ReferenceTypeId referenceType) |
QString | nodeIdFromString(quint16 ns, const QString &identifier) |
bool | nodeIdStringSplit(const QString &nodeIdString, quint16 *nsIndex, QString *identifier, char *identifierType) |
size_t | qHash(const QOpcUa::NodeAttribute &attr) |
QString | statusToString(QOpcUa::UaStatusCode statusCode) |
Namespaces
namespace QOpcUa::NodeIds
Type Documentation
enum class QOpcUa::AccessLevelBit
flags QOpcUa::AccessLevel
This enum contains all possible bits for the AccessLevel and UserAccessLevel node attributes defined in OPC UA 1.05 part 3, 8.57.
Constant | Value | Description |
---|---|---|
QOpcUa::AccessLevelBit::None | 0 | No read access to the Value attribute is permitted. |
QOpcUa::AccessLevelBit::CurrentRead | (1 << 0) | The current value can be read. |
QOpcUa::AccessLevelBit::CurrentWrite | (1 << 1) | The current value can be written. |
QOpcUa::AccessLevelBit::HistoryRead | (1 << 2) | The history of the value is readable. |
QOpcUa::AccessLevelBit::HistoryWrite | (1 << 3) | The history of the value is writable. |
QOpcUa::AccessLevelBit::SemanticChange | (1 << 4) | The property variable generates SemanticChangeEvents. |
QOpcUa::AccessLevelBit::StatusWrite | (1 << 5) | The status code of the value is writable. |
QOpcUa::AccessLevelBit::TimestampWrite | (1 << 6) | The SourceTimestamp is writable. |
The AccessLevel type is a typedef for QFlags<AccessLevelBit>. It stores an OR combination of AccessLevelBit values.
[since 6.9]
enum class QOpcUa::AccessLevelExBit
flags QOpcUa::AccessLevelEx
This enum contains all possible bits for the AccessLevelEx node attribute defined in OPC UA 1.05 part 3, 8.58.
Constant | Value | Description |
---|---|---|
QOpcUa::AccessLevelExBit::None | 0 | No read access to the Value attribute is permitted. |
QOpcUa::AccessLevelExBit::CurrentRead | (1 << 0) | The current value can be read. |
QOpcUa::AccessLevelExBit::CurrentWrite | (1 << 1) | The current value can be written. |
QOpcUa::AccessLevelExBit::HistoryRead | (1 << 2) | The history of the value is readable. |
QOpcUa::AccessLevelExBit::HistoryWrite | (1 << 3) | The history of the value is writable. |
QOpcUa::AccessLevelExBit::SemanticChange | (1 << 4) | The property variable generates SemanticChangeEvents. |
QOpcUa::AccessLevelExBit::StatusWrite | (1 << 5) | The status code of the value is writable. |
QOpcUa::AccessLevelExBit::TimestampWrite | (1 << 6) | The SourceTimestamp is writable. |
QOpcUa::AccessLevelExBit::NonatomicRead | (1 << 8) | Indicates if the read is non-atomic. |
QOpcUa::AccessLevelExBit::NonatomicWrite | (1 << 9) | Indicates if the write is non-atomic. |
QOpcUa::AccessLevelExBit::WriteFullArrayOnly | (1 << 10) | Indicates if writing an index range of an array is supported. |
QOpcUa::AccessLevelExBit::NoSubDataTypes | (1 << 11) | Indicates if a write also accepts subtypes of the type. |
QOpcUa::AccessLevelExBit::NonVolatile | (1 << 12) | Indicates if the variable is volatile. |
QOpcUa::AccessLevelExBit::Constant | (1 << 13) | Indicates if the variable's value is constant. |
This enum was introduced in Qt 6.9.
The AccessLevelEx type is a typedef for QFlags<AccessLevelExBit>. It stores an OR combination of AccessLevelExBit values.
enum class QOpcUa::AxisScale
The AxisScale enum as defined by OPC UA 1.05 part 8, 5.6.7.
Constant | Value |
---|---|
QOpcUa::AxisScale::Linear | 0 |
QOpcUa::AxisScale::Log | 1 |
QOpcUa::AxisScale::Ln | 2 |
enum class QOpcUa::ErrorCategory
This enum contains simplified categories for OPC UA errors.
Constant | Value | Description |
---|---|---|
QOpcUa::ErrorCategory::NoError | 0 | The operation has been successful. |
QOpcUa::ErrorCategory::NodeError | 1 | There is a problem with the node, e. g. it does not exist. |
QOpcUa::ErrorCategory::AttributeError | 2 | The attributes to operate on where invalid. |
QOpcUa::ErrorCategory::PermissionError | 3 | The user did not have the permission to perform the operation. |
QOpcUa::ErrorCategory::ArgumentError | 4 | The arguments supplied by the user were invalid or incomplete. |
QOpcUa::ErrorCategory::TypeError | 5 | There has been a type mismatch for a write operation. |
QOpcUa::ErrorCategory::ConnectionError | 6 | Communication with the server did not work as expected. |
QOpcUa::ErrorCategory::UnspecifiedError | 7 | Any error that is not categorized. The detailed status code must be checked. |
enum class QOpcUa::EventNotifierBit
flags QOpcUa::EventNotifier
This enum contains all possible bits for the EventNotifier node attribute defined in OPC UA 1.05 part 3, 8.59.
Constant | Value | Description |
---|---|---|
QOpcUa::EventNotifierBit::None | 0 | The node can't be used to interact with events. |
QOpcUa::EventNotifierBit::SubscribeToEvents | (1 << 0) | A client can subscribe to events. |
QOpcUa::EventNotifierBit::HistoryRead | (1 << 2) | A client can read the event history. |
QOpcUa::EventNotifierBit::HistoryWrite | (1 << 3) | A client can write the event history. |
The EventNotifier type is a typedef for QFlags<EventNotifierBit>. It stores an OR combination of EventNotifierBit values.
enum class QOpcUa::NodeAttribute
flags QOpcUa::NodeAttributes
This enum contains the 22 node attributes defined in OPC UA 1.05 part 3, 5.
Constant | Value | Description |
---|---|---|
QOpcUa::NodeAttribute::None | 0 | No node attribute. |
QOpcUa::NodeAttribute::NodeId | (1 << 0) | Mandatory for all nodes. Contains the node's id in the OPC UA address space. |
QOpcUa::NodeAttribute::NodeClass | (1 << 1) | Mandatory for all nodes. Contains the node id describing the node class of the node. |
QOpcUa::NodeAttribute::BrowseName | (1 << 2) | Mandatory for all nodes. Contains a non-localized human readable name of the node. |
QOpcUa::NodeAttribute::DisplayName | (1 << 3) | Mandatory for all nodes. Contains a localized human readable name for display purposes. |
QOpcUa::NodeAttribute::Description | (1 << 4) | Contains a localized human readable description of the node. |
QOpcUa::NodeAttribute::WriteMask | (1 << 5) | Contains a bit mask. Each bit corresponds to a writable attribute (OPC UA 1.05 part 3, 8.60). |
QOpcUa::NodeAttribute::UserWriteMask | (1 << 6) | Same as WriteMask but for the current user. |
QOpcUa::NodeAttribute::IsAbstract | (1 << 7) | True if the node is an abstract type which means that no nodes of this type shall exist. |
QOpcUa::NodeAttribute::Symmetric | (1 << 8) | True if a reference's meaning is the same seen from both ends. |
QOpcUa::NodeAttribute::InverseName | (1 << 9) | The localized inverse name of a reference (for example "HasSubtype" has the InverseName "SubtypeOf"). |
QOpcUa::NodeAttribute::ContainsNoLoops | (1 << 10) | True if there is no way to get back to a node following forward references in the current view. |
QOpcUa::NodeAttribute::EventNotifier | (1 << 11) | Contains a bit mask used to indicate if subscribing to events and access to historic events is supported (OPC UA 1.05 part 3, 8.59). |
QOpcUa::NodeAttribute::Value | (1 << 12) | The value of a Variable node. |
QOpcUa::NodeAttribute::DataType | (1 << 13) | The NodeId of the Value attribute's data type (for example "ns=0;i=13" for DateTime, see https://opcfoundation.org/UA/schemas/1.05/NodeIds.csv). |
QOpcUa::NodeAttribute::ValueRank | (1 << 14) | Contains information about the structure of the Value attribute (scalar/array) (OPC UA 1.05 part 3, 5.6.2). |
QOpcUa::NodeAttribute::ArrayDimensions | (1 << 15) | An array containing the length for each dimension of a multi-dimensional array. |
QOpcUa::NodeAttribute::AccessLevel | (1 << 16) | Contains a bit mask. Each bit corresponds to an access capability (OPC UA 1.05 part 3, 5.6.2). |
QOpcUa::NodeAttribute::UserAccessLevel | (1 << 17) | Same as AccessLevel, but for the current user. |
QOpcUa::NodeAttribute::MinimumSamplingInterval | (1 << 18) | Contains the shortest possible interval in which the server is able to sample the value. |
QOpcUa::NodeAttribute::Historizing | (1 << 19) | True if historical data is collected. |
QOpcUa::NodeAttribute::Executable | (1 << 20) | True if the node is currently executable. Only relevant for Method nodes. |
QOpcUa::NodeAttribute::UserExecutable | (1 << 21) | Same as Executable, but for the current user. |
QOpcUa::NodeAttribute::DataTypeDefinition (since Qt 6.7) | (1 << 22) | The data type definition attribute of a data type node. |
QOpcUa::NodeAttribute::RolePermissions (since Qt 6.9) | (1 << 23) | Permissions for all roles with access to the node. |
QOpcUa::NodeAttribute::UserRolePermissions (since Qt 6.9) | (1 << 24) | Permissions for all roles of the requesting session. |
QOpcUa::NodeAttribute::AccessRestrictions (since Qt 6.9) | (1 << 25) | The AccessRestrictions of the node. |
QOpcUa::NodeAttribute::AccessLevelEx (since Qt 6.9) | (1 << 26) | Contains a bit mask. Each bit corresponds to an access capability (OPC UA 1.05 part 3, 8.58). |
The NodeAttributes type is a typedef for QFlags<NodeAttribute>. It stores an OR combination of NodeAttribute values.
enum class QOpcUa::NodeClass
flags QOpcUa::NodeClasses
This enum specifies the class a node belongs to. OPC UA specifies a fixed set of eight different classes.
Constant | Value | Description |
---|---|---|
QOpcUa::NodeClass::Undefined | 0 | The node class is not known. This is the case before the NodeClass attribute has been read on the server. |
QOpcUa::NodeClass::Object | 1 | An Object node. |
QOpcUa::NodeClass::Variable | 2 | A Variable node. |
QOpcUa::NodeClass::Method | 4 | A Method node. |
QOpcUa::NodeClass::ObjectType | 8 | An ObjectType node. |
QOpcUa::NodeClass::VariableType | 16 | A VariableType node. |
QOpcUa::NodeClass::ReferenceType | 32 | A ReferenceType node. |
QOpcUa::NodeClass::DataType | 64 | A DataType node. |
QOpcUa::NodeClass::View | 128 | A View node. |
The NodeClasses type is a typedef for QFlags<NodeClass>. It stores an OR combination of NodeClass values.
enum class QOpcUa::ReferenceTypeId
This enum contains the reference types specified in OPC UA 1.05 part 3, 7. They are used to filter for a certain reference type in QOpcUaNode::browseChildren and for the reference type information in QOpcUaReferenceDescription.
Constant | Value | Description |
---|---|---|
QOpcUa::ReferenceTypeId::Unspecified | 0 | Not a valid reference type. |
QOpcUa::ReferenceTypeId::References | 31 | The abstract base type for all references. |
QOpcUa::ReferenceTypeId::NonHierarchicalReferences | 32 | The abstract base type for all non-hierarchical references. |
QOpcUa::ReferenceTypeId::HierarchicalReferences | 33 | The abstract base type for all hierarchical references. |
QOpcUa::ReferenceTypeId::HasChild | 34 | The abstract base type for all non-looping hierarchical references. |
QOpcUa::ReferenceTypeId::Organizes | 35 | The type for hierarchical references that are used to organize nodes. |
QOpcUa::ReferenceTypeId::HasEventSource | 36 | The type for non-looping hierarchical references that are used to organize event sources. |
QOpcUa::ReferenceTypeId::HasModellingRule | 37 | The type for references from instance declarations to modelling rule nodes. |
QOpcUa::ReferenceTypeId::HasEncoding | 38 | The type for references from data type nodes to to data type encoding nodes. |
QOpcUa::ReferenceTypeId::HasDescription | 39 | The type for references from data type encoding nodes to data type description nodes. |
QOpcUa::ReferenceTypeId::HasTypeDefinition | 40 | The type for references from a instance node to its type definition node. |
QOpcUa::ReferenceTypeId::GeneratesEvent | 41 | The type for references from a node to an event type that is raised by node. |
QOpcUa::ReferenceTypeId::Aggregates | 44 | The type for non-looping hierarchical references that are used to aggregate nodes into complex types. |
QOpcUa::ReferenceTypeId::HasSubtype | 45 | The type for non-looping hierarchical references that are used to define sub types. |
QOpcUa::ReferenceTypeId::HasProperty | 46 | The type for non-looping hierarchical reference from a node to its property. |
QOpcUa::ReferenceTypeId::HasComponent | 47 | The type for non-looping hierarchical reference from a node to its component. |
QOpcUa::ReferenceTypeId::HasNotifier | 48 | The type for non-looping hierarchical references that are used to indicate how events propagate from node to node. |
QOpcUa::ReferenceTypeId::HasOrderedComponent | 49 | The type for non-looping hierarchical reference from a node to its component when the order of references matters. |
QOpcUa::ReferenceTypeId::FromState | 51 | The type for a reference to the state before a transition. |
QOpcUa::ReferenceTypeId::ToState | 52 | The type for a reference to the state after a transition. |
QOpcUa::ReferenceTypeId::HasCause | 53 | The type for a reference to a method that can cause a transition to occur. |
QOpcUa::ReferenceTypeId::HasEffect | 54 | The type for a reference to an event that may be raised when a transition occurs. |
QOpcUa::ReferenceTypeId::HasHistoricalConfiguration | 56 | The type for a reference to the historical configuration for a data variable. |
QOpcUa::ReferenceTypeId::HasSubStateMachine | 117 | The type for a reference to a substate for a state. |
QOpcUa::ReferenceTypeId::HasArgumentDescription | 129 | The type for a reference to an argument description |
QOpcUa::ReferenceTypeId::HasOptionalInputArgumentDescription | 131 | The type for a reference to an optional input argument description |
QOpcUa::ReferenceTypeId::AlwaysGeneratesEvent | 3065 | The type for references from a node to an event type that is always raised by node. |
QOpcUa::ReferenceTypeId::HasTrueSubState | 9004 | The type for references from a TRUE super state node to a subordinate state node. |
QOpcUa::ReferenceTypeId::HasFalseSubState | 9005 | The type for references from a FALSE super state node to a subordinate state node. |
QOpcUa::ReferenceTypeId::HasCondition | 9006 | The type for references from a ConditionSource node to a Condition. |
QOpcUa::ReferenceTypeId::HasPubSubConnection | 14476 | The type for a reference to a PubSub connection |
QOpcUa::ReferenceTypeId::DataSetToWriter | 14936 | The type for a reference to a data set writer |
QOpcUa::ReferenceTypeId::HasGuard | 15112 | The type for a reference to a guard |
QOpcUa::ReferenceTypeId::HasDataSetWriter | 15296 | The type for a reference to a data set writer |
QOpcUa::ReferenceTypeId::HasDataSetReader | 15297 | The type for a reference to data set reader |
QOpcUa::ReferenceTypeId::HasAlarmSuppressionGroup | 16361 | The type for a reference to an alarm suppression group |
QOpcUa::ReferenceTypeId::AlarmGroupMember | 16362 | The type for a reference to an alarm group member |
QOpcUa::ReferenceTypeId::HasEffectDisable | 17276 | The type for a reference to an alarm which is disabled by a transition |
QOpcUa::ReferenceTypeId::HasDictionaryEntry | 17597 | The type for a reference to a dictionary entry |
QOpcUa::ReferenceTypeId::HasInterface | 17603 | The type for a reference to an interface |
QOpcUa::ReferenceTypeId::HasAddIn | 17604 | The type for a reference to an addin |
QOpcUa::ReferenceTypeId::HasEffectEnable | 17983 | The type for a reference to an alarm which is enabled by a transition |
QOpcUa::ReferenceTypeId::HasEffectSuppressed | 17984 | The type for a reference to an alarm which is suppressed by a transition |
QOpcUa::ReferenceTypeId::HasEffectUnsuppressed | 17985 | The type for a reference to an alarm which is unsuppressed by a transition |
QOpcUa::ReferenceTypeId::HasWriterGroup | 18804 | The type for a reference to a writer group |
QOpcUa::ReferenceTypeId::HasReaderGroup | 18805 | The type for a reference to a reader group |
QOpcUa::ReferenceTypeId::AliasFor | 23469 | The type for a reference to the node represented by an alias |
QOpcUa::ReferenceTypeId::IsDeprecated | 23562 | The type for a reference to the information model where the starting node was first deprecated |
QOpcUa::ReferenceTypeId::HasStructuredComponent | 24136 | Indicate that a VariableType or Variable also exposes its Structure fields as Variables in the information model |
QOpcUa::ReferenceTypeId::AssociatedWith | 24137 | The type for a reference to indicate an association between two nodes |
QOpcUa::ReferenceTypeId::UsesPriorityMappingTable | 25237 | The type for a reference to indicate usage of a priority mapping table |
QOpcUa::ReferenceTypeId::HasLowerLayerInterface | 25238 | Virtual interfaces shall reference their physical interfaces with this reference type |
QOpcUa::ReferenceTypeId::IsExecutableOn | 25253 | The type for a reference to relate a software component to its execution environment |
QOpcUa::ReferenceTypeId::Controls | 25254 | Relates a controlling component to the components controlled by the controlling component |
QOpcUa::ReferenceTypeId::Utilizes | 25255 | Relates a component to other components that are needed by the component in order to work |
QOpcUa::ReferenceTypeId::Requires | 25256 | Relates a component to other components it requires in order to work |
QOpcUa::ReferenceTypeId::IsPhysicallyConnectedTo | 25257 | Connects two components that are physically connected, without one being a subcomponent of the other |
QOpcUa::ReferenceTypeId::RepresentsSameEntityAs | 25258 | The type for a reference to indicate that two nodes represent the same entity |
QOpcUa::ReferenceTypeId::RepresentsSameHardwareAs | 25259 | The type for a reference to indicate that two nodes represent the same hardware |
QOpcUa::ReferenceTypeId::RepresentsSameFunctionalityAs | 25260 | The type for a reference to indicate that two nodes represent the same functionality |
QOpcUa::ReferenceTypeId::IsHostedBy | 25261 | Relates functionality represented by an OPC UA Node to the hardware and software needed to provide the functionality |
QOpcUa::ReferenceTypeId::HasPhysicalComponent | 25262 | Relates a hardware component to its subcomponent, which is also a hardware component |
QOpcUa::ReferenceTypeId::HasContainedComponent | 25263 | Relates a hardware component to its subcomponent that is inside the component. |
QOpcUa::ReferenceTypeId::HasAttachedComponent | 25264 | Indicates that the subcomponent is attached to the component |
QOpcUa::ReferenceTypeId::IsExecutingOn | 25265 | The type for a reference to relate a software component to its current execution environment |
QOpcUa::ReferenceTypeId::HasPushedSecurityGroup | 25345 | The type for a reference to a pushed security group |
QOpcUa::ReferenceTypeId::AlarmSuppressionGroupMember (since Qt 6.9) | 32059 | Connects alarm instances or bool variables to an alarm group |
QOpcUa::ReferenceTypeId::HasReferenceDescription (since Qt 6.9) | 32679 | Connects a node of any node class to a reference description variable. |
[since 6.7]
enum class QOpcUa::TimestampsToReturn
This enum contains the options for timestamps to return for service calls. It is specified in OPC UA 1.05, Part 4, 7.40.
Constant | Value | Description |
---|---|---|
QOpcUa::TimestampsToReturn::Source | 0 | Return the source timestamp |
QOpcUa::TimestampsToReturn::Server | 1 | Return the server timestamp |
QOpcUa::TimestampsToReturn::Both | 2 | Return the source and the server timestamp |
QOpcUa::TimestampsToReturn::Neither | 4 | Return no timestamps |
QOpcUa::TimestampsToReturn::Invalid | 5 | The invalid value specified by OPC UA |
This enum was introduced in Qt 6.7.
QOpcUa::TypedVariant
This is QPair<QVariant, QOpcUa::Types>.
enum QOpcUa::Types
Enumerates the types supported by Qt OPC UA.
Constant | Value | Description |
---|---|---|
QOpcUa::Boolean | 0 | |
QOpcUa::Int32 | 1 | |
QOpcUa::UInt32 | 2 | |
QOpcUa::Double | 3 | |
QOpcUa::Float | 4 | |
QOpcUa::String | 5 | |
QOpcUa::LocalizedText | 6 | |
QOpcUa::DateTime | 7 | |
QOpcUa::UInt16 | 8 | |
QOpcUa::Int16 | 9 | |
QOpcUa::UInt64 | 10 | |
QOpcUa::Int64 | 11 | |
QOpcUa::Byte | 12 | |
QOpcUa::SByte | 13 | |
QOpcUa::ByteString | 14 | |
QOpcUa::XmlElement | 15 | |
QOpcUa::NodeId | 16 | |
QOpcUa::Guid | 17 | |
QOpcUa::QualifiedName | 18 | A name qualified by an OPC UA namespace index. |
QOpcUa::StatusCode | 19 | |
QOpcUa::ExtensionObject | 20 | A data structure which contains a serialized object. |
QOpcUa::Range | 21 | A range composed from the two double values low and high. |
QOpcUa::EUInformation | 22 | The unit of measurement for an analog value. |
QOpcUa::ComplexNumber | 23 | The OPC UA ComplexNumber type. |
QOpcUa::DoubleComplexNumber | 24 | The OPC UA DoubleComplexNumber type. |
QOpcUa::AxisInformation | 25 | Information about an axis. |
QOpcUa::XV | 26 | A float value with a double precision position on an axis. |
QOpcUa::ExpandedNodeId | 27 | A node id with additional namespace URI and server index. |
QOpcUa::Argument | 28 | The OPC UA Argument type. |
QOpcUa::StructureDefinition | 29 | The OPC UA StructureDefinition type |
QOpcUa::StructureField | 30 | The OPC UA StructureField type |
QOpcUa::EnumDefinition | 31 | The OPC UA EnumDefinition type |
QOpcUa::EnumField | 32 | The OPC UA EnumField type |
QOpcUa::DiagnosticInfo | 33 | The OPC UA DiagnosticInfo type |
QOpcUa::SimpleAttributeOperand | 34 | The OPC UA SimpleAttributeOperand type. |
QOpcUa::AttributeOperand | 35 | The OPC UA AttributeOperand type. |
QOpcUa::LiteralOperand | 36 | The OPC UA LiteralOperand type. |
QOpcUa::ElementOperand | 37 | The OPC UA ElementOperand type. |
QOpcUa::RelativePathElement | 38 | The OPC UA RelativePathElement type. |
QOpcUa::ContentFilterElement | 39 | The OPC UA ContentFilterElement type. |
QOpcUa::EventFilter | 40 | The OPC UA EventFilter type. |
QOpcUa::Undefined | 0xFFFFFFFF |
enum QOpcUa::UaStatusCode
Enumerates all status codes from https://opcfoundation.org/UA/schemas/1.05/Opc.Ua.StatusCodes.csv
Constant | Value | Description |
---|---|---|
QOpcUa::Good | 0x00000000 | The operation succeeded. |
QOpcUa::Uncertain | 0x40000000 | The operation was uncertain. |
QOpcUa::Bad | 0x80000000 | The operation failed. |
QOpcUa::BadUnexpectedError | 0x80010000 | An unexpected error occurred. |
QOpcUa::BadInternalError | 0x80020000 | An internal error occurred as a result of a programming or configuration error. |
QOpcUa::BadOutOfMemory | 0x80030000 | Not enough memory to complete the operation. |
QOpcUa::BadResourceUnavailable | 0x80040000 | An operating system resource is not available. |
QOpcUa::BadCommunicationError | 0x80050000 | A low level communication error occurred. |
QOpcUa::BadEncodingError | 0x80060000 | Encoding halted because of invalid data in the objects being serialized. |
QOpcUa::BadDecodingError | 0x80070000 | Decoding halted because of invalid data in the stream. |
QOpcUa::BadEncodingLimitsExceeded | 0x80080000 | The message encoding/decoding limits imposed by the stack have been exceeded. |
QOpcUa::BadRequestTooLarge | 0x80B80000 | The request message size exceeds limits set by the server. |
QOpcUa::BadResponseTooLarge | 0x80B90000 | The response message size exceeds limits set by the client. |
QOpcUa::BadUnknownResponse | 0x80090000 | An unrecognized response was received from the server. |
QOpcUa::BadTimeout | 0x800A0000 | The operation timed out. |
QOpcUa::BadServiceUnsupported | 0x800B0000 | The server does not support the requested service. |
QOpcUa::BadShutdown | 0x800C0000 | The operation was cancelled because the application is shutting down. |
QOpcUa::BadServerNotConnected | 0x800D0000 | The operation could not complete because the client is not connected to the server. |
QOpcUa::BadServerHalted | 0x800E0000 | The server has stopped and cannot process any requests. |
QOpcUa::BadNothingToDo | 0x800F0000 | No processing could be done because there was nothing to do. |
QOpcUa::BadTooManyOperations | 0x80100000 | The request could not be processed because it specified too many operations. |
QOpcUa::BadTooManyMonitoredItems | 0x80DB0000 | The request could not be processed because there are too many monitored items in the subscription. |
QOpcUa::BadDataTypeIdUnknown | 0x80110000 | The extension object cannot be (de)serialized because the data type id is not recognized. |
QOpcUa::BadCertificateInvalid | 0x80120000 | The certificate provided as a parameter is not valid. |
QOpcUa::BadSecurityChecksFailed | 0x80130000 | An error occurred verifying security. |
QOpcUa::BadCertificatePolicyCheckFailed | 0x81140000 | The certificate does not meet the requirements of the security policy. |
QOpcUa::BadCertificateTimeInvalid | 0x80140000 | The certificate has expired or is not yet valid. |
QOpcUa::BadCertificateIssuerTimeInvalid | 0x80150000 | An issuer certificate has expired or is not yet valid. |
QOpcUa::BadCertificateHostNameInvalid | 0x80160000 | The HostName used to connect to a server does not match a HostName in the certificate. |
QOpcUa::BadCertificateUriInvalid | 0x80170000 | The URI specified in the ApplicationDescription does not match the URI in the certificate. |
QOpcUa::BadCertificateUseNotAllowed | 0x80180000 | The certificate may not be used for the requested operation. |
QOpcUa::BadCertificateIssuerUseNotAllowed | 0x80190000 | The issuer certificate may not be used for the requested operation. |
QOpcUa::BadCertificateUntrusted | 0x801A0000 | The certificate is not trusted. |
QOpcUa::BadCertificateRevocationUnknown | 0x801B0000 | It was not possible to determine if the certificate has been revoked. |
QOpcUa::BadCertificateIssuerRevocationUnknown | 0x801C0000 | It was not possible to determine if the issuer certificate has been revoked. |
QOpcUa::BadCertificateRevoked | 0x801D0000 | The certificate has been revoked. |
QOpcUa::BadCertificateIssuerRevoked | 0x801E0000 | The issuer certificate has been revoked. |
QOpcUa::BadCertificateChainIncomplete | 0x810D0000 | The certificate chain is incomplete. |
QOpcUa::BadUserAccessDenied | 0x801F0000 | User does not have permission to perform the requested operation. |
QOpcUa::BadIdentityTokenInvalid | 0x80200000 | The user identity token is not valid. |
QOpcUa::BadIdentityTokenRejected | 0x80210000 | The user identity token is valid but the server has rejected it. |
QOpcUa::BadSecureChannelIdInvalid | 0x80220000 | The specified secure channel is no longer valid. |
QOpcUa::BadInvalidTimestamp | 0x80230000 | The timestamp is outside the range allowed by the server. |
QOpcUa::BadNonceInvalid | 0x80240000 | The nonce does appear to be not a random value or it is not the correct length. |
QOpcUa::BadSessionIdInvalid | 0x80250000 | The session id is not valid. |
QOpcUa::BadSessionClosed | 0x80260000 | The session was closed by the client. |
QOpcUa::BadSessionNotActivated | 0x80270000 | The session cannot be used because ActivateSession has not been called. |
QOpcUa::BadSubscriptionIdInvalid | 0x80280000 | The subscription id is not valid. |
QOpcUa::BadRequestHeaderInvalid | 0x802A0000 | The header for the request is missing or invalid. |
QOpcUa::BadTimestampsToReturnInvalid | 0x802B0000 | The timestamps to return parameter is invalid. |
QOpcUa::BadRequestCancelledByClient | 0x802C0000 | The request was cancelled by the client. |
QOpcUa::BadTooManyArguments | 0x80E50000 | Too many arguments were provided. |
QOpcUa::BadLicenseExpired | 0x810E0000 | The server requires a license to operate in general or to perform a service or operation, but existing license is expired. |
QOpcUa::BadLicenseLimitsExceeded | 0x810F0000 | The server has limits on number of allowed operations / objects, based on installed licenses, and these limits where exceeded. |
QOpcUa::BadLicenseNotAvailable | 0x81100000 | The server does not have a license which is required to operate in general or to perform a service or operation. |
QOpcUa::GoodSubscriptionTransferred | 0x002D0000 | The subscription was transferred to another session. |
QOpcUa::GoodCompletesAsynchronously | 0x002E0000 | The processing will complete asynchronously. |
QOpcUa::GoodOverload | 0x002F0000 | Sampling has slowed down due to resource limitations. |
QOpcUa::GoodClamped | 0x00300000 | The value written was accepted but was clamped. |
QOpcUa::BadNoCommunication | 0x80310000 | Communication with the data source is defined, but not established, and there is no last known value available. |
QOpcUa::BadWaitingForInitialData | 0x80320000 | Waiting for the server to obtain values from the underlying data source. |
QOpcUa::BadNodeIdInvalid | 0x80330000 | The syntax of the node id is not valid. |
QOpcUa::BadNodeIdUnknown | 0x80340000 | The node id refers to a node that does not exist in the server address space. |
QOpcUa::BadAttributeIdInvalid | 0x80350000 | The attribute is not supported for the specified Node. |
QOpcUa::BadIndexRangeInvalid | 0x80360000 | The syntax of the index range parameter is invalid. |
QOpcUa::BadIndexRangeNoData | 0x80370000 | No data exists within the range of indexes specified. |
QOpcUa::BadDataEncodingInvalid | 0x80380000 | The data encoding is invalid. |
QOpcUa::BadDataEncodingUnsupported | 0x80390000 | The server does not support the requested data encoding for the node. |
QOpcUa::BadNotReadable | 0x803A0000 | The access level does not allow reading or subscribing to the Node. |
QOpcUa::BadNotWritable | 0x803B0000 | The access level does not allow writing to the Node. |
QOpcUa::BadOutOfRange | 0x803C0000 | The value was out of range. |
QOpcUa::BadNotSupported | 0x803D0000 | The requested operation is not supported. |
QOpcUa::BadNotFound | 0x803E0000 | A requested item was not found or a search operation ended without success. |
QOpcUa::BadObjectDeleted | 0x803F0000 | The object cannot be used because it has been deleted. |
QOpcUa::BadNotImplemented | 0x80400000 | Requested operation is not implemented. |
QOpcUa::BadMonitoringModeInvalid | 0x80410000 | The monitoring mode is invalid. |
QOpcUa::BadMonitoredItemIdInvalid | 0x80420000 | The monitoring item id does not refer to a valid monitored item. |
QOpcUa::BadMonitoredItemFilterInvalid | 0x80430000 | The monitored item filter parameter is not valid. |
QOpcUa::BadMonitoredItemFilterUnsupported | 0x80440000 | The server does not support the requested monitored item filter. |
QOpcUa::BadFilterNotAllowed | 0x80450000 | A monitoring filter cannot be used in combination with the attribute specified. |
QOpcUa::BadStructureMissing | 0x80460000 | A mandatory structured parameter was missing or null. |
QOpcUa::BadEventFilterInvalid | 0x80470000 | The event filter is not valid. |
QOpcUa::BadContentFilterInvalid | 0x80480000 | The content filter is not valid. |
QOpcUa::BadFilterOperatorInvalid | 0x80C10000 | An unrecognized operator was provided in a filter. |
QOpcUa::BadFilterOperatorUnsupported | 0x80C20000 | A valid operator was provided, but the server does not provide support for this filter operator. |
QOpcUa::BadFilterOperandCountMismatch | 0x80C30000 | The number of operands provided for the filter operator was less then expected for the operand provided. |
QOpcUa::BadFilterOperandInvalid | 0x80490000 | The operand used in a content filter is not valid. |
QOpcUa::BadFilterElementInvalid | 0x80C40000 | The referenced element is not a valid element in the content filter. |
QOpcUa::BadFilterLiteralInvalid | 0x80C50000 | The referenced literal is not a valid value. |
QOpcUa::BadContinuationPointInvalid | 0x804A0000 | The continuation point provide is longer valid. |
QOpcUa::BadNoContinuationPoints | 0x804B0000 | The operation could not be processed because all continuation points have been allocated. |
QOpcUa::BadReferenceTypeIdInvalid | 0x804C0000 | The reference type id does not refer to a valid reference type node. |
QOpcUa::BadBrowseDirectionInvalid | 0x804D0000 | The browse direction is not valid. |
QOpcUa::BadNodeNotInView | 0x804E0000 | The node is not part of the view. |
QOpcUa::BadNumericOverflow | 0x81120000 | The number was not accepted because of a numeric overflow. |
QOpcUa::BadServerUriInvalid | 0x804F0000 | The ServerUri is not a valid URI. |
QOpcUa::BadServerNameMissing | 0x80500000 | No ServerName was specified. |
QOpcUa::BadDiscoveryUrlMissing | 0x80510000 | No DiscoveryUrl was specified. |
QOpcUa::BadSempahoreFileMissing | 0x80520000 | The semaphore file specified by the client is not valid. |
QOpcUa::BadRequestTypeInvalid | 0x80530000 | The security token request type is not valid. |
QOpcUa::BadSecurityModeRejected | 0x80540000 | The security mode does not meet the requirements set by the server. |
QOpcUa::BadSecurityPolicyRejected | 0x80550000 | The security policy does not meet the requirements set by the server. |
QOpcUa::BadTooManySessions | 0x80560000 | The server has reached its maximum number of sessions. |
QOpcUa::BadUserSignatureInvalid | 0x80570000 | The user token signature is missing or invalid. |
QOpcUa::BadApplicationSignatureInvalid | 0x80580000 | The signature generated with the client certificate is missing or invalid. |
QOpcUa::BadNoValidCertificates | 0x80590000 | The client did not provide at least one software certificate that is valid and meets the profile requirements for the server. |
QOpcUa::BadIdentityChangeNotSupported | 0x80C60000 | The server does not support changing the user identity assigned to the session. |
QOpcUa::BadRequestCancelledByRequest | 0x805A0000 | The request was cancelled by the client with the Cancel service. |
QOpcUa::BadParentNodeIdInvalid | 0x805B0000 | The parent node id does not to refer to a valid node. |
QOpcUa::BadReferenceNotAllowed | 0x805C0000 | The reference could not be created because it violates constraints imposed by the data model. |
QOpcUa::BadNodeIdRejected | 0x805D0000 | The requested node id was reject because it was either invalid or server does not allow node ids to be specified by the client. |
QOpcUa::BadNodeIdExists | 0x805E0000 | The requested node id is already used by another node. |
QOpcUa::BadNodeClassInvalid | 0x805F0000 | The node class is not valid. |
QOpcUa::BadBrowseNameInvalid | 0x80600000 | The browse name is invalid. |
QOpcUa::BadBrowseNameDuplicated | 0x80610000 | The browse name is not unique among nodes that share the same relationship with the parent. |
QOpcUa::BadNodeAttributesInvalid | 0x80620000 | The node attributes are not valid for the node class. |
QOpcUa::BadTypeDefinitionInvalid | 0x80630000 | The type definition node id does not reference an appropriate type node. |
QOpcUa::BadSourceNodeIdInvalid | 0x80640000 | The source node id does not reference a valid node. |
QOpcUa::BadTargetNodeIdInvalid | 0x80650000 | The target node id does not reference a valid node. |
QOpcUa::BadDuplicateReferenceNotAllowed | 0x80660000 | The reference type between the nodes is already defined. |
QOpcUa::BadInvalidSelfReference | 0x80670000 | The server does not allow this type of self reference on this node. |
QOpcUa::BadReferenceLocalOnly | 0x80680000 | The reference type is not valid for a reference to a remote server. |
QOpcUa::BadNoDeleteRights | 0x80690000 | The server will not allow the node to be deleted. |
QOpcUa::UncertainReferenceNotDeleted | 0x40BC0000 | The server was not able to delete all target references. |
QOpcUa::BadServerIndexInvalid | 0x806A0000 | The server index is not valid. |
QOpcUa::BadViewIdUnknown | 0x806B0000 | The view id does not refer to a valid view node. |
QOpcUa::BadViewTimestampInvalid | 0x80C90000 | The view timestamp is not available or not supported. |
QOpcUa::BadViewParameterMismatch | 0x80CA0000 | The view parameters are not consistent with each other. |
QOpcUa::BadViewVersionInvalid | 0x80CB0000 | The view version is not available or not supported. |
QOpcUa::UncertainNotAllNodesAvailable | 0x40C00000 | The list of references may not be complete because the underlying system is not available. |
QOpcUa::GoodResultsMayBeIncomplete | 0x00BA0000 | The server should have followed a reference to a node in a remote server but did not. The result set may be incomplete. |
QOpcUa::BadNotTypeDefinition | 0x80C80000 | The provided Nodeid was not a type definition nodeid. |
QOpcUa::UncertainReferenceOutOfServer | 0x406C0000 | One of the references to follow in the relative path references to a node in the address space in another server. |
QOpcUa::BadTooManyMatches | 0x806D0000 | The requested operation has too many matches to return. |
QOpcUa::BadQueryTooComplex | 0x806E0000 | The requested operation requires too many resources in the server. |
QOpcUa::BadNoMatch | 0x806F0000 | The requested operation has no match to return. |
QOpcUa::BadMaxAgeInvalid | 0x80700000 | The max age parameter is invalid. |
QOpcUa::BadSecurityModeInsufficient | 0x80E60000 | The operation is not permitted over the current secure channel. |
QOpcUa::BadHistoryOperationInvalid | 0x80710000 | The history details parameter is not valid. |
QOpcUa::BadHistoryOperationUnsupported | 0x80720000 | The server does not support the requested operation. |
QOpcUa::BadInvalidTimestampArgument | 0x80BD0000 | The defined timestamp to return was invalid. |
QOpcUa::BadWriteNotSupported | 0x80730000 | The server does not support writing the combination of value, status and timestamps provided. |
QOpcUa::BadTypeMismatch | 0x80740000 | The value supplied for the attribute is not of the same type as the attribute's value. |
QOpcUa::BadMethodInvalid | 0x80750000 | The method id does not refer to a method for the specified object. |
QOpcUa::BadArgumentsMissing | 0x80760000 | The client did not specify all of the input arguments for the method. |
QOpcUa::BadNotExecutable | 0x81110000 | The executable attribute does not allow the execution of the method. |
QOpcUa::BadTooManySubscriptions | 0x80770000 | The server has reached its maximum number of subscriptions. |
QOpcUa::BadTooManyPublishRequests | 0x80780000 | The server has reached the maximum number of queued publish requests. |
QOpcUa::BadNoSubscription | 0x80790000 | There is no subscription available for this session. |
QOpcUa::BadSequenceNumberUnknown | 0x807A0000 | The sequence number is unknown to the server. |
QOpcUa::GoodRetransmissionQueueNotSupported | 0x00DF0000 | The Server does not support retransmission queue and acknowledgement of sequence numbers is not available. |
QOpcUa::BadMessageNotAvailable | 0x807B0000 | The requested notification message is no longer available. |
QOpcUa::BadInsufficientClientProfile | 0x807C0000 | The client of the current session does not support one or more Profiles that are necessary for the subscription. |
QOpcUa::BadStateNotActive | 0x80BF0000 | The sub-state machine is not currently active. |
QOpcUa::BadAlreadyExists | 0x81150000 | An equivalent rule already exists. |
QOpcUa::BadTcpServerTooBusy | 0x807D0000 | The server cannot process the request because it is too busy. |
QOpcUa::BadTcpMessageTypeInvalid | 0x807E0000 | The type of the message specified in the header invalid. |
QOpcUa::BadTcpSecureChannelUnknown | 0x807F0000 | The SecureChannelId and/or TokenId are not currently in use. |
QOpcUa::BadTcpMessageTooLarge | 0x80800000 | The size of the message chunk specified in the header is too large. |
QOpcUa::BadTcpNotEnoughResources | 0x80810000 | There are not enough resources to process the request. |
QOpcUa::BadTcpInternalError | 0x80820000 | An internal error occurred. |
QOpcUa::BadTcpEndpointUrlInvalid | 0x80830000 | The server does not recognize the QueryString specified. |
QOpcUa::BadRequestInterrupted | 0x80840000 | The request could not be sent because of a network interruption. |
QOpcUa::BadRequestTimeout | 0x80850000 | Timeout occurred while processing the request. |
QOpcUa::BadSecureChannelClosed | 0x80860000 | The secure channel has been closed. |
QOpcUa::BadSecureChannelTokenUnknown | 0x80870000 | The token has expired or is not recognized. |
QOpcUa::BadSequenceNumberInvalid | 0x80880000 | The sequence number is not valid. |
QOpcUa::BadProtocolVersionUnsupported | 0x80BE0000 | The applications do not have compatible protocol versions. |
QOpcUa::BadConfigurationError | 0x80890000 | There is a problem with the configuration that affects the usefulness of the value. |
QOpcUa::BadNotConnected | 0x808A0000 | The variable should receive its value from another variable, but has never been configured to do so. |
QOpcUa::BadDeviceFailure | 0x808B0000 | There has been a failure in the device/data source that generates the value that has affected the value. |
QOpcUa::BadSensorFailure | 0x808C0000 | There has been a failure in the sensor from which the value is derived by the device/data source. |
QOpcUa::BadOutOfService | 0x808D0000 | The source of the data is not operational. |
QOpcUa::BadDeadbandFilterInvalid | 0x808E0000 | The deadband filter is not valid. |
QOpcUa::UncertainNoCommunicationLastUsableValue | 0x408F0000 | Communication to the data source has failed. The variable value is the last value that had a good quality. |
QOpcUa::UncertainLastUsableValue | 0x40900000 | Whatever was updating this value has stopped doing so. |
QOpcUa::UncertainSubstituteValue | 0x40910000 | The value is an operational value that was manually overwritten. |
QOpcUa::UncertainInitialValue | 0x40920000 | The value is an initial value for a variable that normally receives its value from another variable. |
QOpcUa::UncertainSensorNotAccurate | 0x40930000 | The value is at one of the sensor limits. |
QOpcUa::UncertainEngineeringUnitsExceeded | 0x40940000 | The value is outside of the range of values defined for this parameter. |
QOpcUa::UncertainSubNormal | 0x40950000 | The value is derived from multiple sources and has less than the required number of Good sources. |
QOpcUa::GoodLocalOverride | 0x00960000 | The value has been overridden. |
QOpcUa::BadRefreshInProgress | 0x80970000 | This Condition refresh failed, a Condition refresh operation is already in progress. |
QOpcUa::BadConditionAlreadyDisabled | 0x80980000 | This condition has already been disabled. |
QOpcUa::BadConditionAlreadyEnabled | 0x80CC0000 | This condition has already been enabled. |
QOpcUa::BadConditionDisabled | 0x80990000 | Property not available, this condition is disabled. |
QOpcUa::BadEventIdUnknown | 0x809A0000 | The specified event id is not recognized. |
QOpcUa::BadEventNotAcknowledgeable | 0x80BB0000 | The event cannot be acknowledged. |
QOpcUa::BadDialogNotActive | 0x80CD0000 | The dialog condition is not active. |
QOpcUa::BadDialogResponseInvalid | 0x80CE0000 | The response is not valid for the dialog. |
QOpcUa::BadConditionBranchAlreadyAcked | 0x80CF0000 | The condition branch has already been acknowledged. |
QOpcUa::BadConditionBranchAlreadyConfirmed | 0x80D00000 | The condition branch has already been confirmed. |
QOpcUa::BadConditionAlreadyShelved | 0x80D10000 | The condition has already been shelved. |
QOpcUa::BadConditionNotShelved | 0x80D20000 | The condition is not currently shelved. |
QOpcUa::BadShelvingTimeOutOfRange | 0x80D30000 | The shelving time not within an acceptable range. |
QOpcUa::BadNoData | 0x809B0000 | No data exists for the requested time range or event filter. |
QOpcUa::BadBoundNotFound | 0x80D70000 | No data found to provide upper or lower bound value. |
QOpcUa::BadBoundNotSupported | 0x80D80000 | The server cannot retrieve a bound for the variable. |
QOpcUa::BadDataLost | 0x809D0000 | Data is missing due to collection started/stopped/lost. |
QOpcUa::BadDataUnavailable | 0x809E0000 | Expected data is unavailable for the requested time range due to an un-mounted volume, an off-line archive or tape, or similar reason for temporary unavailability. |
QOpcUa::BadEntryExists | 0x809F0000 | The data or event was not successfully inserted because a matching entry exists. |
QOpcUa::BadNoEntryExists | 0x80A00000 | The data or event was not successfully updated because no matching entry exists. |
QOpcUa::BadTimestampNotSupported | 0x80A10000 | The client requested history using a timestamp format the server does not support (i.e requested ServerTimestamp when server only supports SourceTimestamp). |
QOpcUa::GoodEntryInserted | 0x00A20000 | The data or event was successfully inserted into the historical database. |
QOpcUa::GoodEntryReplaced | 0x00A30000 | The data or event field was successfully replaced in the historical database. |
QOpcUa::UncertainDataSubNormal | 0x40A40000 | The value is derived from multiple values and has less than the required number of Good values. |
QOpcUa::GoodNoData | 0x00A50000 | No data exists for the requested time range or event filter. |
QOpcUa::GoodMoreData | 0x00A60000 | More data is available in the time range beyond the number of values requested. |
QOpcUa::BadAggregateListMismatch | 0x80D40000 | The requested number of Aggregates does not match the requested number of NodeIds. |
QOpcUa::BadAggregateNotSupported | 0x80D50000 | The requested Aggregate is not support by the server. |
QOpcUa::BadAggregateInvalidInputs | 0x80D60000 | The aggregate value could not be derived due to invalid data inputs. |
QOpcUa::BadAggregateConfigurationRejected | 0x80DA0000 | The aggregate configuration is not valid for specified node. |
QOpcUa::GoodDataIgnored | 0x00D90000 | The request specifies fields which are not valid for the EventType or cannot be saved by the historian. |
QOpcUa::BadRequestNotAllowed | 0x80E40000 | The request was rejected by the server because it did not meet the criteria set by the server. |
QOpcUa::BadRequestNotComplete | 0x81130000 | The request has not been processed by the server yet. |
QOpcUa::BadTransactionPending | 0x80E80000 | The operation is not allowed because a transaction is in progress. |
QOpcUa::BadTicketRequired | 0x811F0000 | The device identity needs a ticket before it can be accepted. |
QOpcUa::BadTicketInvalid | 0x81200000 | The device identity needs a ticket before it can be accepted. |
QOpcUa::BadLocked | 0x80E90000 | The requested operation is not allowed, because the Node is locked by a different application. |
QOpcUa::GoodEdited | 0x00DC0000 | The value does not come from the real source and has been edited by the server. |
QOpcUa::GoodPostActionFailed | 0x00DD0000 | There was an error in execution of these post-actions. |
QOpcUa::UncertainDominantValueChanged | 0x40DE0000 | The related EngineeringUnit has been changed but the Variable Value is still provided based on the previous unit. |
QOpcUa::GoodDependentValueChanged | 0x00E00000 | A dependent value has been changed but the change has not been applied to the device. |
QOpcUa::BadDominantValueChanged | 0x80E10000 | The related EngineeringUnit has been changed but this change has not been applied to the device. The Variable Value is still dependent on the previous unit but its status is currently Bad. |
QOpcUa::UncertainDependentValueChanged | 0x40E20000 | A dependent value has been changed but the change has not been applied to the device. The quality of the dominant variable is uncertain. |
QOpcUa::BadDependentValueChanged | 0x80E30000 | A dependent value has been changed but the change has not been applied to the device. The quality of the dominant variable is Bad. |
QOpcUa::GoodEdited_DependentValueChanged | 0x01160000 | It is delivered with a dominant Variable value when a dependent Variable has changed but the change has not been applied. |
QOpcUa::GoodEdited_DominantValueChanged | 0x01170000 | It is delivered with a dependent Variable value when a dominant Variable has changed but the change has not been applied. |
QOpcUa::GoodEdited_DominantValueChanged_DependentValueChanged | 0x01180000 | It is delivered with a dependent Variable value when a dominant or dependent Variable has changed but change has not been applied. |
QOpcUa::BadEdited_OutOfRange | 0x81190000 | It is delivered with a Variable value when Variable has changed but the value is not legal. |
QOpcUa::BadInitialValue_OutOfRange | 0x811A0000 | It is delivered with a Variable value when a source Variable has changed but the value is not legal. |
QOpcUa::BadOutOfRange_DominantValueChanged | 0x811B0000 | It is delivered with a dependent Variable value when a dominant Variable has changed and the value is not legal. |
QOpcUa::BadEdited_OutOfRange_DominantValueChanged | 0x811C0000 | It is delivered with a dependent Variable value when a dominant Variable has changed, the value is not legal and the change has not been applied. |
QOpcUa::BadOutOfRange_DominantValueChanged_DependentValueChanged | 0x811D0000 | It is delivered with a dependent Variable value when a dominant or dependent Variable has changed and the value is not legal. |
QOpcUa::BadEdited_OutOfRange_DominantValueChanged_DependentValueChanged | 0x811E0000 | It is delivered with a dependent Variable value when a dominant or dependent Variable has changed, the value is not legal and the change has not been applied. |
QOpcUa::GoodCommunicationEvent | 0x00A70000 | The communication layer has raised an event. |
QOpcUa::GoodShutdownEvent | 0x00A80000 | The system is shutting down. |
QOpcUa::GoodCallAgain | 0x00A90000 | The operation is not finished and needs to be called again. |
QOpcUa::GoodNonCriticalTimeout | 0x00AA0000 | A non-critical timeout occurred. |
QOpcUa::BadInvalidArgument | 0x80AB0000 | One or more arguments are invalid. |
QOpcUa::BadConnectionRejected | 0x80AC0000 | Could not establish a network connection to remote server. |
QOpcUa::BadDisconnect | 0x80AD0000 | The server has disconnected from the client. |
QOpcUa::BadConnectionClosed | 0x80AE0000 | The network connection has been closed. |
QOpcUa::BadInvalidState | 0x80AF0000 | The operation cannot be completed because the object is closed, uninitialized or in some other invalid state. |
QOpcUa::BadEndOfStream | 0x80B00000 | Cannot move beyond end of the stream. |
QOpcUa::BadNoDataAvailable | 0x80B10000 | No data is currently available for reading from a non-blocking stream. |
QOpcUa::BadWaitingForResponse | 0x80B20000 | The asynchronous operation is waiting for a response. |
QOpcUa::BadOperationAbandoned | 0x80B30000 | The asynchronous operation was abandoned by the caller. |
QOpcUa::BadExpectedStreamToBlock | 0x80B40000 | The stream did not return all data requested (possibly because it is a non-blocking stream). |
QOpcUa::BadWouldBlock | 0x80B50000 | Non blocking behaviour is required and the operation would block. |
QOpcUa::BadSyntaxError | 0x80B60000 | A value had an invalid syntax. |
QOpcUa::BadMaxConnectionsReached | 0x80B70000 | The operation could not be finished because all available connections are in use. |
QOpcUa::UncertainTransducerInManual | 0x42080000 | The value may not be accurate because the transducer is in manual mode. |
QOpcUa::UncertainSimulatedValue | 0x42090000 | The value is simulated. |
QOpcUa::UncertainSensorCalibration | 0x420A0000 | The value may not be accurate due to a sensor calibration fault. |
QOpcUa::UncertainConfigurationError | 0x420F0000 | The value may not be accurate due to a configuration issue. |
QOpcUa::GoodCascadeInitializationAcknowledged | 0x04010000 | The value source supports cascade handshaking and the value has been Initialized based on an initialization request from a cascade secondary. |
QOpcUa::GoodCascadeInitializationRequest | 0x04020000 | The value source supports cascade handshaking and is requesting initialization of a cascade primary. |
QOpcUa::GoodCascadeNotInvited | 0x04030000 | The value source supports cascade handshaking, however, the source’s current state does not allow for cascade. |
QOpcUa::GoodCascadeNotSelected | 0x04040000 | The value source supports cascade handshaking, however, the source has not selected the corresponding cascade primary for use. |
QOpcUa::GoodFaultStateActive | 0x04070000 | There is a fault state condition active in the value source. |
QOpcUa::GoodInitiateFaultState | 0x04080000 | A fault state condition is being requested of the destination. |
QOpcUa::GoodCascade | 0x04090000 | The value is accurate, and the signal source supports cascade handshaking. |
QOpcUa::BadDataSetIdInvalid | 0x80E70000 | The DataSet specified for the DataSetWriter creation is invalid. |
enum class QOpcUa::WriteMaskBit
flags QOpcUa::WriteMask
This enum contains all possible bits for the WriteMask and UserWriteMask node attributes defined in OPC UA 1.05 part 3, 8.60.
Constant | Value | Description |
---|---|---|
QOpcUa::WriteMaskBit::None | 0 | No attribute is writable. |
QOpcUa::WriteMaskBit::AccessLevel | (1 << 0) | The AccessLevel attribute is writable. |
QOpcUa::WriteMaskBit::ArrayDimensions | (1 << 1) | The ArrayDimensions attribute is writable. |
QOpcUa::WriteMaskBit::BrowseName | (1 << 2) | The BrowseName attribute is writable. |
QOpcUa::WriteMaskBit::ContainsNoLoops | (1 << 3) | The ContainsNoLoops attribute is writable. |
QOpcUa::WriteMaskBit::DataType | (1 << 4) | The DataType attribute is writable. |
QOpcUa::WriteMaskBit::Description | (1 << 5) | The Description attribute is writable. |
QOpcUa::WriteMaskBit::DisplayName | (1 << 6) | The DisplayName attribute is writable. |
QOpcUa::WriteMaskBit::EventNotifier | (1 << 7) | The EventNotifier attribute is writable. |
QOpcUa::WriteMaskBit::Executable | (1 << 8) | The Executable attribute is writable. |
QOpcUa::WriteMaskBit::Historizing | (1 << 9) | The Historizing attribute is writable. |
QOpcUa::WriteMaskBit::InverseName | (1 << 10) | The InverseName attribute is writable. |
QOpcUa::WriteMaskBit::IsAbstract | (1 << 11) | The IsAbstract attribute is writable. |
QOpcUa::WriteMaskBit::MinimumSamplingInterval | (1 << 12) | The MinimumSamplingInterval attribute is writable. |
QOpcUa::WriteMaskBit::NodeClass | (1 << 13) | The NodeClass attribute is writable. |
QOpcUa::WriteMaskBit::NodeId | (1 << 14) | The NodeId attribute is writable. |
QOpcUa::WriteMaskBit::Symmetric | (1 << 15) | The Symmetric attribute is writable. |
QOpcUa::WriteMaskBit::UserAccessLevel | (1 << 16) | The UserAccessLevel attribute is writable. |
QOpcUa::WriteMaskBit::UserExecutable | (1 << 17) | The UserExecutable attribute is writable. |
QOpcUa::WriteMaskBit::UserWriteMask | (1 << 18) | The UserWriteMask attribute is writable. |
QOpcUa::WriteMaskBit::ValueRank | (1 << 19) | The ValueRank attribute is writable. |
QOpcUa::WriteMaskBit::WriteMask | (1 << 20) | The WriteMask attribute is writable. |
QOpcUa::WriteMaskBit::ValueForVariableType | (1 << 21) | The Value attribute of a variable type is writable. |
QOpcUa::WriteMaskBit::DataTypeDefinition (since Qt 6.9) | (1 << 22) | The DataTypeDefinition attribute is writable. |
QOpcUa::WriteMaskBit::RolePermissions (since Qt 6.9) | (1 << 23) | The RolePermissions attribute is writable. |
QOpcUa::WriteMaskBit::AccessRestrictions (since Qt 6.9) | (1 << 24) | The AccessRestrictions attribute is writable. |
QOpcUa::WriteMaskBit::AccessLevelEx (since Qt 6.9) | (1 << 25) | The AccessLevelEx attribute is writable. |
The WriteMask type is a typedef for QFlags<WriteMaskBit>. It stores an OR combination of WriteMaskBit values.
Function Documentation
QOpcUa::ErrorCategory QOpcUa::errorCategory(QOpcUa::UaStatusCode statusCode)
Converts statusCode to an ErrorCategory. ErrorCategory can be used in cases where the exact error is not important.
For error handling dependent on status codes, the full status code must be used instead. The meaning of the status codes for the different services is documented in OPC UA part 4.
If statusCode has not been categorized, UnspecifiedError is returned. In this case, the user must check the full status code.
[since QtOpcUa 5.14]
bool QOpcUa::isSecurePolicy(const QString &securityPolicy)
Returns true
if securityPolicy is a secure policy, false
otherwise.
This function was introduced in QtOpcUa 5.14.
bool QOpcUa::isSuccessStatus(QOpcUa::UaStatusCode statusCode)
This method can be used to check if a call has successfully finished.
Returns true
if statusCode's severity field is Good.
QOpcUa::Types QOpcUa::metaTypeToQOpcUaType(QMetaType::Type type)
Returns the Qt OPC UA type from type. In case the type does not map, QOpcUa::Undefined
is returned.
QString QOpcUa::namespace0Id(QOpcUa::NodeIds::Namespace0 id)
Returns a node id string for the namespace 0 identifier id.
QOpcUa::NodeIds::Namespace0 QOpcUa::namespace0IdFromNodeId(const QString &nodeId)
Returns the enum value from QOpcUa::NodeIds::Namespace0 for nodeId.
If the node id is not in namespace 0 or doesn't have a numeric identifier which is part of the OPC Foundation's NodeIds.csv file, Unknown is returned.
If Qt OPC UA has been configured with FEATURE_ns0idnames=OFF, the check if the numeric identifier is part of the NodeIds.csv file is omitted. If the node id is in namespace 0 and has a numeric identifier, the identifier is returned regardless if it is part of the QOpcUa::NodeIds::Namespace0 enum.
QString QOpcUa::namespace0IdName(QOpcUa::NodeIds::Namespace0 id)
Returns the name of the namespace 0 node id id.
If id is unknown or Qt OPC UA has been configured with FEATURE_ns0idnames=OFF, an empty string is returned.
bool QOpcUa::nodeIdEquals(const QString &first, const QString &second)
Returns true
if the two node ids first and second have the same namespace index and identifier. A node id string without a namespace index is assumed to be in namespace 0.
QString QOpcUa::nodeIdFromByteString(quint16 ns, const QByteArray &identifier)
Creates a node id string from the namespace index nslate="no">ns and the byte string identifier.
See also QOpcUaNode.
QString QOpcUa::nodeIdFromGuid(quint16 ns, const QUuid &identifier)
Creates a node id string from the namespace index nslate="no">ns and the GUID identifier.
See also QOpcUaNode.
QString QOpcUa::nodeIdFromInteger(quint16 ns, quint32 identifier)
Creates a node id string from the namespace index nslate="no">ns and the integer identifier.
See also QOpcUaNode.
QString QOpcUa::nodeIdFromReferenceType(QOpcUa::ReferenceTypeId referenceType)
Creates a node id string for the reference type id referenceType.
QString QOpcUa::nodeIdFromString(quint16 ns, const QString &identifier)
Creates a node id string from the namespace index nslate="no">ns and the string identifier.
See also QOpcUaNode.
bool QOpcUa::nodeIdStringSplit(const QString &nodeIdString, quint16 *nsIndex, QString *identifier, char *identifierType)
Splits the node id string nodeIdString in its components. The namespace index of the node id will be copied into nsIndex. The identifier string is copied into identifier and the identifier type (i, s, g, b) is copied into identifierType.
Returns true
if the node id could be split successfully.
For example, "ns=1;s=MyString" is split into 1, 's' and "MyString". If no namespace index is given, ns=0 is assumed.
size_t QOpcUa::qHash(const QOpcUa::NodeAttribute &attr)
Returns a QHash key for attr.
QString QOpcUa::statusToString(QOpcUa::UaStatusCode statusCode)
Returns a textual representation of statusCode.
Currently, this is the name of the enum value but may be a real message in future releases.
© 2024 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.