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 (Session *pSession) 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 *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

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

UaQualifiedName UaViewSimple::browseName (  ) const [virtual]

Get the browseName as QualifiedName of the current Node.

Returns:
the browseName as QualifiedName.

Implements UaNode.

OpcUa_Boolean UaViewSimple::containsNoLoops (  ) const [virtual]

Set the Variables loops.

Returns:
TRUE if there are no loops FALSE otherwise.

Implements UaView.

UaLocalizedText UaViewSimple::description ( Session  ) const [virtual]

Get the description as LocalizedText of the current Node.

Parameters:
pSessionInterface to the Session context for the method call
Returns:
the LocalizedText of the current Node.

Implements UaNode.

UaLocalizedText UaViewSimple::displayName ( Session pSession ) const [virtual]

Get the displayName as LocalizedText of the current Node.

Parameters:
pSessionInterface to the Session context for the method call
Returns:
the LocalizedText of the current Node.

Implements UaNode.

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.

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.

OpcUa_Boolean UaViewSimple::isDescriptionSupported (  ) const [virtual]

Check if Node is DescriptionSupported.

Returns:
FALSE if not supported.

Implements UaNode.

OpcUa_Boolean UaViewSimple::isUserWriteMaskSupported (  ) const [virtual]

Check if Node is UserWriteMaskSupported.

Returns:
TRUE if Node is UserWriteMaskSupported.

Implements UaNode.

OpcUa_Boolean UaViewSimple::isWriteMaskSupported (  ) const [virtual]

Check if Node is WriteMaskSupported.

Returns:
TRUE if Node is WriteMaskSupported.

Implements UaNode.

UaNodeId UaViewSimple::nodeId (  ) const [virtual]

Get the NodeId of the current Node.

Returns:
the NodeId of the current Node.

Implements UaNode.

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

Check if Node has a userWriteMask.

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

Implements UaNode.

OpcUa_UInt32 UaViewSimple::writeMask (  ) const [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/uaobjecttypes.h
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/uaobjecttypes.cpp