UA Server SDK C++ Bundle  1.4.1.271
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
UaDataTypeNS0 Class Reference

UaDataTypeNS0. More...

#include <uadatatypesns0.h>

Inherits UaDataType, and UaReferenceLists.

Public Member Functions

 UaDataTypeNS0 (OpcUa_UInt32 identifier, UaString name, OpcUa_Boolean isAbstract)
 construction
 
UaReferenceListsgetUaReferenceLists () const
 Get a ReferenceList where all the Nodes are in. More...
 
UaStatus browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)
 Discover the references of a specified node of a view. More...
 
UaNodeId nodeId () const
 Get the NodeId for the DataVariable. More...
 
UaQualifiedName browseName () const
 Get the browseName as QualifiedName of the current Node. More...
 
UaLocalizedText displayName (Session *) const
 Get the displayName as LocalizedText of the current Node. More...
 
OpcUa_Boolean isDescriptionSupported () const
 Check if Node is DescriptionSupported. More...
 
UaLocalizedText description (Session *) const
 Get the description as LocalizedText of the current Node. More...
 
OpcUa_Boolean isWriteMaskSupported () const
 Check if Node is WriteMaskSupported. More...
 
OpcUa_UInt32 writeMask () const
 Get the writeMask of the current Node. More...
 
OpcUa_Boolean isUserWriteMaskSupported () const
 Check if Node is UserWriteMaskSupported. More...
 
OpcUa_UInt32 userWriteMask (Session *) const
 Get the WriteMask of the User. More...
 
OpcUa_Boolean isAbstract () const
 Check if Node is Abstract. More...
 
UaNodegetUaNode () const
 Get the Node. More...
 
- Public Member Functions inherited from UaDataType
 UaDataType ()
 construction
 
OpcUa_NodeClass nodeClass () const
 Get the NodeClass of the current Node. More...
 
virtual void getAttributeValue (Session *pSession, OpcUa_Int32 attributeId, UaDataValue &uaDataValue)
 Gets the value of an attribute of the Node. More...
 
- Public Member Functions inherited from UaNode
 UaNode ()
 Construction of the UaNode. More...
 
virtual UaNodeId getKey () const
 Get the key of the node used for the hash table. More...
 
virtual UaNodeId typeDefinitionId () const
 Get NodeId of the type definition node for this node. More...
 
virtual UaNodeId modellingRuleId () const
 Get NodeId of the modeling rule for this node. More...
 
virtual UaStatus setAttributeValue (Session *pSession, OpcUa_Int32 attributeId, const UaDataValue &dataValue, OpcUa_Boolean checkWriteMask)
 Sets the value of an attribute of the Node. More...
 
virtual void setUserData (UserDataBase *pUserData)
 Defines the method to set user data handled by a derived class. More...
 
virtual UserDataBasegetUserData () const
 Returns user data provided by a derived class. More...
 
- Public Member Functions inherited from ChainEntry
 ChainEntry ()
 construction
 
ChainEntryfind (const UaNodeId &key, ChainEntry **ppPrevious)
 finds the right entry in the chain. More...
 
void add (ChainEntry *pNewEntry)
 adds a new entry to the list. More...
 
void prepend (ChainEntry *pNewEntry)
 prepends a new entry to the list. More...
 
ChainEntryremove (const UaNodeId &key, ChainEntry **ppNext)
 removes an entry from the list. More...
 
ChainEntrygetNext () const
 Check if there is a chain. More...
 
virtual void setInvalid ()
 Set the entry to invalid. More...
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter ()
 construction
 
virtual ~ReferenceCounter ()
 destruction
 
- Public Member Functions inherited from UaReferenceLists
 UaReferenceLists ()
 Constructs the reference lists object.
 
virtual ~UaReferenceLists ()
 Destroys the reference lists object.
 
virtual UaStatus browseReferences (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)
 Discover the references of a specified node of a view. More...
 
virtual UaStatus translateBrowsePathToNodeId (const ServiceContext &serviceContext, const UaNodeId &startingNode, UaRelativePath &relativePath, UaBrowsePathTargets &browsePathTargets)
 Find a node based on an element of an relative path. More...
 
virtual const UaReferencepTargetNodes () const
 Returns the list of references to target nodes. More...
 
virtual const UaReferencepSourceNodes () const
 Returns the list of references to source nodes. More...
 
virtual UaNodegetTargetNodeByBrowseName (const UaQualifiedName &browseName) const
 Searches a target node with the passed browse name and returns the UaNode interface if found. More...
 
virtual void addTargetNode (UaReference *pReference)
 Add a reference to a target node where this node is the source node. More...
 
virtual void addSourceNode (UaReference *pReference)
 Adds a reference to a source node where this node is the target node. More...
 
virtual UaStatus removeSourceNode (UaReference *pReferenceToRemove)
 Remove a reference to a source node where this node is the target node. More...
 
