PLCnext API Documentation 25.0.2.69
NegativeInitiateResult.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 <vector>
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 NegativeInitiateResult : public RscSerializable
25{
26public: // construction/destruction
28 NegativeInitiateResult(uint16 sendBufferSize, uint16 receiveBufferSize, const std::vector<byte>& serviceSupported);
29
30public: // Properties
34 uint16 SendBufferSize = 0;
35
39 uint16 ReceiveBufferSize = 0;
40
44 std::vector<byte> ServiceSupported;
45
46public: // Rsc operations
47 void Serialize(RscWriter& writer)const;
48 void Deserialize(RscReader& reader);
49 static size_t GetFieldCount(void);
50};
51
52} // 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 an unsuccessful PcpInitiate service
Definition: NegativeInitiateResult.hpp:25
std::vector< byte > ServiceSupported
Coding of supported services
Definition: NegativeInitiateResult.hpp:44
NegativeInitiateResult(void)
Constructs an NegativeInitiateResult 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