UaViewSimple Class Reference
[Core Module Address Model Classes]

Derived from UaView and UaReferenceLists. It is not possible to use the default constructor. More...

#include <uaobjecttypes.h>

Inheritance diagram for UaViewSimple:
Collaboration diagram for UaViewSimple:

List of all members.


Public Member Functions

 UaViewSimple (const UaString &name, const UaNodeId &nodeId, const UaString &defaultLocaleId, OpcUa_Boolean containsNoLoops, OpcUa_Byte eventNotifier)
virtual ~UaViewSimple ()
UaReferenceListsgetUaReferenceLists () const
virtual UaStatus browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)
UaNodeId nodeId () const
virtual UaQualifiedName browseName () const
virtual UaLocalizedText displayName (const UaString &localId) const
virtual OpcUa_Boolean isDescriptionSupported () const
virtual UaLocalizedText description (const UaString &localId) const
virtual OpcUa_Boolean isWriteMaskSupported () const
virtual OpcUa_UInt32 writeMask () const
virtual OpcUa_Boolean isUserWriteMaskSupported () const
virtual OpcUa_UInt32 userWriteMask (Session *pSession) const
virtual OpcUa_Boolean containsNoLoops () const
virtual OpcUa_Byte eventNotifier () const
UaNodegetUaNode () const

Detailed Description

Derived from UaView and UaReferenceLists. It is not possible to use the default constructor.

UaViewSimple


Constructor & Destructor Documentation

UaViewSimple::UaViewSimple ( const UaString name,
const UaNodeId nodeId,
const UaString defaultLocaleId,
OpcUa_Boolean  containsNoLoops,
OpcUa_Byte  eventNotifier 
)

construction

UaViewSimple::~UaViewSimple (  )  [virtual]

destruction


Member Function Documentation

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

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

UaNodeId UaViewSimple::nodeId (  )  const [virtual]

Get the NodeId of the current Node.

Returns:
the NodeId of the current Node.

Implements UaNode.

UaQualifiedName UaViewSimple::browseName (  )  const [virtual]

Get the browseName as QualifiedName of the current Node.

Returns:
the browseName as QualifiedName.

Implements UaNode.

UaLocalizedText UaViewSimple::displayName ( const UaString localId  )  const [virtual]

Get the displayName as LocalizedText of the current Node.

Parameters:
localId the local Id as Variable used for the session.
Returns:
the LocalizedText of the current Node.

Implements UaNode.

OpcUa_Boolean UaViewSimple::isDescriptionSupported (  )  const [virtual]

Check if Node is DescriptionSupported.

Returns:
FALSE if not supported.

Implements UaNode.

UaLocalizedText UaViewSimple::description ( const UaString localId  )  const [virtual]

Get the description as LocalizedText of the current Node.

Parameters:
localId the local Id as Variable used for the session.
Returns:
the LocalizedText of the current Node.

Implements UaNode.

OpcUa_Boolean UaViewSimple::isWriteMaskSupported (  )  const [virtual]

Check if Node is WriteMaskSupported.

Returns:
TRUE if Node is WriteMaskSupported.

Implements UaNode.

OpcUa_UInt32 UaViewSimple::writeMask (  )  const [virtual]

Get the writeMask of the current Node.

Returns:
the writeMask.

Implements UaNode.

OpcUa_Boolean UaViewSimple::isUserWriteMaskSupported (  )  const [virtual]

Check if Node is UserWriteMaskSupported.

Returns:
TRUE if Node is UserWriteMaskSupported.

Implements UaNode.

OpcUa_UInt32 UaViewSimple::userWriteMask ( Session pSession  )  const [virtual]

Check if Node has a userWriteMask.

Parameters:
pSession Interface to the Session context for the method call
Returns:
the userWriteMask.

Implements UaNode.

OpcUa_Boolean UaViewSimple::containsNoLoops (  )  const [virtual]

Set the Variables loops.

Returns:
TRUE if there are no loops FALSE otherwise.

Implements UaView.

OpcUa_Byte UaViewSimple::eventNotifier (  )  const [virtual]

Notifiys which Event was fired.

Returns:
the EventNotifier for the UaTransitionType.

Implements UaView.

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

Get the Node.

Returns:
the current searched Node.

Implements UaReferenceLists.


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