C++ Based OPC UA Client/Server SDK
1.6.1.391
|
This module contains all class implementing a generic address space model. More...
Enumerations | |
enum | UaDataType::DataTypeDefinitionType |
Enumeration that indicates whether a UaEnumDefinition or a UaStructureDefinition is available. | |
enum | UaReference::CrossNodeManagerReferenceType { UaReference::UA_NO_CROSSNODEMANAGER = 0, UaReference::UA_LIST_OF_REFERENCES, UaReference::UA_SINGLE_REFERENCE } |
Enumeration of cross node manager reference type. More... | |
Variables | |
const OpcUa_UInt32 | UaVariable_Value_None = 0x0 |
Bit mask for UaVariable::valueHandling. More... | |
const OpcUa_UInt32 | UaVariable_Value_Cache = 0x1 |
The variable has a cached value but normal read and data monitoring will not use the value directly. More... | |
const OpcUa_UInt32 | UaVariable_Value_CacheIsSource = 0x2 |
If this flag is set, the value in the variable node is the data source and all read, data monitoring and write operations are using the value without requiring any custom code. More... | |
const OpcUa_UInt32 | UaVariable_Value_CacheIsUpdatedOnRequest = 0x4 |
If this flag is set, the custom code is responsible for updating the cache value for variables monitored by one or more clients and to handle read and write operations. More... | |
This module contains all class implementing a generic address space model.
const OpcUa_UInt32 UaVariable_Value_Cache = 0x1 |
The variable has a cached value but normal read and data monitoring will not use the value directly.
If only this flag is set all read and sampling access uses IOManagerUaNode::readValues that needs to be implemented in the custom NodeManager. All write operations to this variable are using IOManagerUaNode::writeValues. The cache value is not updated by the SDK. The custom code is responsible for updating the cache to allow the SDK to return values that are not older than the MaxAge parameter in the Read.
const OpcUa_UInt32 UaVariable_Value_CacheIsSource = 0x2 |
If this flag is set, the value in the variable node is the data source and all read, data monitoring and write operations are using the value without requiring any custom code.
Value changes can be provided with the method UaVariable::setValue(). IOManagerUaNode::beforeSetAttributeValue and IOManagerUaNode::afterSetAttributeValue can be used to control writing of attributes or to get informed about a successful write of an attribute. This requires overwriting these functions in the custom NodeManager implementation class.
const OpcUa_UInt32 UaVariable_Value_CacheIsUpdatedOnRequest = 0x4 |
If this flag is set, the custom code is responsible for updating the cache value for variables monitored by one or more clients and to handle read and write operations.
Value changes can be provided with the method UaVariable::setValue(). The custom code gets informed about monitoring changes for items of this type by overwriting IOManagerUaNode::variableCacheMonitoringChanged in the custom NodeManager implementation. In addition it is required to implement IOManagerUaNode::readValues and IOManagerUaNode::writeValues for read and write operations. This option allows optimizing cyclic access to devices for data monitoring independent of read operations
const OpcUa_UInt32 UaVariable_Value_None = 0x0 |
Bit mask for UaVariable::valueHandling.