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

Implements a reference between nodes in two different NodeManagers. More...

#include <uabasereferences.h>

Inherits UaReference.

Public Member Functions

 UaRefCrossNodeManager (NodeManager *pNodeManager)
 construction
 
virtual ~UaRefCrossNodeManager ()
 destruction
 
CrossNodeManagerReferenceType isCrossNodeManagerRef () const
 Checks whether this reference is across node managers or not. More...
 
UaNodeId referenceTypeId () const
 Get the ReferenceType NodeId of the current Reference. More...
 
OpcUa_Boolean isSubtypeOf (const OpcUa_NodeId *pNodeId) const
 Check whether the current reference is a subtype of the passed reference type node id. More...
 
NodeManagerpNodeManager () const
 Get the actual NodeManager. More...
 
- Public Member Functions inherited from UaReference
 UaReference (UaNode *pSourceNode, UaNode *pTargetNode)
 construction
 
virtual ~UaReference ()
 destruction
 
virtual OpcUa_Boolean isOutOfServerRef () const
 Checks whether a Node is out of Servers References. More...
 
UaNodepSourceNode () const
 Get the source Node. More...
 
UaNodepTargetNode () const
 Get the target Node. More...
 
void setSourceNodeInvalid ()
 Set source node to invalid. More...
 
void setTargetNodeInvalid ()
 Set target Node to invalid. More...
 
void setNextForwardReference (UaReference *pNextReference)
 Set the next reference for a list of forward references. More...
 
UaReferencepNextForwardReference ()
 Get the next reference in a list of forward references. More...
 
void setNextInverseReference (UaReference *pNextReference)
 Set the next reference for a list of inverse references. More...
 
UaReferencepNextInverseReference ()
 Get the next reference in a list of inverse references. More...
 

Additional Inherited Members

- Public Types inherited from UaReference
enum  CrossNodeManagerReferenceType { UA_NO_CROSSNODEMANAGER = 0, UA_LIST_OF_REFERENCES, UA_SINGLE_REFERENCE }
 Enumeration of cross node manager reference type. More...
 
- Protected Attributes inherited from UaReference
UaNodem_pSourceNode
 Source node of the reference.
 
UaNodem_pTargetNode
 Target node of the reference.
 
UaReferencem_pNextForwardReference
 Next reference in a list of forward references.
 
UaReferencem_pNextInverseReference
 Next reference in a list of inverse references.
 

Detailed Description

Implements a reference between nodes in two different NodeManagers.

This class is used to create a reference between nodes in two different NodeManagers. The reference stores the node manager of the target node instead of the target node since the reference represents 0..N references requested by forwarding the browse request to the other target node manager.

Member Function Documentation

CrossNodeManagerReferenceType UaRefCrossNodeManager::isCrossNodeManagerRef ( ) const
inlinevirtual

Checks whether this reference is across node managers or not.

Returns
The type of cross node manager reference or UA_NO_CROSSNODEMANAGER if it is a normal reference.

Reimplemented from UaReference.

OpcUa_Boolean UaRefCrossNodeManager::isSubtypeOf ( const OpcUa_NodeId pNodeId) const
virtual

Check whether the current reference is a subtype of the passed reference type node id.

Parameters
pNodeIdNodeId of the requested reference type.
Returns
TRUE if the reference is a subtype of the passed type FALSE if not.

Implements UaReference.

NodeManager* UaRefCrossNodeManager::pNodeManager ( ) const
inline

Get the actual NodeManager.

Returns
Interface pointer of NodeManager.
UaNodeId UaRefCrossNodeManager::referenceTypeId ( ) const
inlinevirtual

Get the ReferenceType NodeId of the current Reference.

Returns
the ReferenceTypeId of the current Reference.

Implements UaReference.


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