C++ Based OPC UA Client/Server SDK
1.6.1.391
|
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... | |
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 Extension * | extension (const UaString &sName) const |
Returns the Extension with the specified name. More... | |
const Extension * | extension (const UaString &sName, const UaString &sNamespace) const |
Returns the Extension with the specified name and namespace. More... | |
virtual UserDataBase * | userData () 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... | |
Stores the information of an Object node.
Used by UaNodeSetXmlParser.
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.
OpcUa_Byte UaBase::Object::eventNotifier | ( | ) | const |
Returns the EventNotifier.
|
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::Object::modellingRuleId | ( | ) | const |
Returns the NodeId of the ModellingRule.
The TypeDefinition is evaluated by the HasModellingRule reference.
|
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.