UaGenericReferenceType Class Reference
[Core Module Address Model Classes]

Derived from UaReferenceType and UaReferenceLists. More...

#include <uagenericnodes.h>

Inheritance diagram for UaGenericReferenceType:
Collaboration diagram for UaGenericReferenceType:

List of all members.


Public Member Functions

 UaGenericReferenceType (const UaNodeId &nodeId, const UaQualifiedName &browseName, const UaLocalizedText &displayName, const UaLocalizedText &description, OpcUa_Boolean isAbstract, OpcUa_Boolean symmetric, const UaLocalizedText &inverseName, UaReferenceType *pParentRefType)
virtual ~UaGenericReferenceType ()
UaStatus browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)
virtual UaNodeId nodeId () const
virtual UaQualifiedName browseName () const
virtual UaLocalizedText displayName (const UaString &) const
virtual OpcUa_Boolean isDescriptionSupported () const
virtual UaLocalizedText description (const UaString &) 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 isAbstract () const
virtual OpcUa_Boolean symmetric () const
virtual OpcUa_Boolean isInverseNameSupported () const
virtual UaLocalizedText inverseName (const UaString &) const
OpcUa_NodeClass nodeClass () const
UaNodeId typeDefinitionId () const
UaNodegetUaNode () const
UaReferenceListsgetUaReferenceLists () const
virtual OpcUa_Boolean isSubtypeOf (const OpcUa_NodeId *pNodeId) const

Detailed Description

Derived from UaReferenceType and UaReferenceLists.

UaGenericReferenceType


Constructor & Destructor Documentation

UaGenericReferenceType::UaGenericReferenceType ( const UaNodeId nodeId,
const UaQualifiedName browseName,
const UaLocalizedText displayName,
const UaLocalizedText description,
OpcUa_Boolean  isAbstract,
OpcUa_Boolean  symmetric,
const UaLocalizedText inverseName,
UaReferenceType pParentRefType 
)

construction

UaGenericReferenceType::~UaGenericReferenceType (  )  [virtual]

destruction


Member Function Documentation

UaStatus UaGenericReferenceType::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:
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.
Returns:
Error code

Implements UaNode.

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

Get the NodeId of the current Node.

Returns:
the NodeId of the current Node.

Implements UaNode.

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

Get the browseName as QualifiedName of the current Node.

Returns:
the BrowseName for the DataVariable as QualifiedName.

Implements UaNode.

virtual UaLocalizedText UaGenericReferenceType::displayName ( const UaString  )  const [inline, virtual]

Get the displayName as LocalizedText of the current Node.

Returns:
the LocalizedText of the current Node.

Implements UaNode.

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

Check if Node is DescriptionSupported.

Returns:
FALSE if not supported.

Implements UaNode.

virtual UaLocalizedText UaGenericReferenceType::description ( const UaString  )  const [inline, virtual]

Get the description as LocalizedText of the current Node.

Returns:
the LocalizedText of the current Node.

Implements UaNode.

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

Check if Node is WriteMaskSupported.

Returns:
TRUE if Node is WriteMaskSupported.

Implements UaNode.

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

Get the writeMask of the current Node.

Returns:
the writeMask.

Implements UaNode.

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

Check if Node is UserWriteMaskSupported.

Returns:
TRUE if Node is UserWriteMaskSupported.

Implements UaNode.

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

Get the WriteMask of the User.

Returns:
the WriteMask of the User.

Implements UaNode.

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

Check if Node is Abstract.

Returns:
TRUE if is Abstract FALSE if not.

Implements UaReferenceType.

virtual OpcUa_Boolean UaGenericReferenceType::symmetric (  )  const [inline, virtual]

Check if Node is symmetric.

Returns:
TRUE if is symmetric FALSE if not.

Implements UaReferenceType.

virtual OpcUa_Boolean UaGenericReferenceType::isInverseNameSupported (  )  const [inline, virtual]

Check if Node is InverseNameSupported.

Returns:
TRUE if is InverseNameSupported FALSE if not.

Implements UaReferenceType.

virtual UaLocalizedText UaGenericReferenceType::inverseName ( const UaString  )  const [inline, virtual]

Get the inverseName as LocalizedText of the current Node.

Returns:
the inverseName as LocalizedText.

Implements UaReferenceType.

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

Get the Nodeclass of the current Node.

Returns:
the Nodeclass of the current Node.

Reimplemented from UaReferenceType.

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

Get the object type NodeId for the server object.

Returns:
the object type NodeId for the server object.

Reimplemented from UaReferenceType.

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

Get the Node.

Returns:
the current searched Node.

Implements UaReferenceLists.

UaReferenceLists* UaGenericReferenceType::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.

OpcUa_Boolean UaGenericReferenceType::isSubtypeOf ( const OpcUa_NodeId *  pNodeId  )  const [virtual]

Check wether the current Node is a Subtype of another.

Parameters:
pNodeId NodeId of the requested Node.
Returns:
TRUE if the Node is a Subtype of another FALSE if not.

Implements UaReferenceType.


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