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

Stores the information of a Method node. More...

#include <basenodes.h>

Inherits UaBase::BaseNode.

Public Member Functions

 Method ()
 Creates a Method. More...
 
 Method (const UaNodeId &nodeId)
 Creates a Method. More...
 
virtual OpcUa_NodeClass nodeClass () const
 Returns the NodeClass of the BaseNode. More...
 
UaNodeId modellingRuleId () const
 Returns the NodeId of the ModellingRule. More...
 
void setModellingRuleId (const UaNodeId &typeDefinitionId)
 Sets the ModellingRule. More...
 
void setExecutable (OpcUa_Boolean bExecutable)
 Sets the Executable attribute. More...
 
OpcUa_Boolean executable () const
 Returns the Executable attribute. More...
 
void setUserExecutable (OpcUa_Boolean bExecutable)
 Sets the UserExecutable attribute. More...
 
OpcUa_Boolean userExecutable () const
 Returns the UserExecutable attribute. 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...
 
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...
 
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...
 
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 a Method node.

Used by UaNodeSetXmlParser.

Constructor & Destructor Documentation

UaBase::Method::Method ( )

Creates a Method.

Executable and UserExecutable are set to false.

UaBase::Method::Method ( const UaNodeId nodeId)

Creates a Method.

Executable and UserExecutable are set to false.

Member Function Documentation

OpcUa_Boolean UaBase::Method::executable ( ) const

Returns the Executable attribute.

UaNodeId UaBase::Method::modellingRuleId ( ) const

Returns the NodeId of the ModellingRule.

The ModellingRule is evaluated by the HasModellingRule reference.

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

Returns the NodeClass of the BaseNode.

Implements UaBase::BaseNode.

void UaBase::Method::setExecutable ( OpcUa_Boolean  bExecutable)

Sets the Executable attribute.

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

Sets the ModellingRule.

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

void UaBase::Method::setUserExecutable ( OpcUa_Boolean  bExecutable)

Sets the UserExecutable attribute.

OpcUa_Boolean UaBase::Method::userExecutable ( ) const

Returns the UserExecutable attribute.


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