PLCnext API Documentation 25.0.2.69
INotificationSubscriber.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6
7#pragma once
8
10#include "Arp/System/Nm/Notification.hpp"
11
12
13namespace Arp { namespace System { namespace Nm
14{
15
16
20class ARP_CXX_SYMBOL_EXPORT INotificationSubscriber
21{
22public:
23 virtual ~INotificationSubscriber() = default;
24
28 virtual void Notify(const Notification& notification) = 0;
29};
30
31
32}}} // namespace Arp::System::Nm
Interface for subscribers of Notifications
Definition: INotificationSubscriber.hpp:21
virtual void Notify(const Notification &notification)=0
Called to notify about an notification
Contains meta data and paylod of a Notification
Definition: Notification.hpp:20
Root namespace for the PLCnext API