PLCnext API Documentation 25.9.0.13
RecordResult.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/Io/ProfinetStack/System/Services/PnioStatus.hpp"
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 RecordResult : public RscSerializable
27{
28public: // construction/destruction
29 RecordResult(void);
30 RecordResult(boolean serviceDone, uint32 requestID, const PnioStatus& status, uint16 addData1, uint16 addData2);
31
32public: // Properties
37 boolean ServiceDone = false;
38
42 uint32 RequestID = 0;
43
48
52 uint16 AddData1 = 0;
53
57 uint16 AddData2 = 0;
58
59public: // Rsc operations
60 void Serialize(RscWriter& writer)const;
61 void Deserialize(RscReader& reader);
62 void Serialize(JRscWriter& writer)const;
63 void Deserialize(JRscReader& reader);
64 static size_t GetFieldCount(void);
65};
66
67} // end of namespace Arp::Io::ProfinetStack::System::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 record service
Definition: RecordResult.hpp:24
Contains status information of a service call
Definition: PnioStatus.hpp:26
PnioStatus Status
Status contains error information according to PROFINET specification
Definition: RecordResult.hpp:47
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 system services
Root namespace for the PLCnext API