C++ Based OPC UA Client/Server SDK
1.6.5.478
|
OPC UA client based implementation for the Nodeset Browse/Read importer. More...
#include <nodesetbrowseimport.h>
Inherits UaBase::AbstractNodesetBrowseImport.
Public Member Functions | |
void | setBrowseTimeout (OpcUa_Int32 timeout) |
Sets the timeout used for Browse service requests. | |
void | setReadTimeout (OpcUa_Int32 timeout) |
Sets the timeout used for Read service requests. | |
void | setMaxReferencesToReturn (OpcUa_UInt32 maxReferencesToReturn) |
Sets the maximum number of references to return parameter for Browse service requests. | |
Public Member Functions inherited from UaBase::AbstractNodesetBrowseImport | |
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. | |
Protected Member Functions | |
virtual bool | browseList (const UaNodeIdArray &nodeIds, UaBrowseResults &targetNodes) |
Implementation of the AbstractNodesetBrowseImport::browseList() interface. More... | |
bool | browseListNext (UaBrowseResults &targetNodes) |
Continue a previously startet NodesetBrowseImport::browseList() call until all results are retrieved or an error occurs. More... | |
virtual bool | read (UaBase::BaseNode *nodes[], UaDataValues &attributes) |
Implementation of the AbstractNodesetBrowseImport::read() interface. More... | |
virtual UaStringArray | readNamespaceTable () |
Implementation of the AbstractNodesetBrowseImport::readNamespaceTable interface. | |
UaReadValueIds | getAttributes (UaBase::BaseNode *nodeIds[]) const |
provide ReadValueIds to read all attributes of each nodeclass. More... | |
Additional Inherited Members | |
Protected Attributes inherited from UaBase::AbstractNodesetImport | |
Nodeset * | m_pNodeset |
The Nodeset to import to. | |
UaBooleanArray | m_importNsIdx |
Remote namespace indices to import. | |
OPC UA client based implementation for the Nodeset Browse/Read importer.
This class allows the creation of a node model (UaBase::Nodeset) from browsing and reading the address space of the connected OPC UA Server.
The imported model can be exported to a UANodeSet XML file by using the class UaBase::NodesetXmlExport.
|
protectedvirtual |
Implementation of the AbstractNodesetBrowseImport::browseList() interface.
nodeIds | Array of Node IDs to browse. |
targetNodes | Results of the service call, possibly containing continuation points. |
Implements UaBase::AbstractNodesetBrowseImport.
|
protected |
Continue a previously startet NodesetBrowseImport::browseList() call until all results are retrieved or an error occurs.
targetNodes | The (partial) result list from a previous browseList() or browseListNext() call |
|
protected |
provide ReadValueIds to read all attributes of each nodeclass.
nodeIds | BaseNodes to be read |
|
protectedvirtual |
Implementation of the AbstractNodesetBrowseImport::read() interface.
[in] | nodes | Array of BaseNode* of nodes to read. |
[out] | Results | of the read service call |