C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537

Class definition of the UaVariableType. More...

#include <uabasenodes.h>

Inherits UaNode.

Inherited by UaGenericVariableType, and UaVariableTypeSimple.

Public Member Functions

 UaVariableType (UaMutexRefCounted *pSharedMutex=NULL)
 construction
 
virtual OpcUa_Boolean isValueSupported () const =0
 Check whether the actual Node is Value supported or not. More...
 
virtual UaDataValue value (Session *pSession)=0
 Sets the current value for the DataVariable. More...
 
virtual UaNodeId dataType () const =0
 Get the DataType for the DataVariable. More...
 
virtual OpcUa_Int32 valueRank () const =0
 Get the ValueRank for the DataVariable. More...
 
virtual OpcUa_Boolean isArrayDimensionsSupported () const =0
 Check if the Node is ArrayDimensionsSupported. More...
 
virtual void arrayDimensions (UaUInt32Array &arrayDimensions) const =0
 Get the arrayDimensions value for the passed UaNode. More...
 
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, NodeAccessInfo *pDefaultPermissions, UaDataValue &uaDataValue)
 Gets the value of an attribute of the Node. More...
 
- Public Member Functions inherited from UaNode
 UaNode (UaMutexRefCounted *pSharedMutex=NULL)
 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, NodeAccessInfo *pDefaultPermissions, 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...
 
virtual NodeAccessInfogetAccessInfo () const
 Returns the access info for this node. More...
 
virtual bool hasAccessInfo () const
 Check if this UaNode has a NodeAccessInfo assigned. More...
 
virtual void useAccessInfoFrom (const UaNode *pOther)
 Set the NodeAccessInfo from another node to this node. More...
 
virtual void setAccessInfo (NodeAccessInfo *pAccessInfo)
 Set the NodeAccessInfo for this node. More...
 
virtual 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 ~UaVariableType ()
 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 UaVariableType.

Derived from UaNode Get all information about the variable types.

Member Function Documentation

virtual void UaVariableType::arrayDimensions ( UaUInt32Array arrayDimensions) const
pure virtual

Get the arrayDimensions value for the passed UaNode.

Parameters
arrayDimensionsthe arrayDimensions value for the passed UaNode.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

virtual UaNodeId UaVariableType::dataType ( ) const
pure virtual

Get the DataType for the DataVariable.

Returns
the DataType for the DataVariable.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

void UaVariableType::getAttributeValue ( Session pSession,
OpcUa_Int32  attributeId,
NodeAccessInfo pDefaultPermissions,
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
[in]pDefaultPermissionsAccess Permissions for Nodes without explicit permissions configured
[out]uaDataValueThe value of the attribute or the status code for the attribute

Reimplemented from UaNode.

virtual OpcUa_Boolean UaVariableType::isAbstract ( ) const
pure virtual

Check if Node is Abstract.

Returns
TRUE if is Abstract FALSE if not.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

virtual OpcUa_Boolean UaVariableType::isArrayDimensionsSupported ( ) const
pure virtual

Check if the Node is ArrayDimensionsSupported.

Returns
FALSE if not supported.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

virtual OpcUa_Boolean UaVariableType::isValueSupported ( ) const
pure virtual

Check whether the actual Node is Value supported or not.

Returns
TRUE if supported.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

OpcUa_NodeClass UaVariableType::nodeClass ( ) const
inlinevirtual

Get the NodeClass of the current Node.

Returns
the NodeClass of the current Node.

Implements UaNode.

Reimplemented in UaGenericVariableType, and UaVariableTypeSimple.

virtual UaDataValue UaVariableType::value ( Session pSession)
pure virtual

Sets the current value for the DataVariable.

Parameters
pSessionInterface to the Session context for the method call
Returns
the current value for the DataVariable.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.

virtual OpcUa_Int32 UaVariableType::valueRank ( ) const
pure virtual

Get the ValueRank for the DataVariable.

Returns
the ValueRank for the DataVariable.

Implemented in UaGenericVariableType, and UaVariableTypeSimple.


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