Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
freeopcua
python
src
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
22
class
PySubscriptionHandler
:
public
SubscriptionHandler
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
node.h
OpcUa::Event
Definition:
event.h:20
subscription.h
client.handle
handle
Definition:
client.py:58
OpcUa
OPC UA Address space part. GNU LGPL.
Definition:
ua/client/addon.h:18
OpcUa::Node
A Node object represent an OPC-UA node. It is high level object intended for developper who want to e...
Definition:
node.h:42
event.h
OpcUa::Variant
Definition:
variant.h:158
OpcUa::SubscriptionHandler
Definition:
subscription.h:53
python
Python bindings for freeopcua. GNU LGPL.
OpcUa::StatusCode
StatusCode
Definition:
status_codes.h:12
PySubscriptionHandler
Definition:
py_opcua_subscriptionclient.h:22
OpcUa::AttributeId
AttributeId
Definition:
attribute_ids.h:12
ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:07