PLCnext API Documentation 25.0.2.69
DiagnosticInfo.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
28class ARP_EXPORT DiagnosticInfo : public RscSerializable
29{
30public: // construction/destruction
32 DiagnosticInfo(uint16 arUserId, uint16 diagCode);
33
34public: // Properties
38 uint16 ArUserId = 0;
39
55 uint16 DiagCode = 0;
56
57public: // Rsc operations
58 void Serialize(RscWriter& writer)const;
59 void Deserialize(RscReader& reader);
60 void Serialize(JRscWriter& writer)const;
61 void Deserialize(JRscReader& reader);
62 static size_t GetFieldCount(void);
63};
64
65} // 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
Container for a combination of an error code and a value which is a result for a read operation to a ...
Definition: DiagnosticInfo.hpp:29
DiagnosticInfo(void)
Constructs an DiagnosticInfo instance.
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