uatools
1.0.0
Loading...
Searching...
No Matches
iDataChangeHandler.hpp
Go to the documentation of this file.
1
6
7
#ifndef ESO_UATOOLS_PROTOCOL_OPEN62541_IDATACHANGE_HANDLER_HPP_
8
#define ESO_UATOOLS_PROTOCOL_OPEN62541_IDATACHANGE_HANDLER_HPP_
9
10
// Forward declarations of OPCUA toolkit classes
11
// This allows loosely coupling of the communication interface
12
// and the application software.
13
#include <map>
14
#include <cassert>
15
#include <cstdio>
16
#include <fstream>
17
#include <iostream>
18
#include <memory>
19
#include <stdexcept>
20
21
#ifdef UA_ENABLE_AMALGAMATION
22
# include <open62541.h>
23
#else
24
# include <open62541/types.h>
25
#endif
26
27
namespace
eso::uatools::protocol::opcua
{
28
29
class
MonitoredItem
;
30
35
class
IDataChangeHandler
36
{
37
public
:
41
virtual
~IDataChangeHandler
() {};
42
51
virtual
void
HandleDataChange
(
const
std::shared_ptr<MonitoredItem> monitor_item,
52
UA_DataValue* value) = 0;
53
54
};
55
56
}
57
58
#endif
// ESO_UATOOLS_PROTOCOL_OPEN62541_IDATACHANGE_HANDLER_HPP_
eso::uatools::protocol::opcua::IDataChangeHandler
The IDataChangeHandler class Defines an entry point for data change notifications.
Definition
iDataChangeHandler.hpp:36
eso::uatools::protocol::opcua::IDataChangeHandler::~IDataChangeHandler
virtual ~IDataChangeHandler()
~IDataChangeHandler
Definition
iDataChangeHandler.hpp:41
eso::uatools::protocol::opcua::IDataChangeHandler::HandleDataChange
virtual void HandleDataChange(const std::shared_ptr< MonitoredItem > monitor_item, UA_DataValue *value)=0
HandleDataChanges.
eso::uatools::protocol::opcua::MonitoredItem
Definition
monitoredItem.hpp:25
eso::uatools::protocol::opcua
Definition
iDataChangeHandler.hpp:27
info
protocol_old
open62541
src
include
eso
uatools
protocol
open62541
iDataChangeHandler.hpp
Generated by
1.13.2