10#include "Arp/System/Nm/SpecializedPayload.hpp"
13namespace Arp {
namespace System {
namespace Nm
18template<
typename Derived>
30 this->SetFieldValue(this->indexNotificationName, notificationName);
37 return this->
template GetFieldValueAs<String>(this->indexNotificationName);
41 const size_t indexNotificationName = this->
template AddField<String>();
52 using NmSubscribeFailedPayload::NmSubscribeFailedPayload;
56 "A subscriber subscribed to not registered notification name: {}", notificationName)
69 using NmSubscribeFailedPayload::NmSubscribeFailedPayload;
73 "A subscriber subscribed to unregistered notification name: {}", notificationName)
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
Payload base class for failed subscriptions
Definition: NmSubscribeFailedPayload.hpp:20
const String GetNotificationName() const
Returns the affected NotificationName
Definition: NmSubscribeFailedPayload.hpp:35
Payload class for subscribing to a not registered Notification
Definition: NmSubscribeFailedPayload.hpp:50
Payload class for subscribing to an unregistered Notification
Definition: NmSubscribeFailedPayload.hpp:67
Base class for custom Payload classes
Definition: SpecializedPayload.hpp:44
Root namespace for the PLCnext API