#include <nodemanageruanode.h>
Inherits BrowseCallback.
Public Member Functions | |
virtual OpcUa_Boolean | browseNode (Session *pSession, const BrowseContext &browseContext, UaNode *pNodeToBrowse) const =0 |
[in] UaNode interface of the node requested to be browsed | |
virtual OpcUa_Boolean | returnBrowseResultNode (Session *pSession, const BrowseContext &browseContext, UaNode *pNodeToBrowse, const UaNodeId &referenceTypeId, UaNode *pResultNode) const =0 |
[in] UaNode interface of the node requested to be returned by the browse call |
Callback interface for user specific browse result manipulation.
This interface needs to be registered with the NodeManagerUaNode using the method NodeManagerUaNode::registerBrowseUaNodeCallback. The methods of this interface allow the product specific implementation to manipulate the results of browse calls to the NodeManagerUaNode for example to limit browse access to nodes based on the user logged on for the session.
virtual OpcUa_Boolean BrowseUaNodeCallback::browseNode | ( | Session * | pSession, |
const BrowseContext & | browseContext, | ||
UaNode * | pNodeToBrowse | ||
) | const [pure virtual] |
[in] UaNode interface of the node requested to be browsed
This method tells the NodeManagerUaNode if the requested node pNodeToBrowse should return any browse result. Returns OpcUa_True if the user is allowed to browse the node and OpcUa_False if not.
[in] | pSession | Session context for the browse call. A user defined derived class must contain the user context |
[in] | browseContext | Browse context for the browse call |
virtual OpcUa_Boolean BrowseUaNodeCallback::returnBrowseResultNode | ( | Session * | pSession, |
const BrowseContext & | browseContext, | ||
UaNode * | pNodeToBrowse, | ||
const UaNodeId & | referenceTypeId, | ||
UaNode * | pResultNode | ||
) | const [pure virtual] |
[in] UaNode interface of the node requested to be returned by the browse call
This method tells the NodeManagerUaNode if the requested node pNodeToBrowse should return any browse result. Returns OpcUa_True if the node should be returned and OpcUa_False if not.
[in] | pSession | Session context for the browse call. A user defined derived class must contain the user context |
[in] | browseContext | Browse context for the browse call |
[in] | pNodeToBrowse | UaNode interface of the browsed node |
[in] | referenceTypeId | The reference type NodeId from the browsed node to the result node |