C++ Based OPC UA Client/Server SDK
1.6.1.391
|
Base class for the variable handle used in data access methods. More...
#include <variablehandle.h>
Inherits ReferenceCounter.
Inherited by 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 | |
virtual const NodeAccessInfo * | getAccessInfo () const |
Returns the NodeAccessInfo for the Node related to the VariableHandle Returns Null if the NodeAccessInfo is not available or the derived class does not have acess to the NodeAccessInfo. More... | |
virtual UaStatus | setAccessInfo (NodeAccessInfo *pNodeAccessInfo) |
Sets the NodeAccessInfo of the Node related to the VariableHandle Returns a bad status if the NodeAccessInfo cannot be stored in the derived class. More... | |
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.
|
virtual |
Returns the NodeAccessInfo for the Node related to the VariableHandle Returns Null if the NodeAccessInfo is not available or the derived class does not have acess to the NodeAccessInfo.
The default implementation returns always Null.
Reimplemented in VariableHandleUaNode.
|
virtual |
Sets the NodeAccessInfo of the Node related to the VariableHandle Returns a bad status if the NodeAccessInfo cannot be stored in the derived class.
The default implementation returns bad status.