C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
OpcUa::PubSubDiagnosticsRootType Class Reference

Class implementing the UaObject interface for the PubSubDiagnosticsRootType. More...

#include <opcua_pubsubdiagnosticsroottype.h>

Inherits OpcUa::PubSubDiagnosticsRootTypeBase.

Public Member Functions

 PubSubDiagnosticsRootType (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Construction of the class PubSubDiagnosticsRootType. More...
 
 PubSubDiagnosticsRootType (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Construction of the class PubSubDiagnosticsRootType. More...
 
 PubSubDiagnosticsRootType (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Constructs an instance of the class PubSubDiagnosticsRootType with all components. More...
 
- Public Member Functions inherited from OpcUa::PubSubDiagnosticsRootTypeBase
 PubSubDiagnosticsRootTypeBase (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Constructs an PubSubDiagnosticsRootType object using an instance declaration node as base.
 
 PubSubDiagnosticsRootTypeBase (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Constructs an PubSubDiagnosticsRootType object.
 
 PubSubDiagnosticsRootTypeBase (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Constructs an instance of the class PubSubDiagnosticsRootTypeBase with all components. More...
 
virtual UaNodeId typeDefinitionId () const
 Returns the type definition NodeId for the PubSubDiagnosticsRootType.
 
virtual void setLiveValues_ConfiguredDataSetReaders (OpcUa_UInt16 ConfiguredDataSetReaders)
 Sets the ConfiguredDataSetReaders value.
 
virtual OpcUa_UInt16 getLiveValues_ConfiguredDataSetReaders () const
 Returns the value of ConfiguredDataSetReaders.
 
virtual void setLiveValues_ConfiguredDataSetWriters (OpcUa_UInt16 ConfiguredDataSetWriters)
 Sets the ConfiguredDataSetWriters value.
 
virtual OpcUa_UInt16 getLiveValues_ConfiguredDataSetWriters () const
 Returns the value of ConfiguredDataSetWriters.
 
virtual void setLiveValues_OperationalDataSetReaders (OpcUa_UInt16 OperationalDataSetReaders)
 Sets the OperationalDataSetReaders value.
 
virtual OpcUa_UInt16 getLiveValues_OperationalDataSetReaders () const
 Returns the value of OperationalDataSetReaders.
 
virtual void setLiveValues_OperationalDataSetWriters (OpcUa_UInt16 OperationalDataSetWriters)
 Sets the OperationalDataSetWriters value.
 
virtual OpcUa_UInt16 getLiveValues_OperationalDataSetWriters () const
 Returns the value of OperationalDataSetWriters.
 
virtual
OpcUa::BaseDataVariableType
getLiveValues_ConfiguredDataSetReadersNode ()
 Returns the ConfiguredDataSetReaders node.
 
virtual const
OpcUa::BaseDataVariableType
getLiveValues_ConfiguredDataSetReadersNode () const
 Returns the ConfiguredDataSetReaders node.
 
virtual
OpcUa::BaseDataVariableType
getLiveValues_ConfiguredDataSetWritersNode ()
 Returns the ConfiguredDataSetWriters node.
 
virtual const
OpcUa::BaseDataVariableType
getLiveValues_ConfiguredDataSetWritersNode () const
 Returns the ConfiguredDataSetWriters node.
 
virtual
OpcUa::BaseDataVariableType
getLiveValues_OperationalDataSetReadersNode ()
 Returns the OperationalDataSetReaders node.
 
virtual const
OpcUa::BaseDataVariableType
getLiveValues_OperationalDataSetReadersNode () const
 Returns the OperationalDataSetReaders node.
 
virtual
OpcUa::BaseDataVariableType
getLiveValues_OperationalDataSetWritersNode ()
 Returns the OperationalDataSetWriters node.
 
virtual const
OpcUa::BaseDataVariableType
getLiveValues_OperationalDataSetWritersNode () const
 Returns the OperationalDataSetWriters node.
 
virtual void useAccessInfoFromType ()
 Applies the NodeAccessInfo set at the PubSubDiagnosticsRootTypeBase and its children. More...
 
void useAccessInfoFromInstance (PubSubDiagnosticsRootTypeBase *pInstance)
 Uses the NodeAccessInfo of pOther and its children. More...
 
- Public Member Functions inherited from OpcUa::PubSubDiagnosticsType
 PubSubDiagnosticsType (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Construction of the class PubSubDiagnosticsType. More...
 
 PubSubDiagnosticsType (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Construction of the class PubSubDiagnosticsType. More...
 
 PubSubDiagnosticsType (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Constructs an instance of the class PubSubDiagnosticsType with all components. More...
 
virtual UaStatus Reset (const ServiceContext &serviceContext)
 
- Public Member Functions inherited from OpcUa::PubSubDiagnosticsTypeBase
 PubSubDiagnosticsTypeBase (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Constructs an PubSubDiagnosticsType object using an instance declaration node as base.
 
 PubSubDiagnosticsTypeBase (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Constructs an PubSubDiagnosticsType object.
 
 PubSubDiagnosticsTypeBase (UaBase::Object *pBaseNode, XmlUaNodeFactoryManager *pFactory, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Constructs an instance of the class PubSubDiagnosticsTypeBase with all components. More...
 
virtual UaStatus beginCall (MethodManagerCallback *pCallback, const ServiceContext &serviceContext, OpcUa_UInt32 callbackHandle, MethodHandle *pMethodHandle, const UaVariantArray &inputArguments)
 Call method of an UA object. More...
 
virtual UaStatus call (const ServiceContext &serviceContext, MethodHandle *pMethodHandle, const UaVariantArray &inputArguments, UaVariantArray &outputArguments, UaStatusCodeArray &inputArgumentResults, UaDiagnosticInfos &inputArgumentDiag)
 Synchronous version of the MethodManager method call executed in a worker thread.
 
virtual void setDiagnosticsLevel (OpcUa_DiagnosticsLevel DiagnosticsLevel)
 Sets the DiagnosticsLevel value.
 
virtual OpcUa_DiagnosticsLevel getDiagnosticsLevel () const
 Returns the value of DiagnosticsLevel.
 
virtual void setSubError (OpcUa_Boolean SubError)
 Sets the SubError value.
 
virtual OpcUa_Boolean getSubError () const
 Returns the value of SubError.
 
virtual void setTotalError (OpcUa_UInt32 TotalError)
 Sets the TotalError value.
 
virtual OpcUa_UInt32 getTotalError () const
 Returns the value of TotalError.
 
virtual void setTotalInformation (OpcUa_UInt32 TotalInformation)
 Sets the TotalInformation value.
 
virtual OpcUa_UInt32 getTotalInformation () const
 Returns the value of TotalInformation.
 
virtual void setCounters_StateDisabledByMethod (OpcUa_UInt32 StateDisabledByMethod)
 Sets the StateDisabledByMethod value.
 
virtual OpcUa_UInt32 getCounters_StateDisabledByMethod () const
 Returns the value of StateDisabledByMethod.
 
virtual void setCounters_StateError (OpcUa_UInt32 StateError)
 Sets the StateError value.
 
virtual OpcUa_UInt32 getCounters_StateError () const
 Returns the value of StateError.
 
virtual void setCounters_StateOperationalByMethod (OpcUa_UInt32 StateOperationalByMethod)
 Sets the StateOperationalByMethod value.
 
virtual OpcUa_UInt32 getCounters_StateOperationalByMethod () const
 Returns the value of StateOperationalByMethod.
 
virtual void setCounters_StateOperationalByParent (OpcUa_UInt32 StateOperationalByParent)
 Sets the StateOperationalByParent value.
 
virtual OpcUa_UInt32 getCounters_StateOperationalByParent () const
 Returns the value of StateOperationalByParent.
 
virtual void setCounters_StateOperationalFromError (OpcUa_UInt32 StateOperationalFromError)
 Sets the StateOperationalFromError value.
 
virtual OpcUa_UInt32 getCounters_StateOperationalFromError () const
 Returns the value of StateOperationalFromError.
 
virtual void setCounters_StatePausedByParent (OpcUa_UInt32 StatePausedByParent)
 Sets the StatePausedByParent value.
 
virtual OpcUa_UInt32 getCounters_StatePausedByParent () const
 Returns the value of StatePausedByParent.
 
virtual OpcUa::BaseObjectTypegetCounters ()
 Returns the Counters node.
 
virtual const
OpcUa::BaseObjectType
getCounters () const
 Returns the Counters node.
 
virtual
OpcUa::BaseDataVariableType
getDiagnosticsLevelNode ()
 Returns the DiagnosticsLevel node.
 
virtual const
OpcUa::BaseDataVariableType
getDiagnosticsLevelNode () const
 Returns the DiagnosticsLevel node.
 
virtual OpcUa::BaseObjectTypegetLiveValues ()
 Returns the LiveValues node.
 
virtual const
OpcUa::BaseObjectType
getLiveValues () const
 Returns the LiveValues node.
 
virtual
OpcUa::BaseDataVariableType
getSubErrorNode ()
 Returns the SubError node.
 
virtual const
OpcUa::BaseDataVariableType
getSubErrorNode () const
 Returns the SubError node.
 
virtual
OpcUa::PubSubDiagnosticsCounterType
getTotalErrorNode ()
 Returns the TotalError node.
 
virtual const
OpcUa::PubSubDiagnosticsCounterType
getTotalErrorNode () const
 Returns the TotalError node.
 
virtual
OpcUa::PubSubDiagnosticsCounterType
getTotalInformationNode ()
 Returns the TotalInformation node.
 
virtual const
OpcUa::PubSubDiagnosticsCounterType
getTotalInformationNode () const
 Returns the TotalInformation node.
 
virtual
OpcUa::PubSubDiagnosticsCounterType
getCounters_StateDisabledByMethodNode ()
 Returns the StateDisabledByMethod node.
 
virtual const
OpcUa::PubSubDiagnosticsCounterType
getCounters_StateDisabledByMethodNode () const
 Returns the StateDisabledByMethod node.
 
virtual
OpcUa::PubSubDiagnosticsCounterType
getCounters_StateErrorNode ()
 Returns the StateError node.
 
virtual const
OpcUa::PubSubDiagnosticsCounterType
getCounters_StateErrorNode () const
 Returns the StateError node.
 
virtual
OpcUa::PubSubDiagnosticsCounterType
getCounters_StateOperationalByMethodNode ()
 Returns the StateOperationalByMethod node.
 
virtual const
OpcUa::PubSubDiagnosticsCounterType
getCounters_StateOperationalByMethodNode () const
 Returns the StateOperationalByMethod node.
 
virtual
OpcUa::PubSubDiagnosticsCounterType
getCounters_StateOperationalByParentNode ()
 Returns the StateOperationalByParent node.
 
virtual const
OpcUa::PubSubDiagnosticsCounterType
getCounters_StateOperationalByParentNode () const
 Returns the StateOperationalByParent node.
 
virtual
OpcUa::PubSubDiagnosticsCounterType
getCounters_StateOperationalFromErrorNode ()
 Returns the StateOperationalFromError node.
 
virtual const
OpcUa::PubSubDiagnosticsCounterType
getCounters_StateOperationalFromErrorNode () const
 Returns the StateOperationalFromError node.
 
virtual
OpcUa::PubSubDiagnosticsCounterType
getCounters_StatePausedByParentNode ()
 Returns the StatePausedByParent node.
 
virtual const
OpcUa::PubSubDiagnosticsCounterType
getCounters_StatePausedByParentNode () const
 Returns the StatePausedByParent node.
 
virtual OpcUa::BaseMethodgetReset ()
 Returns the Reset node.
 
virtual const OpcUa::BaseMethodgetReset () const
 Returns the Reset node.
 
- Public Member Functions inherited from OpcUa::BaseObjectType
 BaseObjectType (const UaNodeId &nodeId, UaObject *pInstanceDeclarationObject, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Construction of the class BaseObjectType. More...
 
 BaseObjectType (const UaNodeId &nodeId, const UaString &name, OpcUa_UInt16 browseNameNameSpaceIndex, NodeManagerConfig *pNodeConfig, UaMutexRefCounted *pSharedMutex=NULL)
 Construction of the class BaseObjectType. More...
 
UaReferenceListsgetUaReferenceLists () const
 Get the UaReferenceLists interface for the node. More...
 
virtual UaStatus browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)
 Discover the references of a specified node of a view. More...
 
UaNodeId nodeId () const
 Get the NodeId of the current Node. More...
 
virtual UaQualifiedName browseName () const
 Get the browseName of the current Node. More...
 
virtual UaLocalizedText displayName (Session *pSession) 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 *pSession) 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 *pSession) const
 Check if Node has a userWriteMask. More...
 
UaNodegetUaNode () const
 Get the UaNode interface pointer of this node. More...
 
virtual OpcUa_Byte eventNotifier () const
 Returns the EventNotifier for the BaseObjectType. More...
 
virtual MethodManagergetMethodManager (UaMethod *pMethod) const
 Returns the method manager interface for the BaseObjectType instance. More...
 
virtual void setUserData (UserDataBase *pUserData)
 Method to set user data stored in this class. More...
 
virtual UserDataBasegetUserData () const
 Method to get the user data stored in this class. More...
 
virtual void setBrowseName (const UaQualifiedName &browseName)
 Sets the browse name attribute value. More...
 
virtual void setDisplayName (const UaLocalizedText &displayName)
 Sets the display name attribute value. More...
 
virtual void setDescription (const UaLocalizedText &description)
 Sets the description attribute value. More...
 
virtual void setWriteMask (OpcUa_UInt32 writeMask)
 Sets the write mask attribute value. More...
 
virtual void setEventNotifier (OpcUa_Byte eventNotifier)
 Sets the eventNotifier attribute value. More...
 
virtual void setModellingRuleId (const UaNodeId &modellingRuleId)
 Set NodeId of the modeling rule for this node. More...
 
virtual UaNodeId modellingRuleId () const
 Get NodeId of the modeling rule for this node. More...
 
void setMethodManager (MethodManager *pMethodManager)
 Allows a class aggregating the object to implement the MethodManager for this object. 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...
 
- Public Member Functions inherited from MethodManager
 MethodManager ()
 construction
 
virtual ~MethodManager ()
 destruction
 
- Public Member Functions inherited from UaObject
 UaObject (UaMutexRefCounted *pSharedMutex=NULL)
 Construction of the UaObject. More...
 
OpcUa_NodeClass nodeClass () const
 Get the node class of the 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 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...
 

Static Public Member Functions

static void createTypes ()
 Create the type related static members of the class.
 
static void clearStaticMembers ()
 Clear the static members of the class.
 
- Static Public Member Functions inherited from OpcUa::PubSubDiagnosticsRootTypeBase
static void createTypes ()
 Create the related type nodes.
 
static void clearStaticMembers ()
 Clear the static members of the class.
 
- Static Public Member Functions inherited from OpcUa::PubSubDiagnosticsType
static void createTypes ()
 Create the type related static members of the class.
 
static void clearStaticMembers ()
 Clear the static members of the class.
 
- Static Public Member Functions inherited from OpcUa::PubSubDiagnosticsTypeBase
static void createTypes ()
 Create the related type nodes.
 
static void clearStaticMembers ()
 Clear the static members of the class.
 
- Static Public Member Functions inherited from OpcUa::BaseObjectType
static void clearStaticMembers ()
 Clear the static members of the class.
 

Protected Member Functions

virtual ~PubSubDiagnosticsRootType ()
 Destruction.
 
- Protected Member Functions inherited from OpcUa::PubSubDiagnosticsRootTypeBase
virtual ~PubSubDiagnosticsRootTypeBase ()
 Destruction.
 
- Protected Member Functions inherited from OpcUa::PubSubDiagnosticsType
virtual ~PubSubDiagnosticsType ()
 Destruction.
 
- Protected Member Functions inherited from OpcUa::PubSubDiagnosticsTypeBase
virtual ~PubSubDiagnosticsTypeBase ()
 Destruction.
 
- Protected Member Functions inherited from OpcUa::BaseObjectType
virtual ~BaseObjectType ()
 Destruction of the BaseObjectType. More...
 
- Protected Member Functions inherited from UaObject
virtual ~UaObject ()
 Destruction of the UaObject. More...
 
- 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

- 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

Class implementing the UaObject interface for the PubSubDiagnosticsRootType.

OPC UA Objects are used to represent systems, system components, real-world objects and software objects. They have the NodeClass Object. The detailed description of Objects and their attributes can be found in the general description of the Object node class.

Object members of the PubSubDiagnosticsRootType:

Browse Name TypeDefinition Modelling Rule See Also
LiveValues BaseObjectType Mandatory getLiveValues

Constructor & Destructor Documentation

OpcUa::PubSubDiagnosticsRootType::PubSubDiagnosticsRootType ( const UaNodeId nodeId,
UaObject pInstanceDeclarationObject,
NodeManagerConfig pNodeConfig,
UaMutexRefCounted pSharedMutex = NULL 
)

Construction of the class PubSubDiagnosticsRootType.

This constructor is used if the object is created based on an instance declaration of an object type. Since the only difference between the instance declaration object and the instance object are the node id, the pointer to the instance declaration node is used to get the attribute values other than NodeId from the instance declaration node.

The object is reference counted and can not be deleted directly. The reference counter is set to one after the object is created. If the object was successfully added to a NodeManager using the methods NodeManagerConfig::addUaNode or NodeManagerConfig::addNodeAndReference the NodeManager will release this reference during shut down. If the object was not added to a NodeManager, it must be deleted using the releaseReference method. If the interface pointer is used in other places, the availability of the object must be ensured by incrementing the reference counter with addReference when the pointer is stored somewhere and decremented with releaseReference if the interface pointer is not longer needed.

Parameters
[in]nodeIdNodeId of the new object
[in]pInstanceDeclarationObjectUaObject interface of the instance declaration node used to provide attribute values other than NodeId
[in]pNodeConfigInterface pointer to the NodeManagerConfig interface used to add and delete node and references in the address space
[in]pSharedMutexShared mutex object used to synchronize access to the object. Can be NULL if no shared mutex is provided
OpcUa::PubSubDiagnosticsRootType::PubSubDiagnosticsRootType ( const UaNodeId nodeId,
const UaString name,
OpcUa_UInt16  browseNameNameSpaceIndex,
NodeManagerConfig pNodeConfig,
UaMutexRefCounted pSharedMutex = NULL 
)

Construction of the class PubSubDiagnosticsRootType.

This constructor is used if the object is not created based on an instance declaration. It defines the name and node id of the object. Additional language specific names and other attribute values can be set with set methods provided by the class.

The object is reference counted and can not be deleted directly. The reference counter is set to one after the object is created. If the object was successfully added to a NodeManager using the methods NodeManagerConfig::addUaNode or NodeManagerConfig::addNodeAndReference the NodeManager will release this reference during shut down. If the object was not added to a NodeManager, it must be deleted using the releaseReference method. If the interface pointer is used in other places, the availability of the object must be ensured by incrementing the reference counter with addReference when the pointer is stored somewhere and decremented with releaseReference if the interface pointer is not longer needed.

Parameters
[in]nodeIdNodeId of the new object
[in]nameName of the new object. Used as browse name and also as display name if no additional language specific names are set.
[in]browseNameNameSpaceIndexNamespace index used for the browse name
[in]pNodeConfigInterface pointer to the NodeManagerConfig interface used to add and delete node and references in the address space
[in]pSharedMutexShared mutex object used to synchronize access to the object. Can be NULL if no shared mutex is provided
OpcUa::PubSubDiagnosticsRootType::PubSubDiagnosticsRootType ( UaBase::Object pBaseNode,
XmlUaNodeFactoryManager pFactory,
NodeManagerConfig pNodeConfig,
UaMutexRefCounted pSharedMutex = NULL 
)

Constructs an instance of the class PubSubDiagnosticsRootType with all components.

Parameters
[in]pBaseNodeThe "tree" of nodes that specifies the attributes of the instance and its children
[in]pFactoryThe factory to create the children
[in]pNodeConfigInterface pointer to the NodeManagerConfig interface used to add and delete node and references in the address space
[in]pSharedMutexShared mutex object used to synchronize access to the variable. Can be NULL if no shared mutex is provided

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