PLCnext API Documentation 25.0.2.69
PdiParam.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
11// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
12
14{
15
16using namespace Arp;
17using namespace Arp::Base::Rsc::Commons;
18using namespace Arp::Base::Rsc::Commons::Services;
19
24class ARP_EXPORT PdiParam : public RscSerializable
25{
26public: // construction/destruction
27 PdiParam(void);
28 PdiParam(uint16 slot, uint8 subslot, uint16 index, uint8 subindex);
29
30public: // Properties
35 uint16 Slot = 0;
36
41 uint8 Subslot = 0;
42
47 uint16 Index = 0;
48
53 uint8 Subindex = 0;
54
55public: // Rsc operations
56 void Serialize(RscWriter& writer)const;
57 void Deserialize(RscReader& reader);
58 static size_t GetFieldCount(void);
59};
60
61} // end of namespace Arp::Io::Axioline::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 all parameters to address an object on an Axioline module with an acyclic communication serv...
Definition: PdiParam.hpp:25
PdiParam(void)
Constructs an PdiParam instance.
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:25
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:29
Namespace for Axioline services
Root namespace for the PLCnext API