UA Server SDK C++ Bundle  1.4.1.271
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
VariableHandle Class Reference

Base class for the variable handle used in data access methods. More...

#include <variablehandle.h>

Inherits ReferenceCounter.

Inherited by VariableHandleTagFile, and VariableHandleUaNode.

Public Types

enum  ServiceType { ServiceRead, ServiceWrite, ServiceMonitoring, ServiceRegister }
 This enumeration indicates the type of action this variable handle is used for. More...
 

Public Member Functions

 VariableHandle ()
 construction
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter ()
 construction
 
virtual ~ReferenceCounter ()
 destruction
 

Public Attributes

IOManagerm_pIOManager
 Interface pointer of the responsible IOManager for the node.
 
OpcUa_Int32 m_AttributeID
 Requested attribute for the action.
 

Protected Member Functions

virtual ~VariableHandle ()
 destruction
 

Detailed Description

Base class for the variable handle used in data access methods.

The content of this class is used by the server SDK to multiplex access to node attributes to 1 to N IOManagers per NodeManager. Therefore this class contains the interface pointer of the responsible IOManager for the node and the attribute id. NodeManagers can use derived classes to add more information for the responsible IOManager. The class is derived from ReferenceCounter to control the life time of the object through reference counting.

Member Enumeration Documentation

This enumeration indicates the type of action this variable handle is used for.

If Register is set the variable handle is only created for optimizing later service calls and this Variable Handle may be used in all possible other actions like reading data, writing data and monitoring of data changes.

Enumerator
ServiceRead 

Service Read

ServiceWrite 

Service Write

ServiceMonitoring 

Service CreateMonitoredItems

ServiceRegister 

Service RegisterNodes


The documentation for this class was generated from the following files: