UA Server SDK C++ Bundle  1.4.1.271
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Core Module Address Model Classes

This module contains all class implementing a generic address space model. More...

Classes

class  UaNode
 Interface class for OPC UA Nodes created and managed with the SDK. More...
 
class  UaObject
 Interface for OPC UA Object nodes created and managed with the SDK. More...
 
class  UaObjectType
 Class definition of the UaObjectType. More...
 
class  UaVariable
 Class definition of the UaVariable. More...
 
class  UaVariableType
 Class definition of the UaVariableType. More...
 
class  UaDataType
 Class definition of the UaDataType. More...
 
class  UaView
 Interface representing a OPC UA View node. More...
 
class  UaMethod
 Class definition of the UaMethod. More...
 
class  UaReferenceType
 Class definition of the UaReferenceType. More...
 
class  UaReferenceLists
 Class implementing the reference handling for UaNodes. More...
 
class  UaReference
 Interface definition of the UaReference. More...
 
class  UaRefCrossNodeManager
 Implements a reference between nodes in two different NodeManagers. More...
 
class  UaRefCrossNodeManagerSingle
 Implements a reference between two nodes in two different NodeManagers. More...
 
class  UaRefOutOfServer
 Class definition of the UaRefOutOfServer. More...
 
class  UaGenericReference
 Class definition of the UaGenericReference. More...
 
class  UaReferenceCPCopy
 Class definition of the UaGenericReference. More...
 
class  UaRefOrganizes
 Class definition of the UaRefOrganizes. More...
 
class  UaRefHasComponent
 Class definition of the UaRefHasComponent. More...
 
class  UaRefHasHistoricalConfiguration
 Class definition of the UaRefHasHistoricalConfiguration. More...
 
class  UaRefHasOrderedComponent
 Class definition of the UaRefHasOrderedComponent. More...
 
class  UaRefHasProperty
 Class definition of the UaRefHasProperty. More...
 
class  UaRefHasSubtype
 Class definition of the UaRefHasSubtype. More...
 
class  UaRefHasEventSource
 Class definition of the UaRefHasEventSource. More...
 
class  UaRefHasNotifier
 Class definition of the UaRefHasNotifier. More...
 
class  UaRefHasTypeDefinition
 Class definition of the UaRefHasTypeDefinition. More...
 
class  UaRefGeneratesEvent
 Class definition of the UaRefGeneratesEvent. More...
 
class  UaRefHasCondition
 Reference class used to represent a HasCondition reference. More...
 
class  UaRefHasDescription
 Class definition of the UaRefHasDescription. More...
 
class  UaRefHasEncoding
 Class definition of the UaRefHasEncoding. More...
 
class  UaRefHasModellingRule
 Class definition of the UaRefHasModellingRule. More...
 
class  UaRefFromState
 Class definition of the UaRefFromState. More...
 
class  UaRefHasCause
 Class definition of the UaRefHasCause. More...
 
class  UaRefHasEffect
 Class definition of the UaRefHasEffect. More...
 
class  UaRefToState
 Class definition of the UaRefToState. More...
 
class  UaFolder
 OPC UA Folder Object handling class. More...
 
class  UaAreaFolder
 OPC UA Folder Object handling class used as Alarm Area object. More...
 
class  UaGenericObject
 Derived from UaObject and UaReferenceLists. More...
 
class  UaGenericObjectType
 Derived from UaObjectType and UaReferenceLists. More...
 
class  UaGenericVariable
 Derived from UaVariableCache and UaReferenceLists. More...
 
class  UaGenericVariableType
 Derived from UaVariableType and UaReferenceLists. More...
 
class  UaGenericDataType
 Derived from UaDataType and UaReferenceLists. More...
 
class  UaGenericView
 Derived from UaView and UaReferenceLists. More...
 
class  UaGenericMethod
 Derived from UaMethod and UaReferenceLists. More...
 
class  UaGenericReferenceType
 Derived from UaReferenceType and UaReferenceLists. More...
 
class  UaObjectTypeSimple
 Derived from UaObjectType and UaReferenceLists. More...
 
class  UaObjectBase
 Provides a base class to implement an Object The object is able to register it's own components at his node manager Derived from UaObject and UaReferenceLists It is not possible to create plane copies of this Class. More...
 
class  UaVariableTypeSimple
 Derived from UaVariableType and UaReferenceLists. More...
 
class  UaDataVariableDevice
 Derived from UaVariable and UaReferenceLists. More...
 
class  UaViewSimple
 Derived from UaView and UaReferenceLists. More...
 
class  UaReferenceTypeNS0
 Derived from UaReferenceType and UaReferenceLists. 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...
 

Detailed Description

This module contains all class implementing a generic address space model.

Variable Documentation

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