Derived from UaDataType and UaReferenceLists. More...
#include <uagenericnodes.h>
Public Member Functions | |
UaGenericDataType (const UaNodeId &nodeId, const UaQualifiedName &browseName, const UaLocalizedText &displayName, const UaLocalizedText &description, OpcUa_Boolean isAbstract) | |
virtual | ~UaGenericDataType () |
UaStatus | browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References) |
virtual UaNodeId | nodeId () const |
virtual UaQualifiedName | browseName () const |
virtual UaLocalizedText | displayName (Session *) const |
virtual OpcUa_Boolean | isDescriptionSupported () const |
virtual UaLocalizedText | description (Session *) const |
virtual OpcUa_Boolean | isWriteMaskSupported () const |
virtual OpcUa_UInt32 | writeMask () const |
virtual OpcUa_Boolean | isUserWriteMaskSupported () const |
virtual OpcUa_UInt32 | userWriteMask (Session *) const |
virtual OpcUa_Boolean | isAbstract () const |
OpcUa_NodeClass | nodeClass () const |
UaNodeId | typeDefinitionId () const |
UaNode * | getUaNode () const |
UaReferenceLists * | getUaReferenceLists () const |
virtual void | setWriteMask (OpcUa_UInt32 writeMask) |
virtual UaStatus | setAttributeValue (Session *pSession, OpcUa_Int32 attributeId, const UaDataValue &dataValue, OpcUa_Boolean checkWriteMask) |
Derived from UaDataType and UaReferenceLists.
UaGenericDataType::UaGenericDataType | ( | const UaNodeId & | nodeId, |
const UaQualifiedName & | browseName, | ||
const UaLocalizedText & | displayName, | ||
const UaLocalizedText & | description, | ||
OpcUa_Boolean | isAbstract | ||
) |
construction
UaGenericDataType::~UaGenericDataType | ( | ) | [virtual] |
destruction
UaStatus UaGenericDataType::browse | ( | const ServiceContext & | serviceContext, |
BrowseContext & | browseContext, | ||
UaReferenceDescriptions & | References | ||
) | [virtual] |
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.
serviceContext | General context for the service calls containing information like the session object, return diagnostic mask and timeout hint. |
browseContext | Browse context for the first browse or the following browse with continuation point. |
References | Array of ReferenceDescription results for the browsed node. |
Implements UaNode.
virtual UaQualifiedName UaGenericDataType::browseName | ( | ) | const [inline, virtual] |
Get the browseName as QualifiedName of the current Node.
Implements UaNode.
virtual UaLocalizedText UaGenericDataType::description | ( | Session * | ) | const [inline, virtual] |
Get the description as LocalizedText of the current Node.
Implements UaNode.
virtual UaLocalizedText UaGenericDataType::displayName | ( | Session * | ) | const [inline, virtual] |
Get the displayName as LocalizedText of the current Node.
Implements UaNode.
UaNode* UaGenericDataType::getUaNode | ( | ) | const [inline, virtual] |
UaReferenceLists* UaGenericDataType::getUaReferenceLists | ( | ) | const [inline, virtual] |
Get a ReferenceList where all the Nodes are in.
Reimplemented from UaNode.
virtual OpcUa_Boolean UaGenericDataType::isAbstract | ( | ) | const [inline, virtual] |
virtual OpcUa_Boolean UaGenericDataType::isDescriptionSupported | ( | ) | const [inline, virtual] |
virtual OpcUa_Boolean UaGenericDataType::isUserWriteMaskSupported | ( | ) | const [inline, virtual] |
Check if Node is UserWriteMaskSupported.
Implements UaNode.
virtual OpcUa_Boolean UaGenericDataType::isWriteMaskSupported | ( | ) | const [inline, virtual] |
OpcUa_NodeClass UaGenericDataType::nodeClass | ( | ) | const [inline, virtual] |
Get the Nodeclass of the current Node.
Reimplemented from UaDataType.
virtual UaNodeId UaGenericDataType::nodeId | ( | ) | const [inline, virtual] |
UaStatus UaGenericDataType::setAttributeValue | ( | Session * | pSession, |
OpcUa_Int32 | attributeId, | ||
const UaDataValue & | dataValue, | ||
OpcUa_Boolean | checkWriteMask | ||
) | [virtual] |
Sets the value of an attribute of the Node.
[in] | pSession | Interface to the Session context for the method call |
[in] | attributeId | Attribute id indicating the attribute to set |
[in] | dataValue | New value for the attribute |
[out] | checkWriteMask | Flag indicating if the write mask of the node should be checked before setting the new value |
Reimplemented from UaNode.
virtual void UaGenericDataType::setWriteMask | ( | OpcUa_UInt32 | writeMask ) | [inline, virtual] |
Sets the write mask attribute.
UaNodeId UaGenericDataType::typeDefinitionId | ( | ) | const [inline, virtual] |
Get the object type NodeId for the server object. m
Reimplemented from UaNode.
virtual OpcUa_UInt32 UaGenericDataType::userWriteMask | ( | Session * | ) | const [inline, virtual] |
virtual OpcUa_UInt32 UaGenericDataType::writeMask | ( | ) | const [inline, virtual] |