PLCnext API Documentation 25.9.0.13
DcpConfirmation.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/Base/Rsc/Commons/RscString.hxx"
12#include "Arp/Io/ProfinetStack/System/Services/DcpResult.hpp"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
15
17{
18
19using namespace Arp;
20using namespace Arp::Base::Rsc::Commons;
21using namespace Arp::Base::Rsc::Commons::Services;
22using namespace Arp::Base::JRsc::Commons;
23
27class ARP_EXPORT DcpConfirmation : public RscSerializable
28{
29public: // construction/destruction
31 DcpConfirmation(const DcpResult& result, const RscString<240>& stationName, const RscString<40>& ipAddress, const RscString<16>& subnetMask, const RscString<16>& defaultGateway, const RscString<18>& macAddress, uint16 vendorId, const RscString<128>& deviceType);
32
33public: // Properties
39
44
49
54
59
64
68 uint16 VendorId = 0;
69
74
75public: // Rsc operations
76 void Serialize(RscWriter& writer)const;
77 void Deserialize(RscReader& reader);
78 void Serialize(JRscWriter& writer)const;
79 void Deserialize(JRscReader& reader);
80 static size_t GetFieldCount(void);
81};
82
83} // 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 DCP confirmation data of a station on a request.
Definition: DcpConfirmation.hpp:28
RscString< 16 > DefaultGateway
Default gateway of the station.
Definition: DcpConfirmation.hpp:58
RscString< 18 > MacAddress
MAC address of the station.
Definition: DcpConfirmation.hpp:63
RscString< 16 > SubnetMask
Subnet mask of the station.
Definition: DcpConfirmation.hpp:53
RscString< 40 > IpAddress
IP address of the station.
Definition: DcpConfirmation.hpp:48
RscString< 128 > DeviceType
Device type of the station.
Definition: DcpConfirmation.hpp:73
RscString< 240 > StationName
Name of the station.
Definition: DcpConfirmation.hpp:43
DcpResult Result
Contains information on the request. If an error code is set, there is no valid data.
Definition: DcpConfirmation.hpp:38
DcpConfirmation(void)
Constructs an DcpConfirmation instance.
Contains information that are returned by a request.
Definition: DcpResult.hpp:27
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