C++ Based OPC UA Client/Server SDK  1.6.4.457
HistoryVariableHandleNodeId Class Reference

Class for the History Variable Handle containing the NodeId for the processing in the HistoryManager. More...

#include <variablehandle.h>

Inherits HistoryVariableHandle.

Public Member Functions

virtual const NodeAccessInfogetAccessInfo () const
 Returns the NodeAccessInfo for the Node related to the HistoryVariableHandle 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 HistoryVariableHandle Returns a bad status if the NodeAccessInfo cannot be stored in the derived class. More...
 
virtual bool getAccessLevel (OpcUa_UInt32 &accessLevelEx) const
 Returns the extended AccessLevel for the Node related to the HistoryVariableHandle. More...
 
virtual UaStatus setAccessLevel (OpcUa_UInt32 accessLevelEx)
 Sets the extended AccessLevel of the Node related to the HistoryVariableHandle. More...
 
virtual HandleImplementation getHandleImplementation () const
 Returns the type of handle implementation.
 
- Public Member Functions inherited from HistoryVariableHandle
 HistoryVariableHandle ()
 construction
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter ()
 construction
 
virtual ~ReferenceCounter ()
 destruction
 

Public Attributes

UaNodeId m_nodeId
 NodeId of the node used for history access.
 
- Public Attributes inherited from HistoryVariableHandle
HistoryManagerm_pHistoryManager
 Interface of the history manager responsible for this variable.
 

Additional Inherited Members

- Public Types inherited from HistoryVariableHandle
enum  ServiceType {
  ServiceReadEvents, ServiceReadRaw, ServiceReadModified, ServiceReadProcessed,
  ServiceReadAtTime, ServiceUpdateData, ServiceUpdateStructureData, ServiceUpdateEvent,
  ServiceDeleteRaw, ServiceDeleteAtTime, ServiceDeleteEvent
}
 Enumeration for the different history service options. More...
 
enum  HandleImplementation { CUSTOM, NODE_ID, UA_NODE }
 Enumeration for the different HistoryVariableHandle implementations. More...
 
- Protected Member Functions inherited from HistoryVariableHandle
virtual ~HistoryVariableHandle ()
 destruction
 

Detailed Description

Class for the History Variable Handle containing the NodeId for the processing in the HistoryManager.

This class can be used if no other information idenfying the node can be used in the HistoryVariableHandle and the HistoryManager has all node related information to process the history request for the node.

Member Function Documentation

const NodeAccessInfo * HistoryVariableHandleNodeId::getAccessInfo ( ) const
virtual

Returns the NodeAccessInfo for the Node related to the HistoryVariableHandle 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 from HistoryVariableHandle.

bool HistoryVariableHandleNodeId::getAccessLevel ( OpcUa_UInt32 &  accessLevelEx) const
virtual

Returns the extended AccessLevel for the Node related to the HistoryVariableHandle.

The extended AccessLevel is a UInt32 and contains the AccessLevel with data type Byte.

Returns false if the AccessLevel is not available or the derived class does not have acess to the AccessLevel.

The default implementation returns always false.

Reimplemented from HistoryVariableHandle.

UaStatus HistoryVariableHandleNodeId::setAccessInfo ( NodeAccessInfo pNodeAccessInfo)
virtual

Sets the NodeAccessInfo of the Node related to the HistoryVariableHandle Returns a bad status if the NodeAccessInfo cannot be stored in the derived class.

The default implementation returns bad status.

Reimplemented from HistoryVariableHandle.

UaStatus HistoryVariableHandleNodeId::setAccessLevel ( OpcUa_UInt32  accessLevelEx)
virtual

Sets the extended AccessLevel of the Node related to the HistoryVariableHandle.

The extended AccessLevel is a UInt32 and contains the AccessLevel with data type Byte.

Returns a bad status if the AccessLevel cannot be stored in the derived class.

The default implementation returns bad status.

Reimplemented from HistoryVariableHandle.


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