PLCnext API Documentation 25.0.2.69
NodeIdentityInfo.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 NodeIdentityInfo : public RscSerializable
27{
28public: // construction/destruction
30 NodeIdentityInfo(uint32 moduleIdentNumber, uint32 submoduleIdentNumber, const RscString<512>& moduleName, const RscString<512>& moduleInfo, const RscString<512>& submoduleName, const RscString<512>& submoduleInfo);
31
32public: // Properties
36 uint32 ModuleIdentNumber = 0;
37
41 uint32 SubmoduleIdentNumber = 0;
42
47
52
57
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::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
Contains the ident numbers and names the corresponding module and submodule of a node.
Definition: NodeIdentityInfo.hpp:27
RscString< 512 > ModuleName
Text name of the module type
Definition: NodeIdentityInfo.hpp:46
RscString< 512 > SubmoduleName
Text name of the SubmoduleName
Definition: NodeIdentityInfo.hpp:56
RscString< 512 > SubmoduleInfo
Info text of the SubmoduleName
Definition: NodeIdentityInfo.hpp:61
NodeIdentityInfo(void)
Constructs an NodeIdentityInfo instance.
RscString< 512 > ModuleInfo
Info text of the module type
Definition: NodeIdentityInfo.hpp:51
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
Namespace for the JSON RSC extension
Namespace for Profinet I/O controller services
Root namespace for the PLCnext API