method.h
Go to the documentation of this file.
1 
11 #ifndef OPC_UA_Client_METHOD_H
12 #define OPC_UA_Client_METHOD_H
13 
14 #include <opc/common/interface.h>
17 
18 #include <vector>
19 #include <functional>
20 
21 namespace OpcUa
22 {
23 
25 {
26 public:
28 
29 public:
30  virtual std::vector<CallMethodResult> Call(const std::vector<CallMethodRequest> & methodsToCall) = 0;
31  virtual void SetMethod(const NodeId & node, std::function<std::vector<OpcUa::Variant> (NodeId context, std::vector<OpcUa::Variant> arguments)> callback) = 0;
32 };
33 
34 } // namespace OpcUa
35 
36 #endif // OPC_UA_Client_METHOD_H
37 
OPC UA Address space part. GNU LGPL.
#define DEFINE_CLASS_POINTERS(ClassName)
Exception declarations GNU LGPL.
virtual void SetMethod(const NodeId &node, std::function< std::vector< OpcUa::Variant >(NodeId context, std::vector< OpcUa::Variant > arguments)> callback)=0
virtual std::vector< CallMethodResult > Call(const std::vector< CallMethodRequest > &methodsToCall)=0


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:06