C++ Based OPC UA Client/Server/PubSub SDK
1.7.9.586
|
HistoryVariableHandle. More...
#include <variablehandle.h>
Inherits ReferenceCounter.
Inherited by HistoryVariableHandleNodeId, and HistoryVariableHandleUaNode.
Public Types | |
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... | |
Public Member Functions | |
HistoryVariableHandle () | |
construction | |
virtual NodeAccessInfo * | getAccessInfo () const |
Returns the NodeAccessInfo for the Node related to the HistoryVariableHandle The NodeAccessInfo is reference counted. 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 ReferenceCounter | |
ReferenceCounter () | |
construction | |
virtual | ~ReferenceCounter () |
destruction | |
Public Attributes | |
HistoryManager * | m_pHistoryManager |
Interface of the history manager responsible for this variable. | |
Protected Member Functions | |
virtual | ~HistoryVariableHandle () |
destruction | |
Base class for the History Variable Handle used in history access methods. Derived from ReferenceCounter. It is not possible to create shallow copies of this Class.
Enumeration for the different HistoryVariableHandle implementations.
Enumerator | |
---|---|
CUSTOM |
A product specific handle implementation is used |
NODE_ID |
The class HistoryVariableHandleNodeId is used |
UA_NODE |
The class HistoryVariableHandleUaNode is used |
Enumeration for the different history service options.
|
virtual |
Returns the NodeAccessInfo for the Node related to the HistoryVariableHandle The NodeAccessInfo is reference counted.
The reference counter is incremented before returning the pointer. The caller is responsible to release the reference again.
Returns Null if the NodeAccessInfo is not available or the derived class does not have access to the NodeAccessInfo. The default implementation returns always Null.
Reimplemented in HistoryVariableHandleNodeId.
|
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 access to the AccessLevel.
The default implementation returns always false.
Reimplemented in HistoryVariableHandleNodeId.
|
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 in HistoryVariableHandleNodeId.
|
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 in HistoryVariableHandleNodeId.