#include <nodemanager.h>
Public Member Functions | |
NodeManagerConfig () | |
virtual | ~NodeManagerConfig () |
virtual UaStatus | addUaNode (UaNode *pNewNode)=0 |
virtual UaStatus | deleteUaNode (UaNode *pNode, OpcUa_Boolean deleteTargetReferences, OpcUa_Boolean deleteSourceReferences=OpcUa_False)=0 |
virtual UaStatus | addNodeAndReference (UaReferenceLists *pSourceNode, UaReferenceLists *pNewNode, const UaNodeId &referenceTypeId)=0 |
virtual UaStatus | addNodeAndReference (const UaNodeId &sourceNode, UaReferenceLists *pNewNode, const UaNodeId &referenceTypeId)=0 |
virtual UaStatus | addUaReference (UaReferenceLists *pSourceNode, UaReferenceLists *pTargetNode, const UaNodeId &referenceTypeId)=0 |
virtual UaStatus | addUaReference (const UaNodeId &sourceId, const UaNodeId &targetId, const UaNodeId &referenceTypeId)=0 |
virtual UaStatus | deleteUaReference (UaReferenceLists *pSourceNode, UaReferenceLists *pTargetNode, const UaNodeId &referenceTypeId)=0 |
virtual UaStatus | deleteUaReference (const UaNodeId &sourceId, const UaNodeId &targetId, const UaNodeId &referenceTypeId)=0 |
virtual OpcUa_UInt16 | getNameSpaceIndex () const =0 |
NodeManagerConfig::NodeManagerConfig | ( | ) | [inline] |
construction
virtual NodeManagerConfig::~NodeManagerConfig | ( | ) | [inline, virtual] |
destruction
Add a new UaNode to the node management. Adds the passed new node to the internal node management of the NodeManager.
pNewNode | Pointer to UaNode interface of the new node. |
Implemented in NodeManagerUaNode.
virtual UaStatus NodeManagerConfig::deleteUaNode | ( | UaNode * | pNode, | |
OpcUa_Boolean | deleteTargetReferences, | |||
OpcUa_Boolean | deleteSourceReferences = OpcUa_False | |||
) | [pure virtual] |
Remove a UaNode from the node management. Removes the passed node from the internal node management of the NodeManager.
pNode | Pointer to UaNode interface of the node to remove. | |
deleteTargetReferences | Indicates if the inverse references in the target nodes must be deleted | |
deleteSourceReferences | Indicates if the inverse references in the target nodes must be deleted |
Implemented in NodeManagerUaNode.
virtual UaStatus NodeManagerConfig::addNodeAndReference | ( | UaReferenceLists * | pSourceNode, | |
UaReferenceLists * | pNewNode, | |||
const UaNodeId & | referenceTypeId | |||
) | [pure virtual] |
Add a new node and a reference to the node management Adds the passed new node to the internal node management of the NodeManager and creates a reference from the passed source node to the new node.
pSourceNode | Pointer to UaReferenceLists interface of the source node. | |
pNewNode | Pointer to UaReferenceLists interface of the new node. | |
referenceTypeId | Type of the reference to create from the source node to the new node. |
Implemented in NodeManagerUaNode.
virtual UaStatus NodeManagerConfig::addNodeAndReference | ( | const UaNodeId & | sourceNode, | |
UaReferenceLists * | pNewNode, | |||
const UaNodeId & | referenceTypeId | |||
) | [pure virtual] |
Add a new node and a reference to the node management Adds the passed new node to the internal node management of the NodeManager and creates a reference from the passed source node to the new node.
sourceNode | NodeId of the source node. | |
pNewNode | Pointer to UaReferenceLists interface of the new node. | |
referenceTypeId | Type of the reference to create from the source node to the new node. |
Implemented in NodeManagerUaNode.
virtual UaStatus NodeManagerConfig::addUaReference | ( | UaReferenceLists * | pSourceNode, | |
UaReferenceLists * | pTargetNode, | |||
const UaNodeId & | referenceTypeId | |||
) | [pure virtual] |
Add a reference from source node to target node Creates a reference from the passed source node to the target node.
pSourceNode | Pointer to UaReferenceLists interface of the source node. | |
pTargetNode | Pointer to UaReferenceLists interface of the target node. | |
referenceTypeId | Type of the reference to create from the source node to the target node. |
Implemented in NodeManagerUaNode.
virtual UaStatus NodeManagerConfig::addUaReference | ( | const UaNodeId & | sourceId, | |
const UaNodeId & | targetId, | |||
const UaNodeId & | referenceTypeId | |||
) | [pure virtual] |
Add a reference from source node to target node This functions is provided for convenience and behaves like the functions above. This function finds the node objects for the specified source and target nodeIds and creates a new reference if the nodes exist.
sourceId | NodeId of the source node. | |
targetId | NodeId of the target node. | |
referenceTypeId | Type of the reference to create from the source node to the target node. |
Implemented in NodeManagerUaNode.
virtual UaStatus NodeManagerConfig::deleteUaReference | ( | UaReferenceLists * | pSourceNode, | |
UaReferenceLists * | pTargetNode, | |||
const UaNodeId & | referenceTypeId | |||
) | [pure virtual] |
Remove a reference from source node to target node Deletes a reference from the passed source node to the target node.
pSourceNode | Pointer to UaReferenceLists interface of the source node. | |
pTargetNode | Pointer to UaReferenceLists interface of the target node. | |
referenceTypeId | Type of the reference to delete from the source node to the target node. |
Implemented in NodeManagerUaNode.
virtual UaStatus NodeManagerConfig::deleteUaReference | ( | const UaNodeId & | sourceId, | |
const UaNodeId & | targetId, | |||
const UaNodeId & | referenceTypeId | |||
) | [pure virtual] |
Remove a reference from source node to target node This functions is provided for convenience and behaves like the functions above. This function finds the node objects for the specified source and target nodeIds and creates a deletes the reference if the nodes exist.
sourceId | NodeId of the source node. | |
targetId | NodeId of the target node. | |
referenceTypeId | Type of the reference to delete from the source node to the target node. |
Implemented in NodeManagerUaNode.
virtual OpcUa_UInt16 NodeManagerConfig::getNameSpaceIndex | ( | ) | const [pure virtual] |
Get the namespace index of the node manager
Implemented in NodeManagerUaNode.