C++ Based OPC UA Client/Server SDK  1.5.5.355

Class definition of the UaObjectType. More...

#include <uabasenodes.h>

Inherits UaNode.

Inherited by UaGenericObjectType, and UaObjectTypeSimple.

Public Member Functions

 UaObjectType ()
 construction
 
virtual OpcUa_Boolean isAbstract () const =0
 Check if Node is Abstract. More...
 
OpcUa_NodeClass nodeClass () const
 Get the NodeClass of the current Node. More...
 
virtual void getAttributeValue (Session *pSession, OpcUa_Int32 attributeId, UaDataValue &uaDataValue)
 Gets the value of an attribute of the Node. More...
 
- Public Member Functions inherited from UaNode
 UaNode ()
 Construction of the UaNode. More...
 
virtual UaNodeId getKey () const
 Get the key of the node used for the hash table. More...
 
virtual UaReferenceListsgetUaReferenceLists () const
 Get the UaReferenceLists interface for the node. More...
 
virtual UaStatus browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)=0
 Discover the references of a specified node of a view. More...
 
virtual UaNodeId typeDefinitionId () const
 Get NodeId of the type definition node for this node. More...
 
virtual UaNodeId nodeId () const =0
 Get value of the NodeId attribute of this Node. More...
 
virtual UaQualifiedName browseName () const =0
 Get value of the BrowseName attribute of this Node. More...
 
virtual UaLocalizedText displayName (Session *pSession) const =0
 Get value of the DisplayName attribute of this Node. More...
 
virtual OpcUa_Boolean isDescriptionSupported () const =0
 Flag indicating if the optional attribute Description is supported. More...
 
virtual UaLocalizedText description (Session *pSession) const =0
 Get value of the Description attribute of this Node. More...
 
virtual OpcUa_Boolean isWriteMaskSupported () const =0
 Flag indicating if the optional attribute WriteMask is supported. More...
 
virtual OpcUa_UInt32 writeMask () const =0
 Get value of the WriteMask attribute of this Node. More...
 
virtual OpcUa_Boolean isUserWriteMaskSupported () const =0
 Flag indicating if the optional attribute UserWriteMask is supported. More...
 
virtual OpcUa_UInt32 userWriteMask (Session *pSession) const =0
 Get value of the UserWriteMask attribute of this Node. More...
 
virtual UaNodeId modellingRuleId () const
 Get NodeId of the modeling rule for this node. More...
 
virtual UaStatus setAttributeValue (Session *pSession, OpcUa_Int32 attributeId, const UaDataValue &dataValue, OpcUa_Boolean checkWriteMask)
 Sets the value of an attribute of the Node. More...
 
virtual void setUserData (UserDataBase *pUserData)
 Defines the method to set user data handled by a derived class. More...
 
virtual UserDataBasegetUserData () const
 Returns user data provided by a derived class. More...
 
const NodeAccessInfogetAccessInfo () const
 Returns the access info for this node. More...
 
void useAccessInfoFrom (const UaNode *pOther)
 Set the NodeAccessInfo from another node to this node. More...
 
void setAccessInfo (NodeAccessInfo *pAccessInfo)
 Set the NodeAccessInfo for this node. More...
 
void attachAccessInfo (NodeAccessInfo *pAccessInfo)
 Set the NodeAccessInfo for this node. More...
 
- Public Member Functions inherited from ChainEntry
 ChainEntry ()
 construction
 
ChainEntryfind (const UaNodeId &key, ChainEntry **ppPrevious)
 finds the right entry in the chain. More...
 
void add (ChainEntry *pNewEntry)
 adds a new entry to the list. More...
 
void prepend (ChainEntry *pNewEntry)
 prepends a new entry to the list. More...
 
ChainEntryremove (const UaNodeId &key, ChainEntry **ppNext)
 removes an entry from the list. More...
 
ChainEntrygetNext () const
 Check if there is a chain. More...
 
virtual void setInvalid ()
 Set the entry to invalid. More...
 
void clearChain ()
 Clear the chain when the hashtable is cleared.
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter ()
 construction
 
virtual ~ReferenceCounter ()
 destruction
 

Protected Member Functions

virtual ~UaObjectType ()
 destruction
 
- Protected Member Functions inherited from UaNode
virtual ~UaNode ()
 Destruction of the UaNode. More...
 
- Protected Member Functions inherited from ChainEntry
virtual ~ChainEntry ()
 destruction
 

Detailed Description

Class definition of the UaObjectType.

Derived from UaNode Get all information about the types.

Member Function Documentation

void UaObjectType::getAttributeValue ( Session pSession,
OpcUa_Int32  attributeId,
UaDataValue uaDataValue 
)
virtual

Gets the value of an attribute of the Node.

Parameters
[in]pSessionInterface to the Session context for the method call
[in]attributeIdAttribute id indicating the attribute to return
[out]uaDataValueThe value of the attribute or the status code for the attribute

Reimplemented from UaNode.

virtual OpcUa_Boolean UaObjectType::isAbstract ( ) const
pure virtual

Check if Node is Abstract.

Returns
TRUE if is Abstract FALSE if not.

Implemented in UaGenericObjectType, and UaObjectTypeSimple.

OpcUa_NodeClass UaObjectType::nodeClass ( ) const
inlinevirtual

Get the NodeClass of the current Node.

Returns
the NodeClass of the current Node.

Implements UaNode.

Reimplemented in UaGenericObjectType.


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