PLCnext API Documentation 25.0.2.69
Submodule.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
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;
20using namespace Arp::Base::JRsc::Commons;
21
25class ARP_EXPORT Submodule : public RscSerializable
26{
27public: // construction/destruction
28 Submodule(void);
29 Submodule(uint32 nodeID, uint16 subslot, uint32 identNumber);
30
31public: // Properties
36
40 uint16 Subslot = 0;
41
45 uint32 IdentNumber = 0;
46
47public: // Rsc operations
48 void Serialize(RscWriter& writer)const;
49 void Deserialize(RscReader& reader);
50 void Serialize(JRscWriter& writer)const;
51 void Deserialize(JRscReader& reader);
52 static size_t GetFieldCount(void);
53};
54
55} // 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
Submodule data
Definition: Submodule.hpp:26
Submodule(void)
Constructs an Submodule 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 controller services
@ NodeID
Returns all diagnoses sources of one submodule identified by Arp.Io.ProfinetStack....
Root namespace for the PLCnext API