PLCnext API Documentation 25.0.2.69
IdentifyResult.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#include "Arp/Base/Rsc/Commons/RscString.hxx"
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;
20
24class ARP_EXPORT IdentifyResult : public RscSerializable
25{
26public: // construction/destruction
28 IdentifyResult(uint16 result, uint16 additionalCode, const RscString<512>& manufacturerName, const RscString<512>& deviceName, const RscString<512>& revision);
29
30public: // Properties
36 uint16 Result = 0;
37
43 uint16 AdditionalCode = 0;
44
49
54
59
60public: // Rsc operations
61 void Serialize(RscWriter& writer)const;
62 void Deserialize(RscReader& reader);
63 static size_t GetFieldCount(void);
64};
65
66} // end of namespace Arp::Io::Interbus::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
Result of the PcpIdentify service
Definition: IdentifyResult.hpp:25
RscString< 512 > Revision
Revision
Definition: IdentifyResult.hpp:58
RscString< 512 > DeviceName
Device name
Definition: IdentifyResult.hpp:53
IdentifyResult(void)
Constructs an IdentifyResult instance.
RscString< 512 > ManufacturerName
Manufacturer name
Definition: IdentifyResult.hpp:48
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:29
Namespace for Interbus services
Root namespace for the PLCnext API