PLCnext API Documentation 25.0.2.69
ProfinetAddress.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/Rsc/Commons/RscSerializable.hpp"
10#include "Arp/Base/Rsc/Commons/RscString.hxx"
11
12// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
13
15{
16
17using namespace Arp;
18using namespace Arp::Base::Rsc::Commons;
19using namespace Arp::Base::Rsc::Commons::Services;
20
24class ARP_EXPORT ProfinetAddress : public RscSerializable
25{
26public: // construction/destruction
28 ProfinetAddress(const RscString<512>& stationName, uint16 instance, uint16 device, uint16 vendor, uint32 api, uint16 slot, uint16 subslot);
29
30public: // Properties
35
40
44 uint16 Device = 0;
45
49 uint16 Vendor = 0;
50
54 uint32 Api = 0;
55
59 uint16 Slot = 0;
60
64 uint16 Subslot = 0;
65
66public: // Rsc operations
67 void Serialize(RscWriter& writer)const;
68 void Deserialize(RscReader& reader);
69 static size_t GetFieldCount(void);
70};
71
72} // end of namespace Arp::Io::ProfinetStack::Controller::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
This structure contains all parameters of a PROFINET address
Definition: ProfinetAddress.hpp:25
RscString< 512 > StationName
Station name of the device
Definition: ProfinetAddress.hpp:34
ProfinetAddress(void)
Constructs an ProfinetAddress instance.
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:29
Namespace for Profinet I/O controller services
@ Instance
Instance member or field, respectively.
Root namespace for the PLCnext API