UaGenericObject Class Reference
[Core Module Address Model Classes]

Derived from UaObject and UaReferenceLists. More...

#include <uagenericnodes.h>

Inheritance diagram for UaGenericObject:
Collaboration diagram for UaGenericObject:

List of all members.


Public Member Functions

 UaGenericObject (const UaNodeId &nodeId, const UaQualifiedName &browseName, const UaLocalizedText &displayName, const UaLocalizedText &description, const UaNodeId &typeDefinitionId, OpcUa_Byte eventNotifier)
virtual ~UaGenericObject ()
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 UaNodeId typeDefinitionId () const
virtual OpcUa_Byte eventNotifier () const
OpcUa_NodeClass nodeClass () const
virtual MethodManagergetMethodManager (UaMethod *) const
UaNodegetUaNode () const
UaReferenceListsgetUaReferenceLists () const

Detailed Description

Derived from UaObject and UaReferenceLists.

UaGenericObject


Constructor & Destructor Documentation

UaGenericObject::UaGenericObject ( const UaNodeId nodeId,
const UaQualifiedName browseName,
const UaLocalizedText displayName,
const UaLocalizedText description,
const UaNodeId typeDefinitionId,
OpcUa_Byte  eventNotifier 
)

construction

UaGenericObject::~UaGenericObject (  )  [virtual]

destruction


Member Function Documentation

UaStatus UaGenericObject::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 UaGenericObject::nodeId (  )  const [inline, virtual]

Get the NodeId of the current Node.

Returns:
the NodeId of the current Node.

Implements UaNode.

virtual UaQualifiedName UaGenericObject::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 UaGenericObject::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 UaGenericObject::isDescriptionSupported (  )  const [inline, virtual]

Check if Node is DescriptionSupported.

Returns:
FALSE if not supported.

Implements UaNode.

virtual UaLocalizedText UaGenericObject::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 UaGenericObject::isWriteMaskSupported (  )  const [inline, virtual]

Check if Node is WriteMaskSupported. m

Returns:
TRUE if Node is WriteMaskSupported.

Implements UaNode.

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

Get the writeMask of the current Node.

Returns:
the writeMask.

Implements UaNode.

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

Check if Node is UserWriteMaskSupported.

Returns:
TRUE if Node is UserWriteMaskSupported.

Implements UaNode.

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

Get the WriteMask of the User.

Returns:
the WriteMask of the User.

Implements UaNode.

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

Get the object type NodeId for the server object.

Returns:
the object type NodeId for the server object.

Implements UaNode.

virtual OpcUa_Byte UaGenericObject::eventNotifier (  )  const [inline, virtual]

Notifiys which Event was fired.

Returns:
the EventNotifier for the UaTransitionType.

Implements UaObject.

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

Get the Nodeclass of the current Node.

Returns:
the Nodeclass of the current Node.

Reimplemented from UaObject.

virtual MethodManager* UaGenericObject::getMethodManager ( UaMethod  )  const [inline, virtual]

Get the MethodManager interface of an Object.

Returns:
the MethodManager interface of an Object.

Reimplemented from UaObject.

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

Get the Node.

Returns:
the current searched Node.

Implements UaReferenceLists.

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


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