C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
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...
 
virtual void getAttributeValue (OpcUa_Int32 attributeId, UaDataValue &uaDataValue) const
 Returns the attribute value for the requested 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...
 
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...
 
void addReferenceUnsafe (const Reference &reference)
 Adds a unique Reference. 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...
 
virtual UaStatus setAttributeValue (OpcUa_Int32 attributeId, const UaDataValue &uaDataValue)
 Write the attribute value for the requested attribute. 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.

void UaBase::Method::getAttributeValue ( OpcUa_Int32  attributeId,
UaDataValue uaDataValue 
) const
virtual

Returns the attribute value for the requested attribute.

If the requested attribute is not valid for a specific node class this method returns OpcUa_BadAttributeIdInvalid.

Reimplemented from UaBase::BaseNode.

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: