PLCnext API Documentation 25.9.0.13
Station.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
26class ARP_EXPORT Station : public RscSerializable
27{
28public: // construction/destruction
29 Station(void);
30 Station(const RscString<240>& name, const RscString<18>& macAddress);
31
32public: // Properties
37
43
44public: // Rsc operations
45 void Serialize(RscWriter& writer)const;
46 void Deserialize(RscReader& reader);
47 void Serialize(JRscWriter& writer)const;
48 void Deserialize(JRscReader& reader);
49 static size_t GetFieldCount(void);
50};
51
52} // 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 name.
Definition: Station.hpp:27
Station(void)
Constructs an Station instance.
RscString< 18 > MacAddress
MAC address of the station.
Definition: Station.hpp:42
RscString< 240 > Name
Name that shall be assigned to a station.
Definition: Station.hpp:36
Namespace for the JSON RSC extension
Namespace for Profinet I/O system services
Root namespace for the PLCnext API