PLCnext API Documentation 25.9.0.13
StationAddress.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/JRsc/Commons/JRsc.hpp"
10#include "Arp/Base/Rsc/Commons/RscSerializable.hpp"
11#include "Arp/Base/Rsc/Commons/RscString.hxx"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
14
16{
17
18using namespace Arp;
19using namespace Arp::Base::Rsc::Commons;
20using namespace Arp::Base::Rsc::Commons::Services;
21using namespace Arp::Base::JRsc::Commons;
22
27class ARP_EXPORT StationAddress : public RscSerializable
28{
29public: // construction/destruction
31 StationAddress(const RscString<40>& ipAddress, const RscString<16>& subnetMask, const RscString<16>& defaultGateway, const RscString<18>& macAddress);
32
33public: // Properties
38
43
48
54
55public: // Rsc operations
56 void Serialize(RscWriter& writer)const;
57 void Deserialize(RscReader& reader);
58 void Serialize(JRscWriter& writer)const;
59 void Deserialize(JRscReader& reader);
60 static size_t GetFieldCount(void);
61};
62
63} // end of namespace Arp::Io::ProfinetStack::System::Services
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 parameter to address and set a station network address.
Definition: StationAddress.hpp:28
RscString< 16 > DefaultGateway
Default gateway that shall be assigned to a station.
Definition: StationAddress.hpp:47
RscString< 18 > MacAddress
MAC address of the station.
Definition: StationAddress.hpp:53
RscString< 40 > IpAddress
IP address that shall be assigned to a station.
Definition: StationAddress.hpp:37
StationAddress(void)
Constructs an StationAddress instance.
RscString< 16 > SubnetMask
Subnet mask that shall be assigned to a station.
Definition: StationAddress.hpp:42
Namespace for the JSON RSC extension
Namespace for Profinet I/O system services
Root namespace for the PLCnext API