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

Generic implementation class for UaDataType that represents an enumeration. More...

#include <uagenericnodes.h>

Inherits UaGenericDataType.

Public Member Functions

 UaGenericDataTypeEnum (const UaNodeId &nodeId, const UaQualifiedName &browseName, const UaLocalizedText &displayName, const UaLocalizedText &description, OpcUa_Boolean isAbstract, const UaEnumDefinition &enumDefinition, UaMutexRefCounted *pSharedMutex=NULL)
 Construction with enum definition.
 
 UaGenericDataTypeEnum (const UaNodeId &nodeId, const UaQualifiedName &browseName, const UaLocalizedText &displayName, const UaLocalizedText &description, OpcUa_Boolean isAbstract, const UaOptionSetDefinition &optionSet, UaMutexRefCounted *pSharedMutex=NULL)
 Construction with OptionSet definition.
 
 UaGenericDataTypeEnum (const UaNodeId &nodeId, const UaQualifiedName &browseName, const UaLocalizedText &displayName, const UaLocalizedText &description, OpcUa_Boolean isAbstract, const UaEnumDefinitionDataType &enumDefinition, UaMutexRefCounted *pSharedMutex=NULL)
 Construction with UaEnumDefinitionDataType definition.
 
virtual
UaDataType::DataTypeDefinitionType 
dataTypeDefinitionType () const
 Check if a DataTypeDefinition is available and what type of definition is available. More...
 
virtual UaEnumDefinitionDataType enumDefinition () const
 Get the EnumDefinition for the UaDataType.
 
- Public Member Functions inherited from UaGenericDataType
 UaGenericDataType (const UaNodeId &nodeId, const UaQualifiedName &browseName, const UaLocalizedText &displayName, const UaLocalizedText &description, OpcUa_Boolean isAbstract, UaMutexRefCounted *pSharedMutex=NULL)
 construction
 
UaStatus browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)
 Discover the references of a specified node of a view. More...
 
virtual UaNodeId nodeId () const
 Get the NodeId of the current Node. More...
 
virtual UaQualifiedName browseName () const
 Get the browseName as QualifiedName of the current Node. More...
 
virtual UaLocalizedText displayName (Session *) const
 Get the displayName as LocalizedText of the current Node. More...
 
virtual OpcUa_Boolean isDescriptionSupported () const
 Check if Node is DescriptionSupported. More...
 
virtual UaLocalizedText description (Session *) const
 Get the description as LocalizedText of the current Node. More...
 
virtual OpcUa_Boolean isWriteMaskSupported () const
 Check if Node is WriteMaskSupported. More...
 
virtual OpcUa_UInt32 writeMask () const
 Get the writeMask of the current Node. More...
 
virtual OpcUa_Boolean isUserWriteMaskSupported () const
 Check if Node is UserWriteMaskSupported. More...
 
virtual OpcUa_UInt32 userWriteMask (Session *) const
 Get the WriteMask of the User. More...
 
virtual OpcUa_Boolean isAbstract () const
 Check if Node is Abstract. More...
 
virtual
UaStructureDefinitionDataType 
structureDefinition () const
 Get the StructureDefinition for the UaDataType.
 
OpcUa_NodeClass nodeClass () const
 Get the NodeClass of the current Node. More...
 
UaNodeId typeDefinitionId () const
 Get the object type NodeId for the server object. More...
 
UaNodegetUaNode () const
 Get the Node. More...
 
UaReferenceListsgetUaReferenceLists () const
 Get a ReferenceList where all the Nodes are in. More...
 
virtual void setWriteMask (OpcUa_UInt32 writeMask)
 Sets the write mask attribute.
 
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...
 
- Public Member Functions inherited from UaDataType
 UaDataType (UaMutexRefCounted *pSharedMutex=NULL)
 construction
 
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 UaNodeId modellingRuleId () const
 Get NodeId of the modeling rule for this 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
 
- Public Member Functions inherited from UaReferenceLists
 UaReferenceLists ()
 Constructs the reference lists object.
 
virtual ~UaReferenceLists ()
 Destroys the reference lists object.
 
