PLCnext API Documentation 25.0.2.69
ArInfo.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
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
29class ARP_EXPORT ArInfo : public RscSerializable
30{
31public: // construction/destruction
32 ArInfo(void);
33 ArInfo(const RscString<256>& dnsName, uint16 arUserId);
34
35public: // Properties
40
44 uint16 ArUserId = 0;
45
46public: // Rsc operations
47 void Serialize(RscWriter& writer)const;
48 void Deserialize(RscReader& reader);
49 void Serialize(JRscWriter& writer)const;
50 void Deserialize(JRscReader& reader);
51 static size_t GetFieldCount(void);
52};
53
54} // end of namespace Arp::Io::ProfinetStack::Controller::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
Container for a combination of an error code and a value which is a result for a read operation to a ...
Definition: ArInfo.hpp:30
ArInfo(void)
Constructs an ArInfo instance.
RscString< 256 > DnsName
The configured dns station name of the profinet device. According to profinet spec....
Definition: ArInfo.hpp:39
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 controller services
Root namespace for the PLCnext API