C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
UaBase::AbstractNodesetBrowseImport Class Referenceabstract

Abstract base class for a Nodeset Browse/Read importer. More...

#include <abstractnodesetbrowseimport.h>

Inherits UaBase::AbstractNodesetImport.

Inherited by UaClientSdk::NodesetBrowseImport, and UaServerCore::NodesetBrowseImport.

Public Member Functions

virtual UaStatus import (Nodeset &nodeset)
 Implementation of interface AbstractNodesetImport::import. More...
 
virtual UaStatus import (Nodeset &nodeset, const UaStringArray &nsUris)
 import multiple namespaces from server to nodeset More...
 
virtual UaStatus import (Nodeset &nodeset, const UaString &nsUri)
 import single namespace from server to nodeset More...
 
virtual UaStatus import (Nodeset &nodeset, const UaUInt16Array &namespaceIndices)
 import multiple namespaces from server to nodeset More...
 
virtual UaStatus import (Nodeset &nodeset, const OpcUa_UInt16 namespaceIndex)
 import single namespace from server to nodeset More...
 
void setMaxNodesPerBrowse (OpcUa_UInt32 maxNodes)
 Sets the maximum number of nodes passed to one Browse service requests.
 
void setMaxNodesPerRead (OpcUa_UInt32 maxNodes)
 Sets the maximum number of nodes passed to one Read service requests.
 
void setMaxTotalNodes (OpcUa_UInt32 maxTotalNodes)
 Sets the maximum number of nodes that can be exported.
 
bool isPartialExport () const
 Get the information if the export was complete.
 
UaString lastErrorInformation () const
 Get additional information about the last error.
 

Additional Inherited Members

- Protected Attributes inherited from UaBase::AbstractNodesetImport
Nodesetm_pNodeset
 The Nodeset to import to.
 
UaBooleanArray m_importNsIdx
 Remote namespace indices to import.
 

Detailed Description

Abstract base class for a Nodeset Browse/Read importer.

This class implements the basic algorithm to recursively browse an addressspace from a given starting node (e.g. the root folder). Importer implementations that retrieve addressspace data through browse/read service calls inherit from this class. Concrete implementations just have to provide the two pure virtual methods browseList and read.

Member Function Documentation

UaStatus UaBase::AbstractNodesetBrowseImport::import ( Nodeset nodeset)
virtual

Implementation of interface AbstractNodesetImport::import.

Import all namespaces from a server to nodeset.

Implements UaBase::AbstractNodesetImport.

UaStatus UaBase::AbstractNodesetBrowseImport::import ( Nodeset nodeset,
const UaStringArray nsUris 
)
virtual

import multiple namespaces from server to nodeset

Parameters
nsUrisThe uris of the server namespaces to import
UaStatus UaBase::AbstractNodesetBrowseImport::import ( Nodeset nodeset,
const UaString nsUri 
)
virtual

import single namespace from server to nodeset

Parameters
nsUriThe uri of the server namespace to import
UaStatus UaBase::AbstractNodesetBrowseImport::import ( Nodeset nodeset,
const UaUInt16Array namespaceIndices 
)
virtual

import multiple namespaces from server to nodeset

Parameters
namespaceIndicesThe indices of the server namespaces to import
UaStatus UaBase::AbstractNodesetBrowseImport::import ( Nodeset nodeset,
const OpcUa_UInt16  namespaceIndex 
)
virtual

import single namespace from server to nodeset

Parameters
namespaceIndexThe index of the server namespace to import

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