PLCnext API Documentation 25.0.2.69
InterbusResult.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
11// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
12
14{
15
16using namespace Arp;
17using namespace Arp::Base::Rsc::Commons;
18using namespace Arp::Base::Rsc::Commons::Services;
19
23class ARP_EXPORT InterbusResult : public RscSerializable
24{
25public: // construction/destruction
27 InterbusResult(uint16 result, uint16 additionalErrorInfo);
28
29public: // Properties
35 uint16 Result = 0;
36
42 uint16 AdditionalErrorInfo = 0;
43
44public: // Rsc operations
45 void Serialize(RscWriter& writer)const;
46 void Deserialize(RscReader& reader);
47 static size_t GetFieldCount(void);
48};
49
50} // 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
Contains error information of an Interbus service.
Definition: InterbusResult.hpp:24
InterbusResult(void)
Constructs an InterbusResult instance.
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