UA Server SDK C++ Bundle
1.4.2.275
|
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 | |
IOManager * | m_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 | |
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.
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 |