PLCnext API Documentation 25.9.0.13
DcpResult.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/DcpErrorCode.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 DcpResult : public RscSerializable
27{
28public: // construction/destruction
29 DcpResult(void);
30 DcpResult(DcpErrorCode errorCode, uint32 xid);
31
32public: // Properties
37
43 uint32 Xid = 0;
44
45public: // Rsc operations
46 void Serialize(RscWriter& writer)const;
47 void Deserialize(RscReader& reader);
48 void Serialize(JRscWriter& writer)const;
49 void Deserialize(JRscReader& reader);
50 static size_t GetFieldCount(void);
51};
52
53} // 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
Contains information that are returned by a request.
Definition: DcpResult.hpp:27
DcpResult(void)
Constructs an DcpResult instance.
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 system services
DcpErrorCode
Contains error information on a DCP request.
Definition: DcpErrorCode.hpp:19
ErrorCode
Possible error codes for data-logger rsc services.
Definition: ErrorCode.hpp:19
Root namespace for the PLCnext API