8 #include "Arp/System/Nm/NotificationManagerTypes.hpp" 9 #include "Arp/System/Nm/Services/NotificationRegistrationStatus.hpp" 10 #include "Arp/System/Nm/Services/Severity.hpp" 11 #include "Arp/System/Rsc/Services/IRscSerializable.hpp" 12 #include "Arp/System/Rsc/Services/RscReader.hpp" 13 #include "Arp/System/Rsc/Services/RscString.hxx" 14 #include "Arp/System/Rsc/Services/RscWriter.hpp" 16 namespace Arp {
namespace System {
namespace Nm
42 static size_t GetFieldCount(
void);
84 Severity severity = Severity::Default;
Reads data from Rsc
Definition: RscReader.hpp:23
void SetStatusUnregistered()
void Deserialize(Arp::System::Rsc::Services::RscReader &reader) override
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader...
Writes data to Rsc.
Definition: RscWriter.hpp:32
void Serialize(Arp::System::Rsc::Services::RscWriter &writer) const override
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter...
const NotificationNameIdType GetNotificationNameId() const
Returns the NotificationNameId
bool IsRegistered() const
Returns true is the notification is subscribed
const NotificationRegistrationStatus GetStatus() const
Returns the registration status
const PayloadTypeIdType GetPayloadTypeId() const
Returns the PayloadTypeId
const String GetSenderName() const
Returns the sender name
Marshalls structure or class data types. Serialize and Deserialize have to marshal fields in the same...
Definition: IRscSerializable.hpp:18
NotificationRegistrationStatus
Enumeration to represent the status of the Notification
Definition: NotificationRegistrationStatus.hpp:16
Severity
Enumeration of Severities for notifications
Definition: Severity.hpp:15
Root namespace for the PLCnext API
Information about the registration of a Notification
Definition: NotificationRegistrationInfo.hpp:21
const Severity GetSeverity() const
Returns the Severity
bool IsSubscribed() const
Returns true if the notification is subscribed
void SetStatusRegistered()
NotificationRegistrationInfo()=default
Used internally to create the object.
System components used by the System, Device, Plc or Io domains.
bool IsUnRegistered() const
Returns true if the notification is unregistered
const String GetNotificationName() const
Returns the NotificationName