9 #include "Arp/System/Nm/SpecializedPayload.hpp" 12 namespace Arp {
namespace System {
namespace NmPayload {
namespace Io {
namespace ProfinetStack
21 using SpecializedPayload::SpecializedPayload;
29 const String ipAddress,
const String& netmask,
const String& gateway,
bool isVolatile);
45 size_t indexIpAddress = this->AddField<String>();
46 size_t indexNetmask = this->AddField<String>();
47 size_t indexGateway = this->AddField<String>();
48 size_t indexIsVolatile = this->AddField<bool>();
InterfaceAddressPayload(const String ipAddress, const String &netmask, const String &gateway, bool isVolatile)
Creates a payload object
bool IsVolatile() const
Returns true, if the parameters are volatile
Base class for custom Payload classes
Definition: SpecializedPayload.hpp:42
String GetNetmask() const
Returns the netmask
Root namespace for the PLCnext API
System components used by the System, Device, Plc or Io domains.
String GetIpAddress() const
Returns the IP address
String GetGateway() const
Returns the gateway
Payload class with information of the interface address of a Profinet station
Definition: InterfaceAddressPayload.hpp:18