PLCnext API Documentation 25.0.2.69
RecordParam.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
25class ARP_EXPORT RecordParam : public RscSerializable
26{
27public: // construction/destruction
29 RecordParam(uint16 id, const RscString<512>& deviceName, uint16 slot, uint16 subslot, uint16 index, uint16 length);
30
31public: // Properties
35 uint16 Id = 0;
36
41
45 uint16 Slot = 0;
46
50 uint16 Subslot = 0;
51
55 uint16 Index = 0;
56
60 uint16 Length = 0;
61
62public: // Rsc operations
63 void Serialize(RscWriter& writer)const;
64 void Deserialize(RscReader& reader);
65 static size_t GetFieldCount(void);
66};
67
68} // 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
Parameter to address a module. Use either the Node ID or the address consisting the station name,...
Definition: RecordParam.hpp:26
RscString< 512 > DeviceName
Station name of the PROFINET device
Definition: RecordParam.hpp:40
RecordParam(void)
Constructs an RecordParam instance.
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:29
Namespace for Profinet I/O controller services
Root namespace for the PLCnext API