PLCnext API Documentation 25.9.0.13
RecordParameter.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 RecordParameter : public RscSerializable
27{
28public: // construction/destruction
30 RecordParameter(const RscString<40>& ipAddress, uint32 api, uint16 slot, uint16 subslot, uint16 index, uint32 length);
31
32public: // Properties
37
41 uint32 Api = 0;
42
46 uint16 Slot = 0;
47
51 uint16 Subslot = 0;
52
56 uint16 Index = 0;
57
61 uint32 Length = 0;
62
63public: // Rsc operations
64 void Serialize(RscWriter& writer)const;
65 void Deserialize(RscReader& reader);
66 void Serialize(JRscWriter& writer)const;
67 void Deserialize(JRscReader& reader);
68 static size_t GetFieldCount(void);
69};
70
71} // 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
Parameter to address a submodule and a record object.
Definition: RecordParameter.hpp:27
RscString< 40 > IpAddress
IP address of station
Definition: RecordParameter.hpp:36
RecordParameter(void)
Constructs an RecordParameter 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 the JSON RSC extension
Namespace for Profinet I/O system services
Root namespace for the PLCnext API