ifw-core 6.0.0
Loading...
Searching...
No Matches
iDataChangeHandler.hpp
Go to the documentation of this file.
1
8#ifndef CORE_PROTOCOL_OPEN62541_IDATACHANGE_HANDLER_HPP_
9#define CORE_PROTOCOL_OPEN62541_IDATACHANGE_HANDLER_HPP_
10
11// Forward declarations of OPCUA toolkit classes
12// This allows loosely coupling of the communication interface
13// and the application software.
14#include <map>
15#include <cassert>
16#include <cstdio>
17#include <fstream>
18#include <iostream>
19#include <memory>
20#include <stdexcept>
21
22#ifdef UA_ENABLE_AMALGAMATION
23# include <open62541.h>
24#else
25# include <open62541/types.h>
26#endif
27
29
30 class MonitoredItem;
31
37 {
38 public:
42 virtual ~IDataChangeHandler() {};
43
52 virtual void HandleDataChange(const std::shared_ptr<MonitoredItem> monitor_item,
53 UA_DataValue* value) = 0;
54
55 };
56
57}
58
59#endif // CORE_PROTOCOL_OPEN62541_IDATACHANGE_HANDLER_HPP_
The IDataChangeHandler class Defines an entry point for data change notifications.
Definition iDataChangeHandler.hpp:37
virtual ~IDataChangeHandler()
~IDataChangeHandler
Definition iDataChangeHandler.hpp:42
virtual void HandleDataChange(const std::shared_ptr< MonitoredItem > monitor_item, UA_DataValue *value)=0
HandleDataChanges.
Definition monitoredItem.hpp:27
taskPoll class header file.
Definition iDataChangeHandler.hpp:28