PLCnext API Documentation  22.9.0.33
INotificationSubscriber.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 
7 #pragma once
8 
9 #include "Arp/System/Nm/Notification.hpp"
10 
11 
12 namespace Arp { namespace System { namespace Nm
13 {
14 
15 
20 {
21 public:
22  virtual ~INotificationSubscriber() = default;
23 
27  virtual void Notify(const Notification& notification) = 0;
28 };
29 
30 
31 }}} // namespace Arp::System::Nm
Interface for subscribers of Notifications
Definition: INotificationSubscriber.hpp:20
virtual void Notify(const Notification &notification)=0
Called to notify about an notification
Contains meta data and paylod of a Notification
Definition: Notification.hpp:22
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API