C++ Based OPC UA Client/Server SDK
1.5.3.346
|
Class definition of the UaVariableType. More...
#include <uabasenodes.h>
Inherits UaNode.
Inherited by UaGenericVariableType, and UaVariableTypeSimple.
Public Member Functions | |
UaVariableType () | |
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, 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 UaReferenceLists * | getUaReferenceLists () 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 UserDataBase * | getUserData () const |
Returns user data provided by a derived class. More... | |
const NodeAccessInfo * | getAccessInfo () 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 | |
ChainEntry * | find (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... | |
ChainEntry * | remove (const UaNodeId &key, ChainEntry **ppNext) |
removes an entry from the list. More... | |
ChainEntry * | getNext () 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 | |
Class definition of the UaVariableType.
Derived from UaNode Get all information about the variable types.
|
pure virtual |
Get the arrayDimensions value for the passed UaNode.
arrayDimensions | the arrayDimensions value for the passed UaNode. |
Implemented in UaGenericVariableType, and UaVariableTypeSimple.
|
pure virtual |
Get the DataType for the DataVariable.
Implemented in UaGenericVariableType, and UaVariableTypeSimple.
|
virtual |
|
pure virtual |
Check if Node is Abstract.
Implemented in UaGenericVariableType, and UaVariableTypeSimple.
|
pure virtual |
Check if the Node is ArrayDimensionsSupported.
Implemented in UaGenericVariableType, and UaVariableTypeSimple.
|
pure virtual |
Check whether the actual Node is Value supported or not.
Implemented in UaGenericVariableType, and UaVariableTypeSimple.
|
inlinevirtual |
Get the NodeClass of the current Node.
Implements UaNode.
Reimplemented in UaGenericVariableType, and UaVariableTypeSimple.
|
pure virtual |
Sets the current value for the DataVariable.
pSession | Interface to the Session context for the method call |
Implemented in UaGenericVariableType, and UaVariableTypeSimple.
|
pure virtual |
Get the ValueRank for the DataVariable.
Implemented in UaGenericVariableType, and UaVariableTypeSimple.