UaObjectTypeSimple Class Reference
[Core Module Address Model Classes]

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

#include <uaobjecttypes.h>

Inheritance diagram for UaObjectTypeSimple:
Collaboration diagram for UaObjectTypeSimple:

List of all members.


Public Member Functions

 UaObjectTypeSimple (const UaString &name, const UaNodeId &nodeId, const UaString &defaultLocaleId, OpcUa_Boolean isAbstract)
virtual ~UaObjectTypeSimple ()
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
OpcUa_Boolean isAbstract () const
UaNodegetUaNode () const

Detailed Description

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

UaObjectTypeSimple


Constructor & Destructor Documentation

UaObjectTypeSimple::UaObjectTypeSimple ( const UaString name,
const UaNodeId nodeId,
const UaString defaultLocaleId,
OpcUa_Boolean  isAbstract 
)

construction

UaObjectTypeSimple::~UaObjectTypeSimple (  )  [virtual]

destruction


Member Function Documentation

UaReferenceLists* UaObjectTypeSimple::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 UaObjectTypeSimple::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 UaObjectTypeSimple::nodeId (  )  const [virtual]

Get the NodeId of the current Node.

Returns:
the NodeId of the current Node.

Implements UaNode.

UaQualifiedName UaObjectTypeSimple::browseName (  )  const [virtual]

Get the browseName as QualifiedName of the current Node.

Returns:
the browseName as QualifiedName.

Implements UaNode.

UaLocalizedText UaObjectTypeSimple::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 UaObjectTypeSimple::isDescriptionSupported (  )  const [virtual]

Check if Node is DescriptionSupported.

Returns:
FALSE if not supported.

Implements UaNode.

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

Check if Node is WriteMaskSupported.

Returns:
TRUE if Node is WriteMaskSupported.

Implements UaNode.

OpcUa_UInt32 UaObjectTypeSimple::writeMask (  )  const [virtual]

Get the writeMask of the current Node.

Returns:
the writeMask.

Implements UaNode.

OpcUa_Boolean UaObjectTypeSimple::isUserWriteMaskSupported (  )  const [virtual]

Check if Node is UserWriteMaskSupported.

Returns:
TRUE if Node is UserWriteMaskSupported.

Implements UaNode.

OpcUa_UInt32 UaObjectTypeSimple::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 UaObjectTypeSimple::isAbstract (  )  const [virtual]

Check if Node is Abstract.

Returns:
TRUE if is Abstract FALSE if not.

Implements UaObjectType.

UaNode* UaObjectTypeSimple::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