UaGenericVariableType Class Reference
[Core Module Address Model Classes]

Derived from UaVariableType and UaReferenceLists. More...

#include <uagenericnodes.h>

Inheritance diagram for UaGenericVariableType:
Collaboration diagram for UaGenericVariableType:

List of all members.

Public Member Functions

 UaGenericVariableType (const UaNodeId &nodeId, const UaQualifiedName &browseName, const UaLocalizedText &displayName, const UaLocalizedText &description, const UaVariant &value, const UaNodeId &dataTyp, OpcUa_Int32 valueRank, OpcUa_Boolean isAbstract)
virtual ~UaGenericVariableType ()
UaStatus browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)
virtual 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 *) const
virtual OpcUa_Boolean isValueSupported () const
virtual UaDataValue value (Session *)
virtual UaNodeId dataType () const
virtual OpcUa_Int32 valueRank () const
virtual OpcUa_Boolean isArrayDimensionsSupported () const
virtual void arrayDimensions (UaUInt32Array &arrayDimensions) const
virtual OpcUa_Boolean isAbstract () const
OpcUa_NodeClass nodeClass () const
UaNodeId typeDefinitionId () const
UaNodegetUaNode () const
UaReferenceListsgetUaReferenceLists () const
virtual void setWriteMask (OpcUa_UInt32 writeMask)
virtual UaStatus setAttributeValue (Session *pSession, OpcUa_Int32 attributeId, const UaDataValue &dataValue, OpcUa_Boolean checkWriteMask)

Detailed Description

Derived from UaVariableType and UaReferenceLists.

UaGenericVariableType


Constructor & Destructor Documentation

UaGenericVariableType::UaGenericVariableType ( const UaNodeId nodeId,
const UaQualifiedName browseName,
const UaLocalizedText displayName,
const UaLocalizedText description,
const UaVariant value,
const UaNodeId dataTyp,
OpcUa_Int32  valueRank,
OpcUa_Boolean  isAbstract 
)

construction

UaGenericVariableType::~UaGenericVariableType (  ) [virtual]

destruction


Member Function Documentation

virtual void UaGenericVariableType::arrayDimensions ( UaUInt32Array &  arrayDimensions ) const [inline, virtual]

Get the arrayDimensions value for the passed UaNode.

Parameters:
arrayDimensionsthe arrayDimensions value for the passed UaNode.

Implements UaVariableType.

UaStatus UaGenericVariableType::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.

Parameters:
serviceContextGeneral context for the service calls containing information like the session object, return diagnostic mask and timeout hint.
browseContextBrowse context for the first browse or the following browse with continuation point.
ReferencesArray of ReferenceDescription results for the browsed node.
Returns:
Error code

Implements UaNode.

virtual UaQualifiedName UaGenericVariableType::browseName (  ) const [inline, virtual]

Get the browseName as QualifiedName of the current Node.

Returns:
the BrowseName for the DataVariable as QualifiedName.

Implements UaNode.

virtual UaNodeId UaGenericVariableType::dataType (  ) const [inline, virtual]

Get the DataType for the DataVariable.

Returns:
the DataType for the DataVariable.

Implements UaVariableType.

virtual UaLocalizedText UaGenericVariableType::description ( Session  ) const [inline, virtual]

Get the description as LocalizedText of the current Node.

Returns:
the LocalizedText of the current Node.

Implements UaNode.

virtual UaLocalizedText UaGenericVariableType::displayName ( Session  ) const [inline, virtual]

Get the displayName as LocalizedText of the current Node.

Returns:
the LocalizedText of the current Node.

Implements UaNode.

UaNode* UaGenericVariableType::getUaNode (  ) const [inline, virtual]

Get the Node.

Returns:
the current searched Node.

Implements UaReferenceLists.

UaReferenceLists* UaGenericVariableType::getUaReferenceLists (  ) const [inline, virtual]

Get a ReferenceList where all the Nodes are in.

Returns:
a ReferenceList where all the Nodes are in.

Reimplemented from UaNode.

virtual OpcUa_Boolean UaGenericVariableType::isAbstract (  ) const [inline, virtual]

Check if Node is Abstract.

Returns:
TRUE if is Abstract FALSE if not.

Implements UaVariableType.

virtual OpcUa_Boolean UaGenericVariableType::isArrayDimensionsSupported (  ) const [inline, virtual]

Check if the Node is ArrayDimensionsSupported.

Returns:
FALSE if not supported.

Implements UaVariableType.

virtual OpcUa_Boolean UaGenericVariableType::isDescriptionSupported (  ) const [inline, virtual]

Check if Node is DescriptionSupported.

Returns:
FALSE if not supported.

Implements UaNode.

virtual OpcUa_Boolean UaGenericVariableType::isUserWriteMaskSupported (  ) const [inline, virtual]

Check if Node is UserWriteMaskSupported.

Returns:
TRUE if Node is UserWriteMaskSupported.

Implements UaNode.

virtual OpcUa_Boolean UaGenericVariableType::isValueSupported (  ) const [inline, virtual]

Check wether the actual Node is Value supported or not.

Returns:
TRUE if supported.

Implements UaVariableType.

virtual OpcUa_Boolean UaGenericVariableType::isWriteMaskSupported (  ) const [inline, virtual]

Check if Node is WriteMaskSupported.

Returns:
TRUE if Node is WriteMaskSupported.

Implements UaNode.

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

Get the Nodeclass of the current Node.

Returns:
the Nodeclass of the current Node.

Reimplemented from UaVariableType.

virtual UaNodeId UaGenericVariableType::nodeId (  ) const [inline, virtual]

Get the NodeId of the current Node.

Returns:
the NodeId of the current Node.

Implements UaNode.

UaStatus UaGenericVariableType::setAttributeValue ( Session pSession,
OpcUa_Int32  attributeId,
const UaDataValue dataValue,
OpcUa_Boolean  checkWriteMask 
) [virtual]

Sets the value of an attribute of the Node.

Returns:
Status code
Parameters:
[in]pSessionInterface to the Session context for the method call
[in]attributeIdAttribute id indicating the attribute to set
[in]dataValueNew value for the attribute
[out]checkWriteMaskFlag indicating if the write mask of the node should be checked before setting the new value

Reimplemented from UaNode.

virtual void UaGenericVariableType::setWriteMask ( OpcUa_UInt32  writeMask ) [inline, virtual]

Sets the write mask attribute.

UaNodeId UaGenericVariableType::typeDefinitionId (  ) const [inline, virtual]

Get the object type NodeId for the server object.

Returns:
the object type NodeId for the server object.

Reimplemented from UaNode.

virtual OpcUa_UInt32 UaGenericVariableType::userWriteMask ( Session  ) const [inline, virtual]

Get the WriteMask of the User.

Returns:
the WriteMask of the User.

Implements UaNode.

virtual UaDataValue UaGenericVariableType::value ( Session  ) [inline, virtual]

Sets the current value for the DataVariable.

Returns:
the current value for the DataVariable.

Implements UaVariableType.

virtual OpcUa_Int32 UaGenericVariableType::valueRank (  ) const [inline, virtual]

Get the ValueRank for the DataVariable.

Returns:
the ValueRank for the DataVariable.

Implements UaVariableType.

virtual OpcUa_UInt32 UaGenericVariableType::writeMask (  ) const [inline, virtual]

Get the writeMask of the current Node.

Returns:
the writeMask.

Implements UaNode.


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