9 #include "Arp/System/Nm/IPayload.hpp"    10 #include "Arp/System/Nm/Notification.hpp"    13 namespace Arp { 
namespace System { 
namespace Nm
    21     using ValueType = RawPayloadType::value_type;
    25     using FieldInfos = std::vector<FieldType>;
    74     void   SetFieldValue(
size_t fieldIndex, 
const ValueType& value);
    77     void         InitializeFields();
    78     bool         HasAssociatedNotification() 
const;
    79     bool         CanFieldBeAdded() 
const;
    80     const String FormatValue(
const String& formatString, 
const ValueType& value) 
const;
    88     size_t              FieldIndexFormatString = 0;
 const String GetName() const override
Returns the PayloadTypeName
 
size_t GetFieldIndexFormatString() const
Returnsd the field index of the format string
 
Contains meta data and paylod of a Notification
Definition: Notification.hpp:21
 
Interface for Paylo objects
Definition: IPayload.hpp:18
 
PayloadTypeIdType GetId() const override
Returns the PayloadTypeId
 
size_t AddField(FieldType type)
Adds a field with the given FieldType
 
FieldType GetFieldType(size_t fieldIndex) const
Returns the FieldType for the given field
 
const RawPayloadType & GetAsRawPayloadType() const override
Returns a reference to the raw payload object
 
bool IsReadOnly() const
Returns true if this object is a view to a Notification
 
RscType
Datatypes supported by Rsc. Values are identical with CommonRemoting::RemotingMarshalType. Only supported types of RemotingMarshalType are included. 
Definition: RscType.hpp:27
 
Generic access to a IPayload
Definition: GenericPayload.hpp:18
 
GenericPayload(const Notification ¬ification)
Read only access to a notification
 
std::vector< Arp::System::Rsc::Services::RscVariant< RawPayloadTypeLength > > RawPayloadType
type for the internally transferred payloads
Definition: NotificationManagerTypes.hpp:34
 
Root namespace for the PLCnext API
 
const ValueType & GetFieldValue(size_t fieldIndex) const
Returns the raw value of a field
 
System components used by the System, Device, Plc or Io domains.
 
size_t GetFieldCount() const
Returns the number of fields of the Payload
 
const String ToString() const override
Get a human readable string representation