UA Server SDK C++ Bundle  1.4.1.271
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
UaRefCrossNodeManagerSingle Class Reference

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

#include <uabasereferences.h>

Inherits UaReference.

Public Member Functions

 UaRefCrossNodeManagerSingle (UaNode *pSourceNode, const UaNodeId &targetNodeId, const UaNodeId &referenceTypeId, OpcUa_NodeClass targetNodeClass)
 construction
 
virtual ~UaRefCrossNodeManagerSingle ()
 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...
 
UaNodeId targetNodeId () const
 Get the NodeId of the target node. More...
 
OpcUa_NodeClass targetNodeClass () const
 Get the node class of the target node. 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 two nodes in two different NodeManagers.

This class is used to create a reference between two nodes in different NodeManagers. Derived from UaReference.

Member Function Documentation

CrossNodeManagerReferenceType UaRefCrossNodeManagerSingle::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 UaRefCrossNodeManagerSingle::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.

UaNodeId UaRefCrossNodeManagerSingle::referenceTypeId ( ) const
inlinevirtual

Get the ReferenceType NodeId of the current Reference.

Returns
the ReferenceTypeId of the current Reference.

Implements UaReference.

OpcUa_NodeClass UaRefCrossNodeManagerSingle::targetNodeClass ( ) const
inline

Get the node class of the target node.

Returns
Node class of the target node.
UaNodeId UaRefCrossNodeManagerSingle::targetNodeId ( ) const
inline

Get the NodeId of the target node.

Returns
NodeId of the target node.

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