8#include "Arp/System/Nm/NotificationManagerTypes.hpp"
9#include "Arp/System/Nm/Services/Severity.hpp"
10#include "Arp/Base/Rsc/Commons/RscSerializable.hpp"
11#include "Arp/Base/Rsc/Commons/RscString.hxx"
12#include "Arp/Base/JRsc/Commons/JRsc.hpp"
14namespace Arp {
namespace System {
namespace Nm
36 void Serialize(Arp::Base::JRsc::Commons::JRscWriter& writer)
const;
37 void Deserialize(Arp::Base::JRsc::Commons::JRscReader& reader);
38 static size_t GetFieldCount(
void);
48 template<
typename PayloadType>
51 return PayloadType(*
this);
58 Severity severity = Severity::Internal;
This class contains date and time informations.
Definition: DateTime.hpp:27
Any custom struct type which is intended to be marshalled in a Rsc serialization context,...
Definition: RscSerializable.hpp:35
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
Contains meta data and paylod of a Notification
Definition: Notification.hpp:20
Notification()=default
Creates an empty Notification
const PayloadType GetPayloadAs() const
Returns a view to the Payload using the defined PayloadType
Definition: Notification.hpp:49
Notification(NotificationIdType id, NotificationNameIdType notificationNameId, const DateTime ×tamp, Severity severity, PayloadTypeIdType payloadTypeId, const RawPayloadType &payload)
Constructor with all data
enum ARP_CXX_SYMBOL_EXPORT Severity
Enumeration of Severities for notifications
Definition: Severity.hpp:14
std::vector< Arp::Base::Rsc::Commons::RscVariant< RawPayloadTypeLength > > RawPayloadType
type for the internally transferred payloads
Definition: NotificationManagerTypes.hpp:32
Root namespace for the PLCnext API