Class definition of the UaDataVariableCache. Derived from UaVariableCache and UaReferenceLists. It is not possible to use the default constructor. More...
#include <uadatavariablecache.h>
Public Member Functions | |
UaDataVariableCache (const UaString &name, const UaNodeId &nodeId, const UaVariant &defaultValue, OpcUa_Byte accessLevel, const UaString &defaultLocaleId) | |
virtual | ~UaDataVariableCache () |
UaReferenceLists * | getUaReferenceLists () const |
UaStatus | browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References) |
virtual UaNodeId | typeDefinitionId () const |
UaNodeId | nodeId () const |
virtual UaQualifiedName | browseName () const |
virtual UaLocalizedText | displayName (Session *pSession) const |
virtual OpcUa_Boolean | isDescriptionSupported () const |
virtual UaLocalizedText | description (Session *pSession) const |
virtual OpcUa_Boolean | isWriteMaskSupported () const |
virtual OpcUa_UInt32 | writeMask () const |
virtual OpcUa_Boolean | isUserWriteMaskSupported () const |
virtual OpcUa_UInt32 | userWriteMask (Session *pSession) const |
virtual UaDataValue | value (Session *pSession) |
virtual UaStatus | setValue (Session *pSession, const UaDataValue &dataValue, OpcUa_Boolean checkAccessLevel) |
virtual UaNodeId | dataType () const |
virtual void | setDataType (const UaNodeId &dataType) |
virtual OpcUa_Int32 | valueRank () const |
virtual void | setValueRank (OpcUa_Int32 valueRank) |
virtual OpcUa_Boolean | isArrayDimensionsSupported () const |
virtual void | arrayDimensions (UaUInt32Array &arrayDimensions) const |
virtual OpcUa_Byte | accessLevel () const |
virtual OpcUa_Byte | userAccessLevel (Session *pSession) const |
virtual OpcUa_Boolean | isMinimumSamplingIntervalSupported () const |
virtual OpcUa_Double | minimumSamplingInterval () const |
virtual OpcUa_Boolean | historizing () const |
UaNode * | getUaNode () const |
Protected Attributes | |
UaString | m_defaultLocaleId |
Class definition of the UaDataVariableCache. Derived from UaVariableCache and UaReferenceLists. It is not possible to use the default constructor.
UaDataVariableCache::UaDataVariableCache | ( | const UaString & | name, |
const UaNodeId & | nodeId, | ||
const UaVariant & | defaultValue, | ||
OpcUa_Byte | accessLevel, | ||
const UaString & | defaultLocaleId | ||
) |
Construction
The description of the node class Variable provides more details about the variable attributes.
UaDataVariableCache::~UaDataVariableCache | ( | ) | [virtual] |
destruction
OpcUa_Byte UaDataVariableCache::accessLevel | ( | ) | const [virtual] |
Get the AccessLevel for the DataVariable.
Implements UaVariable.
void UaDataVariableCache::arrayDimensions | ( | UaUInt32Array & | arrayDimensions ) | const [virtual] |
Get the arrayDimensions value for the passed UaNode.
arrayDimensions | the arrayDimensions value for the passed UaNode. |
Implements UaVariable.
UaStatus UaDataVariableCache::browse | ( | const ServiceContext & | serviceContext, |
BrowseContext & | browseContext, | ||
UaReferenceDescriptions & | References | ||
) | [virtual] |
Discover the references of a specified node of a view. This method is used to return a list of references and target nodes for the passed node to browse for the services Browse and BrowseNext.
serviceContext | General context for the service calls containing information like the session object, return diagnostic mask and timeout hint. |
browseContext | Browse context for the first browse or the following browse with continuation point. |
References | Array of ReferenceDescription results for the browsed node. |
Implements UaNode.
UaQualifiedName UaDataVariableCache::browseName | ( | ) | const [virtual] |
Get the browseName as QualifiedName of the current Node.
Implements UaNode.
UaNodeId UaDataVariableCache::dataType | ( | ) | const [virtual] |
Get the DataType for the DataVariable.
Implements UaVariable.
UaLocalizedText UaDataVariableCache::description | ( | Session * | pSession ) | const [virtual] |
UaLocalizedText UaDataVariableCache::displayName | ( | Session * | pSession ) | const [virtual] |
UaNode* UaDataVariableCache::getUaNode | ( | ) | const [inline, virtual] |
UaReferenceLists* UaDataVariableCache::getUaReferenceLists | ( | ) | const [inline, virtual] |
Get a ReferenceList where all the Nodes are in.
Reimplemented from UaNode.
OpcUa_Boolean UaDataVariableCache::historizing | ( | ) | const [virtual] |
Indicates if historizing is available or not.
Implements UaVariable.
OpcUa_Boolean UaDataVariableCache::isArrayDimensionsSupported | ( | ) | const [virtual] |
Check if the Node is ArrayDimensionsSupported.
Implements UaVariable.
OpcUa_Boolean UaDataVariableCache::isDescriptionSupported | ( | ) | const [virtual] |
OpcUa_Boolean UaDataVariableCache::isMinimumSamplingIntervalSupported | ( | ) | const [virtual] |
Check wether a minimum sampling interval is supported.
Implements UaVariable.
OpcUa_Boolean UaDataVariableCache::isUserWriteMaskSupported | ( | ) | const [virtual] |
Check if Node is UserWriteMaskSupported.
Implements UaNode.
OpcUa_Boolean UaDataVariableCache::isWriteMaskSupported | ( | ) | const [virtual] |
OpcUa_Double UaDataVariableCache::minimumSamplingInterval | ( | ) | const [virtual] |
Get the minimum sampling interval of the Node.
Implements UaVariable.
UaNodeId UaDataVariableCache::nodeId | ( | ) | const [virtual] |
void UaDataVariableCache::setDataType | ( | const UaNodeId & | dataType ) | [virtual] |
Set the DataType for the DataVariable.
UaStatus UaDataVariableCache::setValue | ( | Session * | pSession, |
const UaDataValue & | dataValue, | ||
OpcUa_Boolean | checkAccessLevel | ||
) | [virtual] |
Sets the current value for the DataVariable.
pSession | Interface to the Session context for the method call |
dataValue | Cached value of the DataVariable. |
checkAccessLevel | checks the Access Level of the current Session. |
Implements UaVariable.
void UaDataVariableCache::setValueRank | ( | OpcUa_Int32 | valueRank ) | [virtual] |
Set the ValueRank for the DataVariable.
UaNodeId UaDataVariableCache::typeDefinitionId | ( | ) | const [virtual] |
Get the object type NodeId for the server object.
Reimplemented from UaNode.
Reimplemented in UaAnalogItemCache, and UaPropertyCache.
OpcUa_Byte UaDataVariableCache::userAccessLevel | ( | Session * | pSession ) | const [virtual] |
Get the UserAccessLevel for the DataVariable.
pSession | Interface to the Session context for the method call |
Implements UaVariable.
OpcUa_UInt32 UaDataVariableCache::userWriteMask | ( | Session * | pSession ) | const [virtual] |
UaDataValue UaDataVariableCache::value | ( | Session * | pSession ) | [virtual] |
Gets the current value for the DataVariable.
pSession | Interface to the Session context for the method call |
Implements UaVariable.
OpcUa_Int32 UaDataVariableCache::valueRank | ( | ) | const [virtual] |
Get the ValueRank for the DataVariable.
Implements UaVariable.
OpcUa_UInt32 UaDataVariableCache::writeMask | ( | ) | const [virtual] |
UaString UaDataVariableCache::m_defaultLocaleId [protected] |
Default localeId for the DataVariable.