PLCnext API Documentation 25.0.2.69
DeviceIdentityInfo.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 DeviceIdentityInfo : public RscSerializable
27{
28public: // construction/destruction
30 DeviceIdentityInfo(uint16 vendorID, uint16 deviceID, const RscString<512>& vendorName, const RscString<512>& deviceName, const RscString<512>& infoText);
31
32public: // Properties
36 uint16 VendorID = 0;
37
41 uint16 DeviceID = 0;
42
47
52
57
58public: // Rsc operations
59 void Serialize(RscWriter& writer)const;
60 void Deserialize(RscReader& reader);
61 void Serialize(JRscWriter& writer)const;
62 void Deserialize(JRscReader& reader);
63 static size_t GetFieldCount(void);
64};
65
66} // 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
This struct contains the vendor name and the device name of one device
Definition: DeviceIdentityInfo.hpp:27
RscString< 512 > InfoText
Info text of the device type from the GSD
Definition: DeviceIdentityInfo.hpp:56
RscString< 512 > VendorName
Name of the vendor from the GSD
Definition: DeviceIdentityInfo.hpp:46
DeviceIdentityInfo(void)
Constructs an DeviceIdentityInfo instance.
RscString< 512 > DeviceName
Name of the device type from the GSD
Definition: DeviceIdentityInfo.hpp:51
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
Root namespace for the PLCnext API