Derived from UaVariable and UaReferenceLists. It is not possible to use the default constructor. More...
#include <uaobjecttypes.h>
Public Member Functions | |
UaDataVariableDevice (const UaString &name, const UaNodeId &nodeId, const UaNodeId &dataType, OpcUa_Int32 valueRank, OpcUa_Byte accessLevel, const UaString &defaultLocaleId) | |
virtual | ~UaDataVariableDevice () |
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 *) const |
virtual OpcUa_Boolean | isDescriptionSupported () const |
virtual UaLocalizedText | description (Session *) 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 OpcUa_Int32 | valueRank () const |
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 |
virtual OpcUa_UInt32 | valueHandling () const |
UaNode * | getUaNode () const |
Derived from UaVariable and UaReferenceLists. It is not possible to use the default constructor.
UaDataVariableDevice::UaDataVariableDevice | ( | const UaString & | name, |
const UaNodeId & | nodeId, | ||
const UaNodeId & | dataType, | ||
OpcUa_Int32 | valueRank, | ||
OpcUa_Byte | accessLevel, | ||
const UaString & | defaultLocaleId | ||
) |
construction
UaDataVariableDevice::~UaDataVariableDevice | ( | ) | [virtual] |
destruction
OpcUa_Byte UaDataVariableDevice::accessLevel | ( | ) | const [virtual] |
Get the AccessLevel for the DataVariable.
Implements UaVariable.
void UaDataVariableDevice::arrayDimensions | ( | UaUInt32Array & | arrayDimensions ) | const [virtual] |
Get the arrayDimensions value for the passed UaNode.
arrayDimensions | the arrayDimensions value for the passed UaNode. |
Implements UaVariable.
UaStatus UaDataVariableDevice::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 UaDataVariableDevice::browseName | ( | ) | const [virtual] |
Get the browseName as QualifiedName of the current Node.
Implements UaNode.
UaNodeId UaDataVariableDevice::dataType | ( | ) | const [virtual] |
Get the DataType for the DataVariable.
Implements UaVariable.
UaLocalizedText UaDataVariableDevice::description | ( | Session * | ) | const [virtual] |
UaLocalizedText UaDataVariableDevice::displayName | ( | Session * | ) | const [virtual] |
UaNode* UaDataVariableDevice::getUaNode | ( | ) | const [inline, virtual] |
UaReferenceLists* UaDataVariableDevice::getUaReferenceLists | ( | ) | const [inline, virtual] |
Get a ReferenceList where all the Nodes are in.
Reimplemented from UaNode.
OpcUa_Boolean UaDataVariableDevice::historizing | ( | ) | const [virtual] |
Indicates if historizing is available or not.
Implements UaVariable.
OpcUa_Boolean UaDataVariableDevice::isArrayDimensionsSupported | ( | ) | const [virtual] |
Check if the Node is ArrayDimensionsSupported.
Implements UaVariable.
OpcUa_Boolean UaDataVariableDevice::isDescriptionSupported | ( | ) | const [virtual] |
OpcUa_Boolean UaDataVariableDevice::isMinimumSamplingIntervalSupported | ( | ) | const [virtual] |
Check wether a minimum sampling interval is supported.
Implements UaVariable.
OpcUa_Boolean UaDataVariableDevice::isUserWriteMaskSupported | ( | ) | const [virtual] |
Check if Node is UserWriteMaskSupported.
Implements UaNode.
OpcUa_Boolean UaDataVariableDevice::isWriteMaskSupported | ( | ) | const [virtual] |
OpcUa_Double UaDataVariableDevice::minimumSamplingInterval | ( | ) | const [virtual] |
Get the minimum sampling interval of the Node.
Implements UaVariable.
UaNodeId UaDataVariableDevice::nodeId | ( | ) | const [virtual] |
UaStatus UaDataVariableDevice::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.
UaNodeId UaDataVariableDevice::typeDefinitionId | ( | ) | const [virtual] |
Get the object type NodeId for the server object.
Reimplemented from UaNode.
OpcUa_Byte UaDataVariableDevice::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 UaDataVariableDevice::userWriteMask | ( | Session * | pSession ) | const [virtual] |
UaDataValue UaDataVariableDevice::value | ( | Session * | pSession ) | [virtual] |
Sets the current value for the DataVariable.
pSession | Interface to the Session context for the method call |
Implements UaVariable.
virtual OpcUa_UInt32 UaDataVariableDevice::valueHandling | ( | ) | const [inline, virtual] |
Get the handling of a Value (UaVariable_Value_Cache or UaVariable_Value_CacheIsSource).
Reimplemented from UaVariable.
OpcUa_Int32 UaDataVariableDevice::valueRank | ( | ) | const [virtual] |
Get the ValueRank for the DataVariable.
Implements UaVariable.
OpcUa_UInt32 UaDataVariableDevice::writeMask | ( | ) | const [virtual] |