9 #include "Arp/System/Nm/SpecializedPayload.hpp"
13 namespace Arp {
namespace System {
namespace NmPayload {
namespace Io {
namespace ProfinetStack
23 using ArgumentsType = std::tuple<const char*, const char*, const char*, bool>;
25 using SpecializedPayload::SpecializedPayload;
36 const String ipAddress,
const String& netmask,
const String& gateway,
bool isVolatile);
52 size_t indexIpAddress = this->AddField<String>();
53 size_t indexNetmask = this->AddField<String>();
54 size_t indexGateway = this->AddField<String>();
55 size_t indexIsVolatile = this->AddField<bool>();
Payload class with information of the interface address of a Profinet station
Definition: InterfaceAddressPayload.hpp:20
String GetNetmask() const
Returns the netmask
String GetIpAddress() const
Returns the IP address
std::tuple< const char *, const char *, const char *, bool > ArgumentsType
ArgumentsType to be used with NonBlockingNotificationRegistration3
Definition: InterfaceAddressPayload.hpp:23
bool IsVolatile() const
Returns true, if the parameters are volatile
String GetGateway() const
Returns the gateway
InterfaceAddressPayload(const String ipAddress, const String &netmask, const String &gateway, bool isVolatile)
Creates a payload object
InterfaceAddressPayload(const ArgumentsType &args)
Creates a payload object
Base class for custom Payload classes
Definition: SpecializedPayload.hpp:43
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API