Class definition of the UaVariableType. Derived from UaNode Get all information about the variable types. More...

#include <uabasenodes.h>

Inheritance diagram for UaVariableType:
Collaboration diagram for UaVariableType:

List of all members.

Public Member Functions

 UaVariableType ()
virtual OpcUa_Boolean isValueSupported () const =0
virtual UaDataValue value (Session *pSession)=0
virtual UaNodeId dataType () const =0
virtual OpcUa_Int32 valueRank () const =0
virtual OpcUa_Boolean isArrayDimensionsSupported () const =0
virtual void arrayDimensions (UaUInt32Array &arrayDimensions) const =0
virtual OpcUa_Boolean isAbstract () const =0
OpcUa_NodeClass nodeClass () const
virtual void getAttributeValue (Session *pSession, OpcUa_Int32 attributeId, UaDataValue &uaDataValue)

Protected Member Functions

virtual ~UaVariableType ()

Detailed Description

Class definition of the UaVariableType. Derived from UaNode Get all information about the variable types.

UaVariableType


Constructor & Destructor Documentation

UaVariableType::~UaVariableType (  ) [protected, virtual]

destruction

UaVariableType::UaVariableType (  )

construction


Member Function Documentation

virtual void UaVariableType::arrayDimensions ( UaUInt32Array &  arrayDimensions ) const [pure virtual]

Get the arrayDimensions value for the passed UaNode.

Parameters:
arrayDimensionsthe arrayDimensions value for the passed UaNode.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

virtual UaNodeId UaVariableType::dataType (  ) const [pure virtual]

Get the DataType for the DataVariable.

Returns:
the DataType for the DataVariable.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

void UaVariableType::getAttributeValue ( Session pSession,
OpcUa_Int32  attributeId,
UaDataValue uaDataValue 
) [virtual]

Gets the value of an attribute of the Node.

Parameters:
[in]pSessionInterface to the Session context for the method call
[in]attributeIdAttribute id indicating the attribute to return
[out]uaDataValueThe value of the attribute or the status code for the attribute

Reimplemented from UaNode.

virtual OpcUa_Boolean UaVariableType::isAbstract (  ) const [pure virtual]

Check if Node is Abstract.

Returns:
TRUE if is Abstract FALSE if not.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

virtual OpcUa_Boolean UaVariableType::isArrayDimensionsSupported (  ) const [pure virtual]

Check if the Node is ArrayDimensionsSupported.

Returns:
FALSE if not supported.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

virtual OpcUa_Boolean UaVariableType::isValueSupported (  ) const [pure virtual]

Check wether the actual Node is Value supported or not.

Returns:
TRUE if supported.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

OpcUa_NodeClass UaVariableType::nodeClass (  ) const [inline, virtual]

Get the Nodeclass of the current Node.

Returns:
the Nodeclass of the current Node.

Implements UaNode.

Reimplemented in UaGenericVariableType, and UaVariableTypeSimple.

virtual UaDataValue UaVariableType::value ( Session pSession ) [pure virtual]

Sets the current value for the DataVariable.

Parameters:
pSessionInterface to the Session context for the method call
Returns:
the current value for the DataVariable.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

virtual OpcUa_Int32 UaVariableType::valueRank (  ) const [pure virtual]

Get the ValueRank for the DataVariable.

Returns:
the ValueRank for the DataVariable.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.


The documentation for this class was generated from the following files:
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/uabasenodes.h
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/uabasenodes.cpp