virtual UaStatus browseReferences (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)
 Discover the references of a specified node of a view. More...
 
virtual UaStatus translateBrowsePathToNodeId (const ServiceContext &serviceContext, const UaNodeId &startingNode, UaRelativePath &relativePath, UaBrowsePathTargets &browsePathTargets)
 Find a node based on an element of an relative path. More...
 
virtual const UaReferencepTargetNodes () const
 Returns the list of references to target nodes. More...
 
virtual const UaReferencepSourceNodes () const
 Returns the list of references to source nodes. More...
 
virtual UaNodegetTargetNodeByBrowseName (const UaQualifiedName &browseName) const
 Searches a target node with the passed browse name and returns the UaNode interface if found. More...
 
virtual void addTargetNode (UaReference *pReference)
 Add a reference to a target node where this node is the source node. More...
 
virtual void addSourceNode (UaReference *pReference)
 Adds a reference to a source node where this node is the target node. More...
 
virtual UaStatus removeSourceNode (UaReference *pReferenceToRemove)
 Remove a reference to a source node where this node is the target node. More...
 
virtual bool removeSourceReference (UaReference *pReferenceToRemove)
 Remove the passed reference to a source node. More...
 
virtual UaStatus removeTargetNode (UaNode *pTargetNode, const UaNodeId &referenceTypeId, OpcUa_Boolean deleteBidirectional)
 Remove a reference to a target node where this node is the source node. More...
 
virtual UaStatus removeTargetNode (const UaNodeId &targetNodeId, const UaNodeId &referenceTypeId, OpcUa_Boolean deleteBidirectional)
 Remove a reference to a target node where this node is the source node. More...
 
virtual bool removeTargetReference (UaReference *pReferenceToRemove)
 Remove the passed reference to a target node. More...
 
virtual UaStatus removeCrossNodeManagerRef (NodeManager *pNodeManager)
 Remove references to another NodeManager. More...
 
virtual UaStatus invalidateSourceReferences (OpcUa_Boolean deleteSourceReferences)
 Set all references from SourceNodes to this Node invalid. More...
 
virtual UaStatus invalidateTargetReferences (OpcUa_Boolean deleteTargetReferences)
 Set all references to TargetNode of this node invalid. More...
 
virtual UaStatus deleteAllChildren (NodeManagerConfig *pNodeManagerConfig)
 Deletes all child nodes. More...
 

Protected Member Functions

virtual ~UaGenericDataTypeEnum ()
 destruction
 
- Protected Member Functions inherited from UaGenericDataType
virtual ~UaGenericDataType ()
 destruction
 
- Protected Member Functions inherited from UaDataType
virtual ~UaDataType ()
 destruction
 
- Protected Member Functions inherited from UaNode
virtual ~UaNode ()
 Destruction of the UaNode. More...
 
- Protected Member Functions inherited from ChainEntry
virtual ~ChainEntry ()
 destruction
 
- Protected Member Functions inherited from UaReferenceLists
virtual UaStatus collectAllChildrenRecursive (NodeManagerConfig *pNodeManagerConfig, NodesToDeleteCollection &nodesToDeleteCollection, int recursionCounter=0)
 Collect a list of all child nodes. More...
 

Additional Inherited Members

- Public Types inherited from UaDataType
enum  DataTypeDefinitionType
 Enumeration that indicates whether a UaEnumDefinition or a UaStructureDefinition is available.
 
- Protected Attributes inherited from UaReferenceLists
UaReferencem_pTargetNodes
 List of references to target nodes where this node is the source node. More...
 
UaReferencem_pLastTargetNode
 Last references in the list of references to the target nodes. More...
 
UaReferencem_pSourceNodes
 List of references to source nodes where this node is the target node. More...
 

Detailed Description

Generic implementation class for UaDataType that represents an enumeration.

Member Function Documentation

virtual UaDataType::DataTypeDefinitionType UaGenericDataTypeEnum::dataTypeDefinitionType ( ) const
inlinevirtual

Check if a DataTypeDefinition is available and what type of definition is available.

Returns
The type of DataTypeDefinition.

Reimplemented from UaGenericDataType.


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