virtual bool removeSourceReference (UaReference *pReferenceToRemove)
 Remove the passed reference to a source node. More...
 
virtual UaStatus removeTargetNode (UaNode *pTargetNode, const UaNodeId &referenceTypeId, OpcUa_Boolean deleteBidirectional)
 Remove a reference to a target node where this node is the source node. More...
 
virtual UaStatus removeTargetNode (const UaNodeId &targetNodeId, const UaNodeId &referenceTypeId, OpcUa_Boolean deleteBidirectional)
 Remove a reference to a target node where this node is the source node. More...
 
virtual bool removeTargetReference (UaReference *pReferenceToRemove)
 Remove the passed reference to a target node. More...
 
virtual UaStatus removeCrossNodeManagerRef (NodeManager *pNodeManager)
 Remove references to another NodeManager. More...
 
virtual UaStatus invalidateSourceReferences (OpcUa_Boolean deleteSourceReferences)
 Set all references from SourceNodes to this Node invalid. More...
 
virtual UaStatus invalidateTargetReferences (OpcUa_Boolean deleteTargetReferences)
 Set all references to TargetNode of this node invalid. More...
 
virtual UaStatus deleteAllChildren (NodeManagerConfig *pNodeManagerConfig)
 Deletes all child nodes. More...
 

Protected Member Functions

virtual ~UaDataTypeNS0 ()
 destruction
 
- Protected Member Functions inherited from UaDataType
virtual ~UaDataType ()
 destruction
 
- Protected Member Functions inherited from UaNode
virtual ~UaNode ()
 Destruction of the UaNode. More...
 
- Protected Member Functions inherited from ChainEntry
virtual ~ChainEntry ()
 destruction
 

Additional Inherited Members

- Protected Attributes inherited from UaReferenceLists
UaReferencem_pTargetNodes
 List of references to target nodes where this node is the source node. More...
 
UaReferencem_pLastTargetNode
 Last references in the list of references to the target nodes. More...
 
UaReferencem_pSourceNodes
 List of references to source nodes where this node is the target node. More...
 

Detailed Description

UaDataTypeNS0.

Class definition of the UaDataTypeNS0. Derived from UaDataType and UaReferenceLists.

Member Function Documentation

UaStatus UaDataTypeNS0::browse ( const ServiceContext serviceContext,
BrowseContext browseContext,
UaReferenceDescriptions &  References 
)
inlinevirtual

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 UaDataTypeNS0::browseName ( ) const
inlinevirtual

Get the browseName as QualifiedName of the current Node.

Returns
the browseName as QualifiedName.

Implements UaNode.

UaLocalizedText UaDataTypeNS0::description ( Session ) const
inlinevirtual

Get the description as LocalizedText of the current Node.

Returns
the LocalizedText of the current Node.

Implements UaNode.

UaLocalizedText UaDataTypeNS0::displayName ( Session ) const
inlinevirtual

Get the displayName as LocalizedText of the current Node.

Returns
the LocalizedText of the current Node.

Implements UaNode.

UaNode* UaDataTypeNS0::getUaNode ( ) const
inlinevirtual

Get the Node.

Returns
the current searched Node.

Implements UaReferenceLists.

UaReferenceLists* UaDataTypeNS0::getUaReferenceLists ( ) const
inlinevirtual

Get a ReferenceList where all the Nodes are in.

Returns
a ReferenceList where all the Nodes are in.

Reimplemented from UaNode.

OpcUa_Boolean UaDataTypeNS0::isAbstract ( ) const
inlinevirtual

Check if Node is Abstract.

Returns
TRUE if is Abstract FALSE if not.

Implements UaDataType.

OpcUa_Boolean UaDataTypeNS0::isDescriptionSupported ( ) const
inlinevirtual

Check if Node is DescriptionSupported.

Returns
FALSE if not supported.

Implements UaNode.

OpcUa_Boolean UaDataTypeNS0::isUserWriteMaskSupported ( ) const
inlinevirtual

Check if Node is UserWriteMaskSupported.

Returns
TRUE if Node is UserWriteMaskSupported.

Implements UaNode.

OpcUa_Boolean UaDataTypeNS0::isWriteMaskSupported ( ) const
inlinevirtual

Check if Node is WriteMaskSupported.

Returns
TRUE if Node is WriteMaskSupported.

Implements UaNode.

UaNodeId UaDataTypeNS0::nodeId ( ) const
inlinevirtual

Get the NodeId for the DataVariable.

Returns
the NodeId for the DataVariable.

Implements UaNode.

OpcUa_UInt32 UaDataTypeNS0::userWriteMask ( Session ) const
inlinevirtual

Get the WriteMask of the User.

Returns
the WriteMask of the User.

Implements UaNode.

OpcUa_UInt32 UaDataTypeNS0::writeMask ( ) const
inlinevirtual

Get the writeMask of the current Node.

Returns
the writeMask.

Implements UaNode.


The documentation for this class was generated from the following files: