QOpcUa Namespace▲
-
Header: QOpcUa
Detailed Description▲
Namespaces▲
Type Documentation▲
enum QOpcUa::AccessLevelBit▲
flags QOpcUa::AccessLevel
This enum contains all possible bits for the AccessLevel and UserAccessLevel node attributes defined in OPC-UA part 3, Table 8.
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.
enum QOpcUa::AxisScale▲
The AxisScale enum as defined by OPC-UA part 8, 5.6.7.
enum 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 QOpcUa::EventNotifierBit▲
flags QOpcUa::EventNotifier
This enum contains all possible bits for the EventNotifier node attribute defined in OPC-UA part 3, Table 6.
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 QOpcUa::NodeAttribute▲
flags QOpcUa::NodeAttributes
This enum contains the 22 node attributes defined in OPC-UA part 4, 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 part 3, Table 3). |
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 part 3, Table 5). |
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.03/NodeIds.csv). |
QOpcUa::NodeAttribute::ValueRank |
(1 << 14) |
Contains information about the structure of the Value attribute (scalar/array) (OPC-UA part 3, Table 8). |
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 part 3, Table 8). |
QOpcUa::NodeAttribute::UserAccessLevel |