OPC Client to communicate with OPC Server.
More...
#include <client.hpp>
OPC Client to communicate with OPC Server.
◆ connect()
virtual bool itk::opc::Client::connect |
( |
std::string |
connstr | ) |
|
|
pure virtual |
Connect to DCS using the connection string.
- Parameters
-
connstr | the connection string required to connect to DCS |
- Returns
- true if connected, otherwie false
◆ disconnect()
virtual bool itk::opc::Client::disconnect |
( |
| ) |
|
|
pure virtual |
Disconnect from DCS.
- Returns
- true if disconnected, otherwie false
◆ get_nodes()
virtual std::vector<NodeId> itk::opc::Client::get_nodes |
( |
| ) |
|
|
pure virtual |
Get node objects available in DSC.
- Returns
- vector of NodeId objects
◆ get_value()
Retrieve the value of a node by nodeid.
- Parameters
-
- Returns
- the Variant value of the node
◆ set_value()
virtual bool itk::opc::Client::set_value |
( |
NodeId & |
nodeid, |
|
|
Variant |
value |
|
) |
| |
|
pure virtual |
Store the value to the node provided by nodeid
- Parameters
-
- Returns
- true if stored, otherwie false
The documentation for this class was generated from the following file: