py_opcua_subscriptionclient.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include <boost/python.hpp>
14 
15 #include "opc/ua/node.h"
16 #include "opc/ua/event.h"
17 #include "opc/ua/subscription.h"
18 
19 using namespace boost::python;
20 using namespace OpcUa;
21 
23 {
24 public:
25 
26  PySubscriptionHandler(PyObject * p);
27  void DataChange(uint32_t handle, const Node & node, const Variant & val, AttributeId attribute) override;
28  void Event(uint32_t handle, const OpcUa::Event & event) override;
29  void StatusChange(StatusCode status) override;
30  static void DefaultDataChange(const SubscriptionHandler & self_, uint32_t handle, const Node & node, const object & val, uint32_t attribute);
31  static void DefaultEvent(const SubscriptionHandler & self_, uint32_t handle, const OpcUa::Event & event);
32  static void DefaultStatusChange(const SubscriptionHandler & self_, StatusCode status);
33 
34 private:
35  PyObject * self;
36 
37 };
38 
handle
Definition: client.py:58
OPC UA Address space part. GNU LGPL.
A Node object represent an OPC-UA node. It is high level object intended for developper who want to e...
Definition: node.h:42
Python bindings for freeopcua. GNU LGPL.


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