OPC UA client based implementation for the Nodeset Browse/Read importer.
More...
#include <nodesetbrowseimport.h>
Inherits UaBase::AbstractNodesetBrowseImport.
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.
nodesetBrowseImport.import(nodeset, 2);
nodesetXmlExport.
exportNs(nodeset,
"ExportNodeset.xml", 2);
Implementation of the AbstractNodesetBrowseImport::browseList() interface.
- Parameters
-
nodeIds | Array of Node IDs to browse. |
targetNodes | Results of the service call, possibly containing continuation points. |
- Returns
- true if all all nodes could be browsed and no continuation points are left, false on error
Implements UaBase::AbstractNodesetBrowseImport.
bool UaClientSdk::NodesetBrowseImport::browseListNext |
( |
UaBrowseResults & |
targetNodes | ) |
|
|
protected |
provide ReadValueIds to read all attributes of each nodeclass.
- Parameters
-
nodeIds | BaseNodes to be read |
- Returns
- UaReadValueIds to be used in a UaSession::read() service call to read all attributes of the nodes.
Implementation of the AbstractNodesetBrowseImport::read() interface.
- Parameters
-
[in] | nodes | Array of BaseNode* of nodes to read. |
[out] | Results | of the read service call |
- Returns
- true if all all nodes could be read, otherwise false
The documentation for this class was generated from the following files:
- D:/work/uasdkcpp/src/uaclient/uaclientcpp/nodesetbrowseimport.h
- D:/work/uasdkcpp/src/uaclient/uaclientcpp/nodesetbrowseimport.cpp