C++ Based OPC UA Client/Server SDK  1.5.5.355
UaBase::Object Class Reference

Stores the information of an Object node. More...

#include <basenodes.h>

Inherits UaBase::BaseNode.

Public Member Functions

 Object ()
 Creates an Object. More...
 
 Object (const UaNodeId &nodeId)
 Creates an Object. More...
 
 ~Object ()
 Destruction. More...
 
virtual OpcUa_NodeClass nodeClass () const
 Returns the NodeClass of the BaseNode. More...
 
UaNodeId typeDefinitionId () const
 Returns the NodeId of the TypeDefinition. More...
 
UaNodeId modellingRuleId () const
 Returns the NodeId of the ModellingRule. More...
 
void setTypeDefinitionId (const UaNodeId &typeDefinitionId)
 Sets the TypeDefinition. More...
 
void setModellingRuleId (const UaNodeId &typeDefinitionId)
 Sets the ModellingRule. More...
 
void setEventNotifier (OpcUa_Byte eventNotifier)
 Sets the EventNotifier. More...
 
OpcUa_Byte eventNotifier () const
 Returns the EventNotifier. More...
 
- Public Member Functions inherited from UaBase::BaseNode
virtual ~BaseNode ()
 Destruction. More...
 
virtual void setNodeId (const UaNodeId &nodeId)
 Sets the NodeId of the BaseNode. More...
 
UaNodeId nodeId () const
 Returns the NodeId of the BaseNode. More...
 
void setBrowseName (const UaQualifiedName &browseName)
 Sets the BrowseName of the BaseNode. More...
 
UaQualifiedName browseName () const
 Returns the BrowseName of the BaseNode. More...
 
void setDisplayName (const UaLocalizedText &displayName)
 Sets the DisplayName of the BaseNode. More...
 
UaLocalizedText displayName () const
 Returns the DisplayName of the BaseNode. More...
 
void setDescription (const UaLocalizedText &description)
 Sets the Description of the BaseNode. More...
 
UaLocalizedText description () const
 Returns the Description of the BaseNode. More...
 
void setWriteMask (OpcUa_UInt32 writeMask)
 Sets the WriteMask of the BaseNode. More...
 
OpcUa_UInt32 writeMask () const
 Returns the WriteMask of the BaseNode. More...
 
void setUserWriteMask (OpcUa_UInt32 userWriteMask)
 Sets the UserWriteMask of the BaseNode. More...
 
OpcUa_UInt32 userWriteMask () const
 Returns the UserWriteMask of the BaseNode. More...
 
void setParentNodeId (const UaNodeId &parentNodeId)
 Sets the NodeId of the parent node of the BaseNode. More...
 
UaNodeId parentNodeId () const
 Returns the NodeId of the parent node. More...
 
virtual void evaluateReferences (const std::map< UaNodeId, BaseNode * > &mapNodes)
 Evaluates the References. More...
 
virtual bool evaluateModelParents (const std::map< UaNodeId, BaseNode * > &mapNodes)
 Creates FullReferences from References. More...
 
void parentNode (UaNodeId &rNodeId, UaNodeId &rReferenceTypeId) const
 Returns the NodeId of the node and ReferenceTypeId that references the BaseNode hierarchically. More...
 
void addReference (const Reference &reference)
 Adds the References. More...
 
void removeReference (const Reference &reference)
 Removes the Reference if the Reference can be found. More...
 
void addFullReference (const FullReference &reference)
 Adds the FullReference. More...
 
bool isHierarchicallyReferenced () const
 Returns true if the BaseNode is referenced by a FullReference. More...
 
std::list< BaseNode * > hierarchicallyReferencedNodes () const
 Returns the nodes that are referenced by FullReferences. More...
 
const std::list< Reference > & references () const
 Returns the list of all References. More...
 
void addExtension (const Extension &extension)
 Adds an Extension. More...
 
OpcUa_UInt32 extensionCount ()
 Returns the number of Extensions. More...
 
const std::list< Extension > & extensions () const
 Returns a list of all Extensions. More...
 
const Extensionextension (const UaString &sName) const
 Returns the Extension with the specified name. More...
 
const Extensionextension (const UaString &sName, const UaString &sNamespace) const
 Returns the Extension with the specified name and namespace. More...
 
virtual UserDataBaseuserData () const
 Returns the UserDataBase for the BaseNode. More...
 

Additional Inherited Members

- Protected Member Functions inherited from UaBase::BaseNode
 BaseNode ()
 Creates a BaseNode. More...
 

Detailed Description

Stores the information of an Object node.

Used by UaNodeSetXmlParser.

Constructor & Destructor Documentation

UaBase::Object::Object ( )

Creates an Object.

The EventNotifier attribute is set to 0.

UaBase::Object::Object ( const UaNodeId nodeId)

Creates an Object.

The EventNotifier attribute is set to 0.

UaBase::Object::~Object ( )

Destruction.

Member Function Documentation

OpcUa_Byte UaBase::Object::eventNotifier ( ) const

Returns the EventNotifier.

UaNodeId UaBase::Object::modellingRuleId ( ) const

Returns the NodeId of the ModellingRule.

The TypeDefinition is evaluated by the HasModellingRule reference.

OpcUa_NodeClass UaBase::Object::nodeClass ( ) const
virtual

Returns the NodeClass of the BaseNode.

Implements UaBase::BaseNode.

void UaBase::Object::setEventNotifier ( OpcUa_Byte  eventNotifier)

Sets the EventNotifier.

void UaBase::Object::setModellingRuleId ( const UaNodeId modellingRuleId)

Sets the ModellingRule.

Creates a HasModellingRule reference. If a HasModellingRule already exists, the existing reference will be removed.

void UaBase::Object::setTypeDefinitionId ( const UaNodeId typeDefinitionId)

Sets the TypeDefinition.

Creates a HasTypeDefinition reference. If a HasTypeDefinition already exists, the existing reference will be removed.

UaNodeId UaBase::Object::typeDefinitionId ( ) const

Returns the NodeId of the TypeDefinition.

The TypeDefinition is evaluated by the HasTypeDefinition reference.


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