Provides a base class to implement an Object The object is able to register it's own components at his node manager Derived from UaObject and UaReferenceLists It is not possible to create plane copies of this Class. More...
#include <uaobjecttypes.h>
Public Member Functions | |
UaObjectBase (const UaString &name, const UaNodeId &newNodeId, const UaString &defaultLocaleId) | |
virtual | ~UaObjectBase () |
UaReferenceLists * | getUaReferenceLists () const |
virtual UaStatus | browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References) |
UaNodeId | nodeId () const |
virtual UaQualifiedName | browseName () const |
virtual UaLocalizedText | displayName (Session *pSession) const |
virtual OpcUa_Boolean | isDescriptionSupported () const |
virtual UaLocalizedText | description (Session *pSession) const |
virtual OpcUa_Boolean | isWriteMaskSupported () const |
virtual OpcUa_UInt32 | writeMask () const |
virtual OpcUa_Boolean | isUserWriteMaskSupported () const |
virtual OpcUa_UInt32 | userWriteMask (Session *pSession) const |
UaNode * | getUaNode () const |
Protected Attributes | |
UaString | m_defaultLocaleId |
Provides a base class to implement an Object The object is able to register it's own components at his node manager Derived from UaObject and UaReferenceLists It is not possible to create plane copies of this Class.
UaObjectBase::UaObjectBase | ( | const UaString & | name, |
const UaNodeId & | newNodeId, | ||
const UaString & | defaultLocaleId | ||
) |
construction
UaObjectBase::~UaObjectBase | ( | ) | [virtual] |
destruction
UaStatus UaObjectBase::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.
UaQualifiedName UaObjectBase::browseName | ( | ) | const [virtual] |
Get the browseName of the current Node.
Implements UaNode.
UaLocalizedText UaObjectBase::description | ( | Session * | pSession ) | const [virtual] |
UaLocalizedText UaObjectBase::displayName | ( | Session * | pSession ) | const [virtual] |
UaNode* UaObjectBase::getUaNode | ( | ) | const [inline, virtual] |
Get the UaNode interface pointer of this node.
Implements UaReferenceLists.
Reimplemented in UaStateMachineType, UaFolder, and UaObjectServer.
UaReferenceLists* UaObjectBase::getUaReferenceLists | ( | ) | const [inline, virtual] |
Get a ReferenceList where all the Nodes are in.
Reimplemented from UaNode.
OpcUa_Boolean UaObjectBase::isDescriptionSupported | ( | ) | const [virtual] |
OpcUa_Boolean UaObjectBase::isUserWriteMaskSupported | ( | ) | const [virtual] |
Check if Node is UserWriteMaskSupported.
Implements UaNode.
OpcUa_Boolean UaObjectBase::isWriteMaskSupported | ( | ) | const [virtual] |
UaNodeId UaObjectBase::nodeId | ( | ) | const [virtual] |
OpcUa_UInt32 UaObjectBase::userWriteMask | ( | Session * | pSession ) | const [virtual] |
OpcUa_UInt32 UaObjectBase::writeMask | ( | ) | const [virtual] |
UaString UaObjectBase::m_defaultLocaleId [protected] |
Default localeId for the object. MemberVar.