9 #include "Arp/System/Core/event.hxx" 10 #include "Arp/System/Commons/Diagnostics/Logging/Loggable.hxx" 11 #include "Arp/System/Commons/Threading/Mutex.hpp" 12 #include "Arp/System/Nm/INotificationReceiving.hpp" 13 #include "Arp/System/Nm/INotificationSubscriber.hpp" 15 namespace Arp {
namespace System {
namespace Nm
40 ARP_DEPRECATED(
"Use NotificationSubscriber(notificationName) instead. notificationReceiving is ignored.")
76 bool IsInitialized() const;
Contains meta data and paylod of a Notification
Definition: Notification.hpp:21
Interface for subscribers of Notifications
Definition: INotificationReceiving.hpp:19
const String GetNotificationName() const
Returns the NotificationName
void Dispose() noexcept
Unsubscribe and release alll resources
NotificationSubscriber()=default
Creates an empty subscriber
Mutual exclusion object to prevent data from concurrent modifications.
Definition: Mutex.hpp:25
Definition: Loggable.hxx:18
void Notify(const Notification ¬ification) override
Called by the NotificationManager when a Notification is dipatched
Arp::event< const Notification & > OnNotification
Event to be fired on a Notification
Definition: NotificationSubscriber.hpp:59
Use this class to register and invoke several delegates (function pointer in OOP design).
Definition: event.hxx:32
Interface for subscribers of Notifications
Definition: INotificationSubscriber.hpp:19
Root namespace for the PLCnext API
System components used by the System, Device, Plc or Io domains.
const NotificationNameIdType GetNotificationNameId() const
Returns the NotificationNameId
Proxy class for an subscriber of notifications
Definition: NotificationSubscriber.hpp:27