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;
Information about the registration of a Notification
Definition: NotificationRegistrationInfo.hpp:22
NotificationRegistrationInfo(NotificationNameIdType notificationNameId, const String ¬ificationName)
Used internally to create the object.
const NotificationNameIdType GetNotificationNameId() const
Returns the NotificationNameId
const String GetNotificationName() const
Returns the NotificationName
const Severity GetSeverity() const
Returns the Severity
bool IsUnRegistered() const
Returns true if the notification is unregistered
const PayloadTypeIdType GetPayloadTypeId() const
Returns the PayloadTypeId
void SetStatusUnregistered()
bool IsRegistered() const
Returns true is the notification is subscribed
NotificationRegistrationInfo(NotificationNameIdType notificationNameId, const String ¬ificationName, const String &senderName, Severity severity, PayloadTypeIdType payloadTypeId, NotificationRegistrationStatus initialStatus)
Used internally to create the object.
NotificationRegistrationInfo()=default
Used internally to create the object.
const String GetSenderName() const
Returns the sender name
void SetStatusRegistered()
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.
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.
const NotificationRegistrationStatus GetStatus() const
Returns the registration status
bool IsSubscribed() const
Returns true if the notification is subscribed
Marshalls structure or class data types. Serialize and Deserialize have to marshal fields in the same...
Definition: IRscSerializable.hpp:19
Reads data from Rsc
Definition: RscReader.hpp:26
Writes data to Rsc.
Definition: RscWriter.hpp:31
@ System
System components used by the System, Device, Plc or Io domains.
Severity
Enumeration of Severities for notifications
Definition: Severity.hpp:15
IdType< Arp::uint16, struct PayloadTypeIdTag > PayloadTypeIdType
type for Payload type ids
Definition: NotificationManagerTypes.hpp:28
NotificationRegistrationStatus
Enumeration to represent the status of the Notification
Definition: NotificationRegistrationStatus.hpp:15
Root namespace for the PLCnext API