#include <continuationpoint.h>
Public Member Functions | |
BrowseContext (OpcUa_ViewDescription *pView, OpcUa_NodeId *pNodeToBrowse, OpcUa_UInt32 uMaxResultsToReturn, OpcUa_BrowseDirection BrowseDirection, OpcUa_NodeId *pReferenceTypeId, OpcUa_Boolean bIncludeSubtype, OpcUa_UInt32 uNodeClassMask, OpcUa_UInt32 uResultMask) | |
virtual | ~BrowseContext () |
OpcUa_ViewDescription * | pView () |
OpcUa_NodeId * | pNodeToBrowse () |
OpcUa_UInt32 | uMaxResultsToReturn () |
OpcUa_BrowseDirection | BrowseDirection () |
OpcUa_NodeId * | pReferenceTypeId () |
OpcUa_Boolean | bIncludeSubtype () |
OpcUa_UInt32 | uNodeClassMask () |
OpcUa_UInt32 | uResultMask () |
void | setResultMask (OpcUa_UInt32 uResultMask) |
OpcUa_Boolean | isFirstBrowse () |
void | setUserData (ContinuationPointUserDataBase *pContinuationPointUserDataBase) |
ContinuationPointUserDataBase * | detachUserData () |
OpcUa_Byte | CPCounter () |
void | setCPCounter (OpcUa_Byte CPCounter) |
OpcUa_Boolean | isLastBrowse () |
BrowseContext::BrowseContext | ( | OpcUa_ViewDescription * | pView, | |
OpcUa_NodeId * | pNodeToBrowse, | |||
OpcUa_UInt32 | uMaxResultsToReturn, | |||
OpcUa_BrowseDirection | BrowseDirection, | |||
OpcUa_NodeId * | pReferenceTypeId, | |||
OpcUa_Boolean | bIncludeSubtype, | |||
OpcUa_UInt32 | uNodeClassMask, | |||
OpcUa_UInt32 | uResultMask | |||
) |
construction
construction
pView | the description of the Node. | |
pNodeToBrowse | the actual Node to browse. | |
uMaxResultsToReturn | the maximum results of a browse to return. | |
BrowseDirection | Directs the Browsedirection of the Server (Inverse / Forward). | |
pReferenceTypeId | a pointer to the TypeId of the reference. | |
bIncludeSubtype | true if included false if not. | |
uNodeClassMask | the node class mask. | |
uResultMask | the result mask. |
BrowseContext::~BrowseContext | ( | ) | [virtual] |
destruction
OpcUa_ViewDescription* BrowseContext::pView | ( | ) | [inline] |
View the Description of the Nodes.
OpcUa_NodeId* BrowseContext::pNodeToBrowse | ( | ) | [inline] |
A Method to browse the Nodes of the Server.
OpcUa_UInt32 BrowseContext::uMaxResultsToReturn | ( | ) | [inline] |
A Method which returns the maximum result of the Nodes.
OpcUa_BrowseDirection BrowseContext::BrowseDirection | ( | ) | [inline] |
Directs the Browsedirection of the Server (Inverse / Forward).
OpcUa_NodeId* BrowseContext::pReferenceTypeId | ( | ) | [inline] |
Get the Referencetypeid of a Node.
OpcUa_Boolean BrowseContext::bIncludeSubtype | ( | ) | [inline] |
Checks if there are Subtypes of a Node.
OpcUa_UInt32 BrowseContext::uNodeClassMask | ( | ) | [inline] |
Checks if there are Variables in the Nodeclassmask.
OpcUa_UInt32 BrowseContext::uResultMask | ( | ) | [inline] |
Specifies the fields in the browse result ReferenceDescription structure that should be returned..
void BrowseContext::setResultMask | ( | OpcUa_UInt32 | uResultMask | ) | [inline] |
Allows setting of the result mask.
OpcUa_Boolean BrowseContext::isFirstBrowse | ( | ) | [inline] |
Can be used to check if it is the first browse with this context In the case of OpcUa_True, it is the first browse call with this browse context. In the case of OpcUa_False, it is a browse next call with a continuation point.
void BrowseContext::setUserData | ( | ContinuationPointUserDataBase * | pContinuationPointUserDataBase | ) |
Set user data if not all nodes can be returned to prepare Continuation Point for next browse
pContinuationPointUserDataBase | used to check if not all nodes can be returned to prepare Continuation Point for next browse. |
pContinuationPointUserDataBase | used to check if not all nodes can be returned to prepare Continuation Point for next browse. |
ContinuationPointUserDataBase * BrowseContext::detachUserData | ( | ) |
Detach user data to continue browse
OpcUa_Byte BrowseContext::CPCounter | ( | ) | [inline] |
This member is used for management of the continuation point in the SDK
void BrowseContext::setCPCounter | ( | OpcUa_Byte | CPCounter | ) | [inline] |
This member is used for management of the continuation point in the SDK
CPCounter | This Variable is set to the Value of the Membervariable. |
OpcUa_Boolean BrowseContext::isLastBrowse | ( | ) | [inline] |
Flag that tells the SDK if it was the last browse call and all references are returned. The flag is set by the methods setUserData (OpcUa_False) since this indicates that a continuation point is necessary or by detachUserData (OpcUa_True) since the continuation point is handled in a next browse. The default value is OpcUa_True.